-
CDC Compile Error
Hi i have compiled the USBCDC files that are in the PBP directory.
I am compiling with MPLAB asm.
But at the end i get the following error.
Error[113] c:\pbp\pbp250b\pbppi18l.lib 588 : Symbol not previously defined (OSCTUNE)
Error[113] c:\pbp\pbp250b\pbppi18l.lib 596 : Symbol not previously defined (OSCTUNE)
Error[113] c:\pbp\pbp250b\pbppi18l.lib 1021 : Symbol not previously defined (OSCTUNE)
Anyone able to assist in sorting out this problem?
Many Thanks
-
Which PIC are you compiling for?
-
-
Well reason is simple.. there's no OSCTUNE register for this PIC, comment the offending line at the top of the USBCDC code... and check the comment on the right of it ;)
-
well don't i feel sheepish!
thanks
-
1 Attachment(s)
One further equiry
would the following schematic work for the usb cdc or is there anywhere i can go to find a better schematic.
Thanks
-
Not sure of the ICSP header, which seems odd, but overall it seems good enough.
-
Great
Compiled everything and all seems great, loaded the code into the PIC, plugged in the usb cable into the PC and nothing!
Why? i have the power LED come on, not sure if the diagnostic LED's are meant to be working, but they are definately dead! This stuff drives me insane!:eek:
-
If you have a 20MHz, and sure of your connection, it should work, or at least tell you something!?!
Also have a look at this one
http://www.picbasic.co.uk/forum/showthread.php?t=5806&