problems getting started with ATMEGA8
Posted: Sun Jun 26, 2011 6:57 pm
I am trying to start with V-USB on ATMEGA8.
1st) step: I used the adc.hex as provided on the web-site with an ATMEGA8 - It works fine.
2nd-step): I recompile adc.hex using the settings as provided, on a linux system with gcc version 4.1.2. Everything compiles well but usbtenkiget -l returns the error-message: No device found.
From the fact that the original firmware works, I conclude that my hardware and fuse-setting are correct. So something must be wrong with the compiler version, library or the alike.
3rd-step): I compiled examples/custom-class, but set-led status returns: Could not find USB device "LEDControl" with vid=0x16c0 pid=0x5dc
I really don't know where to start.
Maybe sombody could provide me with a verified set of
Makefile, usbconfig.h, fuses and main.hex together with the device pinning (all for an ATMEGA8 16PU) so that I can try step by step.
Thank's very much for your help
Wolfgang
1st) step: I used the adc.hex as provided on the web-site with an ATMEGA8 - It works fine.
2nd-step): I recompile adc.hex using the settings as provided, on a linux system with gcc version 4.1.2. Everything compiles well but usbtenkiget -l returns the error-message: No device found.
From the fact that the original firmware works, I conclude that my hardware and fuse-setting are correct. So something must be wrong with the compiler version, library or the alike.
3rd-step): I compiled examples/custom-class, but set-led status returns: Could not find USB device "LEDControl" with vid=0x16c0 pid=0x5dc
I really don't know where to start.
Maybe sombody could provide me with a verified set of
Makefile, usbconfig.h, fuses and main.hex together with the device pinning (all for an ATMEGA8 16PU) so that I can try step by step.
Thank's very much for your help
Wolfgang