Protocol error second time AVR Dude is run

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
rickyrockrat
 
Posts: 11
Joined: Sun Jan 06, 2008 8:43 am

Protocol error second time AVR Dude is run

Post by rickyrockrat »

I have applied the 64-bit patches for AVR Dude on Linux, but now I get (on the second load)

Code: Select all

avrdude: error: usbtiny_transmitt: error sending control message: Protocol error
Un-plugging and re-plugging USBTiny from the USB cable "fixes" it, then I can download. Once.

Any clue on what is going wrong on this one? I will try a x86 linux box to see if it happens there[/code]

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

Post by adafruit »

apparently you have to replcae every mention of sizeof() with 4...did you do that?

rickyrockrat
 
Posts: 11
Joined: Sun Jan 06, 2008 8:43 am

Post by rickyrockrat »

Uh..Yes, that is the patch I submitted to avrdude originally - it wouldn't work at all without that.

I haven't seen it since that one time, but then I've not been doing any AVR work for a while. I'll report if I see the behavour again. I dislike intermittent issues - they are always the worst to tack down.

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

Return to “USBtinyISP”