View previous topic :: View next topic |
Author |
Message |
Jody
Joined: 08 Sep 2006 Posts: 182
|
PIC18F2550 doesn't start |
Posted: Mon Jul 02, 2007 7:06 am |
|
|
Hello,
I have build an example I found on this forum with the PIC18F2550 and USB..
http://www.ccsinfo.com/forum/viewtopic.php?t=24207&highlight=usb
I want to do it correct so I have made a PCB off it... I programmed it with the code like the example.... But most of the times the device doesn't apear in the Device Manager.... It is not regonised or cannot start...
And one out of ten it works fine......
What is wrong here????
Mine schematic and code:
http://home.casema.nl/elselinde.wisman/
Thanks in advance,
Jody |
|
|
Ttelmah Guest
|
|
Posted: Mon Jul 02, 2007 7:50 am |
|
|
Where is your decoupling?.
You show Vusb, being decoupled to Vcc (normally you would decouple to GND), bt then show no decoupling between Vcc, and GND at all....
Best Wishes |
|
|
Jody
Joined: 08 Sep 2006 Posts: 182
|
|
Posted: Mon Jul 02, 2007 8:15 am |
|
|
Fixed that...stupid mistake...
but the behavior is the same.... :-( |
|
|
Ttelmah Guest
|
|
Posted: Mon Jul 02, 2007 8:28 am |
|
|
Try increasing the capacitor used on Vusb.
There is a known 'oddity' with these chips behaving funnily, which requires a larger capacitor on here to fix. Might be the problem.
Best Wishes |
|
|
Jody
Joined: 08 Sep 2006 Posts: 182
|
|
Posted: Mon Jul 02, 2007 9:13 am |
|
|
Oke I will try that,
Thanks I will keep you informed....
Jody |
|
|
Jody
Joined: 08 Sep 2006 Posts: 182
|
|
Posted: Tue Jul 03, 2007 1:22 am |
|
|
Fixed it !!!!!!!!!!
Thanks....
It was the decoupling.... there was a lot of noise on the USB power...
Jody |
|
|
|