USB Device NOT Recognized: tried many things
Posted: Sat Mar 20, 2010 8:08 pm
Hi
I need an interfacing mechanism from USB to my controller. I decided and tried, unsuccessfully so far, to adapt and use your implementation. I am using an ATMega8L controller. I have downloaded and tried to get your reference projects working. So far I have tried PowerSwitch, USBaspLoader and HIDKeys.
I am using the metaboard circuit and I have made sure that there were no mistake in connections.
I have tried with atmega8 and atmega8l, with crystals of 12 and 16MHz.
I have remembered to change the port name, bit numbers and F_CPU (when neccessary) in usbconfig.h.
I am using zeners on D+ and D- lines.
I programmed the flash using USBasp(It's working, hence no issues about driver.) puchased from a store, and am sure that the fuse bits I set are correct.(I tried many combinations. I have been trying since the last 12 days.)
I have tried to get it working with both linux and windows.
lsusb fails to detect, whereas usbview gives a "device failed enumeration".
The voltage on D- is at 3.07 V, while Vcc is at 5.15 V. D+ stays at 0.
Is there any more debugging that may help?
Thanks for any suggestions or ideas.
Abhi.
**EDIT: I got it. I was making the classical AVR mistake. The fuse bits were set wrong. I'll start my actual project now. Will inform and upload when ready.
Regards
Abhi
I need an interfacing mechanism from USB to my controller. I decided and tried, unsuccessfully so far, to adapt and use your implementation. I am using an ATMega8L controller. I have downloaded and tried to get your reference projects working. So far I have tried PowerSwitch, USBaspLoader and HIDKeys.
I am using the metaboard circuit and I have made sure that there were no mistake in connections.
I have tried with atmega8 and atmega8l, with crystals of 12 and 16MHz.
I have remembered to change the port name, bit numbers and F_CPU (when neccessary) in usbconfig.h.
I am using zeners on D+ and D- lines.
I programmed the flash using USBasp(It's working, hence no issues about driver.) puchased from a store, and am sure that the fuse bits I set are correct.(I tried many combinations. I have been trying since the last 12 days.)
I have tried to get it working with both linux and windows.
lsusb fails to detect, whereas usbview gives a "device failed enumeration".
The voltage on D- is at 3.07 V, while Vcc is at 5.15 V. D+ stays at 0.
Is there any more debugging that may help?
Thanks for any suggestions or ideas.
Abhi.
**EDIT: I got it. I was making the classical AVR mistake. The fuse bits were set wrong. I'll start my actual project now. Will inform and upload when ready.
Regards
Abhi