Trinket bootloader problem

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.
User avatar
waluk99
 
Posts: 5
Joined: Wed Nov 20, 2013 4:23 pm

Trinket bootloader problem

Post by waluk99 »

Hey

I have a problem with the bootloader of my Trinket.
I tried to repair the bootloader with yout "trinketloader" sketch for arduino uno, but i got this error message:
"Reading signature:0
(no target attached?)
Signature fail"

I hope anyone can help me.

greeting from Germany!

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Trinket bootloader problem

Post by adafruit_support_rick »

Sounds like it may be a connection problem. Try a different USB cable or a different USB port

User avatar
fidlerro
 
Posts: 14
Joined: Sun Nov 17, 2013 12:15 pm

Re: Trinket bootloader problem

Post by fidlerro »

I am trying to do the same thing but my error message is different.

First, I am unable to get my Trinket 5V back into bootloader mode so my next thought was to reflash it so... here I am.

Serial Console:

Trinket loader!

Type 'G' or hit BUTTON for next chip
Starting Program Mode [OK}

Reading signature:FFFF
Searching for image...
Not Found
Image fail

Any help would be much appropriated, I've looked at the tutorial and noticed that it's looking for "blankfull.hex".
This file is NOT in the download from the tutorial so did I miss something?

Also noticed at the top of 'trinketloader.ino'

#include "optiLoader.h" <-- I have this file
#include "SPI.h" <-- I DON'T have this file

So i am not sure how the images.cpp is loaded "C newbie."

Thanks again,
Robert Fidler
Springfield, Missouri

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Trinket bootloader problem

Post by adafruit_support_rick »

You appear to be reading the an incorrect chip signature from the Trinket. Try using a different USB cable or a different USB port. What kind of computer are you using? Are you using a USB3.0 port?

User avatar
fidlerro
 
Posts: 14
Joined: Sun Nov 17, 2013 12:15 pm

Re: Trinket bootloader problem

Post by fidlerro »

i have a USB port that flakes out from time to time, I switched to one of the ports in the back of the PC and everything worked as expected.

Thanks again.

samy
 
Posts: 6
Joined: Wed Aug 07, 2013 5:44 pm

Re: Trinket bootloader problem

Post by samy »

Hello, I appear to be having a similar issue using a MacBook Pro on OS X 10.8.5 and trying to repair the bootloader on a Gemma (the gemma does not start up in bootloader mode [no red light on at all, just the PWR light])

I tried both USB ports. First it was erroring like this:

Trinket loader!

Type 'G' or hit BUTTON for next chip
Starting Program Mode [OK]

Reading signature:9302
Searching for image...
Not Found
Image fail

Then I reset the Uno a few times and now it errors like so:


Trinket loader!

Type 'G' or hit BUTTON for next chip
Starting Program Mode [OK]

Reading signature:930B
Searching for image...
Found "blankfull.hex" for attiny85

Setting fuses Set Low Fuse to: F1 -> A000 Set High Fuse to: D5 -> A800 Set Ext Fuse to: 6 -> A400
Verifying fuses...
Low Fuse: 0xF1 is 0x0
Failed to verify fuses

Any thoughts? Thanks!

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Trinket bootloader problem

Post by adafruit_support_rick »

Seems like it must be a connection problem. Verify that you have solid connections, according to the tutorial. If you're using alligator clips, try some different ones (or at least check them for continuity with a multimeter).
https://learn.adafruit.com/introducing- ... bootloader

How are you handling the reset pin? Have you soldered on a wire?

User avatar
aramys
 
Posts: 3
Joined: Thu Oct 23, 2014 12:36 am

Re: Trinket bootloader problem

Post by aramys »

Same Deal Over and over I've tried the instructions for repairing the boot loader and am still getting an image fail error.
Attachments
Screen Shot 2014-10-25 at 8.54.53 PM.png
Screen Shot 2014-10-25 at 8.54.53 PM.png (39.06 KiB) Viewed 706 times

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

Re: Trinket bootloader problem

Post by adafruit_support_mike »

Same suggestions: double-check all your connections, and try another USB cable if you can find one. It's amazing how often the cable is the problem.

Do you always get a reported signature of 200?

User avatar
aramys
 
Posts: 3
Joined: Thu Oct 23, 2014 12:36 am

Re: Trinket bootloader problem

Post by aramys »

OK, I bought the cable from here as well, so it's brand new. Yes I always get a 200. Just got a new trinket will try with that one. If it's the problem then it's very likely the cable. Will keep posting.

User avatar
mcmasterp
 
Posts: 5
Joined: Sat Nov 29, 2014 4:58 pm

Re: Trinket bootloader problem

Post by mcmasterp »

I accidentally hooked up a 9v battery to the 5v pin instead of the bat+ pin on my trinket pro. my potentiometer smoked a tad. not good. So now when I hook up the battery to the correct pins the pin 13 led blinks 3 fast blinks over and over. if I plug in the usb for power it pulses like bootloader but maybe a bit faster and never stops. I tried reuploading my sketch but it fails with error:
avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0xcd avrdude: verification error; content mismatch

is it hopeless? did I burn it out? I want to try to repair the bootloader but I only have trinket pros'. can I use a trinket pro to program a trinket pro?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Trinket bootloader problem

Post by adafruit_support_rick »

Doesn't sound good.
We don't have a procedure for repairing the bootloader on the Pro Trinkets

User avatar
mcmasterp
 
Posts: 5
Joined: Sat Nov 29, 2014 4:58 pm

Re: Trinket bootloader problem

Post by mcmasterp »

Boo. Well lesson learned. Thankfully they are only $10 each. To be clear running one on a 9v battery is fine though right?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Trinket bootloader problem

Post by adafruit_support_rick »

mcmasterp wrote:To be clear running one on a 9v battery is fine though right?
Yes, that's fine.

User avatar
maldemer
 
Posts: 23
Joined: Mon Aug 03, 2009 4:32 pm

Re: Trinket bootloader problem

Post by maldemer »

I kept getting "Failed to verify fuses" while trying to restore the bootloader on a 3.3V Trinket using a Duemilanove. I came across some instructions to do the same with a hardware programmer, and it was suggested that for 3.3v Trinkets, 5V should be connected to the 3V pin on the Trinket, not VBAT+. I made this change and the restore was immediately successful. Maybe the voltage regulator was interfering with resetting the fuses?

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

Return to “Trinket ATTiny, Trinket M0”