ADAFRUIT TRINKET   Last night,

ADAFRUIT TRINKET

Last night, I ran into some very interesting things while using my brand new 5v Trinket. I am using a somewhat ancient Vista computer because my new laptop Win8 is USB 3.0, and what do you know, the Trinket won’t recognize on 3.0 hubs. Trinket will not work directly with the standard version of the Arduino IDE, so I followed the necessary steps to alleviate this problem:

After completing the list, I was still getting the following avrdude error:
“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)”

I even tried using the whole wrapped IDE from adafruit and still got the same errors. This led me to the support forum over at Adafruit and I found this article:
http://forums.adafruit.com/viewtopic.php?f=52&t=45541

So, in conclusion, I still get the avrdude error but the program uploads just fine. I wasn’t trying to do anything crazy with the Trinket either, just a simple DC pc fan controller. If you have any interesting tips or tricks about the Trinket, please post them below so others can learn!

This could be a windows only problem. I have a Mac with USB 3.0 ports and I didn’t have trouble programming my trinket.

Silly question, but did you press the button to make the red led flash, and then try to upload?

I’ve had Trinket and Trinket-like things (like my blink(1)) work on Apple USB 3.0 ports but not on certain (but not all) other USB 3.0 ports.

The workaround I’ve found is to stick a USB hub in between the USB 3.0 port and the device. This is why I keep a small 4-port travel USB 2.0 hub in my computer bag. :slight_smile: