Win 7 x64. avrdude problem

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
akaWolf
 
Posts: 4
Joined: Mon Nov 18, 2013 5:21 am

Win 7 x64. avrdude problem

Post by akaWolf »

Hello!
I use a Windows 7 x64 and avrdude with drivers v.1.2.1.0.

Code: Select all

avrdude.exe -v
avrdude.exe: Version 5.11-Patch#7610, compiled on Aug 31 2011 at 08:02:19
             Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
             Copyright (c) 2007-2009 Joerg Wunsch
And I've got an error

Code: Select all

avrdude.exe -c usbtiny -p t2313
avrdude.exe: error: usbtiny_transmit: libusb0-dll:err [control_msg] sending control message failed, win error: A device attached to the system is not functioning.
avrdude.exe: initialization failed, rc=-1
             Double check connections and try again, or use -F to override this check.
avrdude.exe: error: usbtiny_transmit: libusb0-dll:err [control_msg] sending control message failed, win error: A device attached to the system is not functioning.
avrdude.exe done.  Thank you.
After what device (USBTinyISP) is disappear from the system.
Please, help me with that problem.
Regards, Artyom.

akaWolf
 
Posts: 4
Joined: Mon Nov 18, 2013 5:21 am

Re: Win 7 x64. avrdude problem

Post by akaWolf »

And after that green LED is off.

akaWolf
 
Posts: 4
Joined: Mon Nov 18, 2013 5:21 am

Re: Win 7 x64. avrdude problem

Post by akaWolf »

Problem exist with not only x64 Win7, but also and with x32.

akaWolf
 
Posts: 4
Joined: Mon Nov 18, 2013 5:21 am

Re: Win 7 x64. avrdude problem

Post by akaWolf »

Hello!
Can anyone help me?

User avatar
phild13
 
Posts: 247
Joined: Mon Sep 10, 2012 1:05 pm

Re: Win 7 x64. avrdude problem

Post by phild13 »

If the green led is off, then that means there is no usb communication between the computer and the usbtinyisp. Avrdude won't communicate (control msg issues) unless you can first establish proper usb communications between the usbtinyisp and the computer.

Try installing WinAvr so the correct libs and paths are installed
Try rebooting the computer
Try unplugging the usb cable from the computer
Verify the cable usb is good
try using a different usb port,
try using a usb 2.0 hub between the computer and the usbtinyisp.
leave the usbtinyisp unconnected to the chip or device your trying to program and see if you can get communications with the computer established. be sure to connect the usb power jumper so the usb cable can power the usbtinyisp

I am using win 7 pro (64 bit) on a newer Dell laptop and occasionally have to unplug the usb cable and/or reboot the computer when the green led on the usbtinyisp will not come on.

If this a recently built Adafruit usbtinyisp kit, has it ever worked properly? Verify the components are placed properly and in their correct orientation. Post photos of the component side and the solder side of the board. It is easy to install either IC backwards if one is not paying attention. Post photos of the component and solder side of the board.

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

Return to “USBtinyISP”