"USB read error" on Windows...

USB AVR Programmer and SPI interface. Adafruit's USBtinyISP.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
Andi
 
Posts: 8
Joined: Mon Feb 04, 2008 12:14 pm

"USB read error" on Windows...

Post by Andi »

Hi @all,

I had some problems building my USBtiny (see that one), but now it is identified by windows, the green LED lights up when plugging it into a USB slot and I installed the correct driver.

However, AVRDUDE gives some strange feedback. I hope, somebody knows what went wrong (no target connected):

Code: Select all

avrdude -c usbtiny -p m32

USB read error: expected 4, got -5
USB read error: expected 4, got -5
avrdude: initialization failed, rc=-1
         Double chech connections and try again, or use -F to override
         this check.

avrdude done. Thank you.
(After I executed avrdude the red LED is (constantly) on.)

What does USB read error... mean? FYI, I plugged the device into a USB 1.1 slot since the USB 2.0 slot didn't work with USBtiny...

Greetings,
Andi

Andi
 
Posts: 8
Joined: Mon Feb 04, 2008 12:14 pm

Problem still there!

Post by Andi »

Nobody seen that problem before? Any guesses?

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Post by adafruit »

you need to post more information, what OS you're using, what kind of computer, etc.

Andi
 
Posts: 8
Joined: Mon Feb 04, 2008 12:14 pm

Post by Andi »

OK, I'm running Windows XP SP2 on a desktop PC. The motherboard (AOpen) provides USB1.1 and USB2.0 slots. I hope, that's the information you need...

Could it be, that there's something wrong about the USB cable? Too long (approx. 2m), not shielded etc.?

Greetz,
Andi

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Post by adafruit »

do you have the right match of avrdude versions and drivers? check
http://www.ladyada.net/make/usbtinyisp/download.html
for more info

Andi
 
Posts: 8
Joined: Mon Feb 04, 2008 12:14 pm

Problems...

Post by Andi »

I was pretty busy the last days, so this is why I respond only now...

As I could not remember which software / driver I installed, I simply deleted everything and installed it again. Therefore, I tried several combinations without success. AVRDUDE kept saying "Could not find USB device...".

This is what I tried:
  • WinAVR Version 21.12.2007 and Driver 1.10 - no success
  • Replacing avrdude.exe, avrdude.conf and libusb0.dll with the files from the archive on the download page - didn't work
  • Installing Driver 1.12 - nothing
When I took a look into the Windows Device Manager, it told me VID=1781 and PID=0C9F, so the device IS recognized and installed correctly, right?

I really need the USBtiny for my bachelor thesis, so please please help me... I'm not too lazy to search for the failure, but actually I'm quite at a loss...

Regards,
Andi

Locked
Please be positive and constructive with your questions and comments.

Return to “USBtinyISP”