expected 4, got -5

Adafruit's tiny microcontroller platform. Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
haywardt
 
Posts: 1
Joined: Mon Jun 09, 2014 1:30 pm

expected 4, got -5

Post by haywardt »

I am using your instructions for "the fast way" and installed the ide on windows xp. When I attempt to upload a sketch I get:

Code: Select all

avrdude: error: usbtiny_receive: usb_control_msg: sending control message failed, win error: A device attached to the system is not functioning.

 (expected 4, got -5)
Any thoughts on what I might do?

User avatar
hiduino
 
Posts: 862
Joined: Sat Sep 01, 2012 7:05 pm

Re: expected 4, got -5

Post by hiduino »

The "Fast Way" includes the avrdude.conf with the shorter time delays. You may want to replace the avrdude.conf with this version with the longer delays.
https://learn.adafruit.com/introducing- ... e-dot-conf
or
https://learn.adafruit.com/introducing- ... -short-way

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

Return to “Trinket ATTiny, Trinket M0”