usb to serial and back on the fly with ucase$


Results 1 to 18 of 18

Threaded View

  1. #14

    Default

    Thanks, but i'm on 246, but it seems ok with mpasm5.2


    Fuses, mine are a little different , i'm on 20mhz so i have these in the inc

    Code:
            __CONFIG    _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L
            __CONFIG    _CONFIG1H, _FOSC_HSPLL_HS_1H
            __CONFIG    _CONFIG2H, _WDT_ON_2H & _WDTPS_128_2H
            __CONFIG    _CONFIG3H, _PBADEN_OFF_3H
            __CONFIG    _CONFIG4L, _LVP_OFF_4L & _XINST_OFF_4L
            __CONFIG    _CONFIG2L, _PWRT_ON_2L & _BOR_OFF_2L & _VREGEN_ON_2L

    At the top of the program, right after define OSC etc i put a high led pause 1000 low led and led lights for 1 second so looks ok

    On the dev board/programmer it lights 4 seconds, but that does have a 4mhz, i should change devboard/prototype to same crystal really

    not detected by windows, back on dev board if i switch portC led's on i get a good light on RC3 and a dimmer one on RC5, if i poke a shaky finger at rc4, rc5 flickers, so looks like its running.


    ...oh hang on BRB, theres a compiler error about overwriting previous contents, could have been there a while as its down bottom of screen and you have to scroll past the depreciated warnings

    Back, set config1 more than once...
    fixed, no improvement
    Last edited by f_lez; - 1st November 2009 at 13:13.

Similar Threads

  1. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 14:43
  2. Raw serial data sniffer? By USB??
    By kevj in forum General
    Replies: 1
    Last Post: - 5th July 2008, 15:34
  3. Advice please - Warning message
    By malc-c in forum mel PIC BASIC Pro
    Replies: 50
    Last Post: - 23rd January 2007, 14:20

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts