General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
-
MiRA
Post
by MiRA » Sun Mar 18, 2007 12:09 pm
Hi, i have built AVR Doper, upload main.hex, set fuses and when i connect them to pc i get:
usb 2-4: new low speed USB device using ohci_hcd and address 26
usb 2-4: device descriptor read/all, error 0
usb 2-4: new low speed USB device using ohci_hcd and address 27
usb 2-4: device descriptor read/64, error -71
usb 2-4: device descriptor read/64, error -71
usb 2-4: new low speed USB device using ohci_hcd and address 28
usb 2-4: device descriptor read/8, error -110
usb 2-4: device descriptor read/8, error -110
usb 2-4: new low speed USB device using ohci_hcd and address 29
usb 2-4: device descriptor read/8, error -110
usb 2-4: device descriptor read/8, error -110
I dont know where is the problem.
Can you help me ? Please...
-
christian
- Objective Development
- Posts: 1443
- Joined: Thu Nov 09, 2006 11:46 am
Post
by christian » Tue Mar 20, 2007 7:43 pm
Looks like a very fundamental problem to me. Have you flashed the fuses? Have you connected the zener diodes at D+ and D-? And have you compiled for the right device (ATMega8 vs. ATMega88)?
The operating system is Linux, right?
-
MiRA
Post
by MiRA » Wed Mar 21, 2007 1:19 am
I used precompiled file main.hex. Is it compiled for ATMega8?
My operating system is Linux (Ubuntu Edgy Eft)
-
christian
- Objective Development
- Posts: 1443
- Joined: Thu Nov 09, 2006 11:46 am
Post
by christian » Wed Mar 21, 2007 12:06 pm
I've checked the latest version (2007-02-01). The hex file shipped with it was compiled for the Mega8.
The remaining checks are:
- Make sure that the fuse values are correct.
- Make sure that you have the zener diodes at D+ and D-.
-
MiRA
Post
by MiRA » Mon Apr 09, 2007 2:07 pm
I fix the problem!!
I use Atmega8-8 instead of Atmega8-16
Sorry for dumb questions...