View previous topic :: View next topic |
Author |
Message |
bells_electronics
Joined: 05 Dec 2009 Posts: 40
|
errors in "ex_usb_serial" ?? |
Posted: Wed Jan 27, 2010 4:20 am |
|
|
While compiling the example "ex_usb_serial.c" of CCS I got the following errors
Quote: |
***Error 119”ex_usb_serial.c”Line42(8,39):USB CDC Library requires PIC18
***Error 24”D:\PICC\devices\18F4550.h” Line2(9,19):Unknown device type --Try PCH
|
|
|
|
Ttelmah Guest
|
|
Posted: Wed Jan 27, 2010 5:32 am |
|
|
USB serial, only works for the PCH 'PIC18' compiler. It sounds as if you are trying to use this with perhaps the PCM (PIC16) compiler.
It only supports (directly), the PIC18F452 (using an external peripheral chip), or the 18F4550, using it's internal USB peripheral. It is fairly easy to modify for the other USB enabled PICs (2550 for example), but the amount of storage involved for USB, makes it almost impossible to use for smaller PIC16 chips.
You need the PCH compiler, to use this example.
Best Wishes |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|