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

PIC18F4550 + USB stops working...??

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



Joined: 08 Sep 2006
Posts: 182

View user's profile Send private message Send e-mail

PIC18F4550 + USB stops working...??
PostPosted: Fri Feb 04, 2011 5:01 am     Reply with quote

Hello,

I use a 18F4550 with the CDC driver and this seems to be working oke..
Windows XP generate a virtual com port... I can communicate with the PIC for about 10 minutes and then I loose the all communication with the PIC...

Have a capacitor connected to the VUSB pin 470nF.....

And I am totaly confused right now..

anybody a idea???

Regards,
Jody
Ttelmah



Joined: 11 Mar 2010
Posts: 19552

View user's profile Send private message

PostPosted: Fri Feb 04, 2011 8:08 am     Reply with quote

Almost infinite number of possibilities. Main ones:

1) Supply problem on the PIC supply. _Must_ be 4.5v or more, and stable, if using the internal regulator (the internal regulator is only supported for '5v' applications).
2) Code that is resulting in interrupts being disabled for more than 1/10000th second.
3) Oscillator not meeting USB stability specs.
4) Poor PCB layout of the USB connection and grounds.
5) Code that is resulting in RAM contents getting corrupted.

etc. etc..

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