CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

errors in "ex_usb_serial" ??

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
bells_electronics



Joined: 05 Dec 2009
Posts: 40

View user's profile Send private message

errors in "ex_usb_serial" ??
PostPosted: Wed Jan 27, 2010 4:20 am     Reply with quote

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







PostPosted: Wed Jan 27, 2010 5:32 am     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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