![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hi all, I have made a pcb with a 18f4550 and a few LEDs and headers. This is my first attempt at USB, and so the board has no other purpose than just to aid learning. The usb device im making is completely powered by the usb bus, and therefore i have got rid of the code in the framework that handles usb bus sense. As you can see from my schematic i have not included a bus sense pin. My problem is that the device isnt recognised by the pc. The leds flashing on the pcb, when i connect it to the pc, indicate that the microchip framework mode (usb_device_state) is set to "addressed". It stays in this state, and windows tells me that the device is not recognised. Also, the PID and VID of the unrecognised device are both 0000 in device manager. I have really hit a wall here, I just dont know what im doing wrong. Any ideas? I used this page as a starting point, and modified the code found here Also i have included a zipped copy of my project. Many thanks in advance. Last edited by HerbertMunch; 14th November 2007 at 09:46 PM. | |
| |
| | (permalink) |
| I changed the usb port it was on and now its installed the drivers, but windows says that the device cannot start. Why???? stupid windows. | |
| |
| | (permalink) |
| 0.47uf cap is required on VUSB pin 18 and GND | |
| |
| | (permalink) |
| Ok cheers mate, Could that cause the problems ive been experiencing? | |
| |
| | (permalink) |
| Yes it will... all sorts of weird problems can result. The device sheet says the cap is mandatory but it's surprising just how many people ignore that. P. | |
| |
| | (permalink) |
| all right thanks very much aussiepoof and bill. Chris | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| USB Power hack with DC/DC Converter - am I crazy? | chconnor | Electronic Projects Design/Ideas/Reviews | 14 | 8th March 2008 10:13 PM |
| Pic18f87j50 USB problems | Tim_B | Micro Controllers | 3 | 6th November 2007 02:14 AM |
| usb interfacing problems for a waveform generator | simonharvey | Electronic Projects Design/Ideas/Reviews | 0 | 27th September 2007 12:32 AM |
| USB to Serial problems | spondootre | Micro Controllers | 12 | 28th November 2006 09:09 AM |
| Microchip Website FYI... | Beefer3 | Micro Controllers | 36 | 23rd June 2005 09:16 AM |