Trinket requires reset before every upload

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
ocdee
 
Posts: 3
Joined: Fri Oct 30, 2015 12:25 pm

Trinket requires reset before every upload

Post by ocdee »

Hi,

I have an Adafruit Pro Trinket - 5V 16MHz
connected to a
Bluefruit EZ-Link - Bluetooth Serial Link & Arduino Programmer - v1.3

I can successfully upload sketches via bluetooth but find that I need to press the reset button on the Trinket every time I want to upload a sketch. If I don't I get the following error from in the Arduino IDE...

"avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)"

Any thoughts on how to fix this?

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: Trinket requires reset before every upload

Post by adafruit_support_mike »

That's how the Trinket works.

The Trinket doesn't have any USB hardware, so you have to do a physical reset to launch the bootloader, which then emulates a USB connection long enough to download the firmware. That's why it's so small and only costs $7.

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

Re: Trinket requires reset before every upload

Post by hiduino »

If you are uploading using the EZ-Link Serial to the Trinket Pro FTDI interface then it should automatically be triggering the bootloader. Do you have all six wires between the EZ-Link and Trinket Pro FTDI interface? The EZ-Link DTR pin should be going to the RST pin on the Trinket Pro, which should normally trigger the bootloader.

User avatar
nizer
 
Posts: 50
Joined: Tue May 19, 2015 5:27 pm

Re: Trinket requires reset before every upload

Post by nizer »

did this ever get fixed?

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: Trinket requires reset before every upload

Post by adafruit_support_mike »

There wasn't anything to fix. That's the designed behavior.

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

Return to “Trinket ATTiny, Trinket M0”