New(ish) Trinkets won't flash! Old ones work great!

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
Jdog
 
Posts: 24
Joined: Thu Jan 07, 2016 5:04 pm

Re: New(ish) Trinkets won't flash! Old ones work great!

Post by Jdog »

I'll give it a shot and let you know. Cheers

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: New(ish) Trinkets won't flash! Old ones work great!

Post by adafruit2 »

https://www.adafruit.com/product/2000 will be in stock again one day - but with the chip shortage it is hard to know exactly when :/
can you use
https://www.adafruit.com/product/3677
instead? its not exactly the same chip but it is an AVR and 5V/16mhz

User avatar
Jdog
 
Posts: 24
Joined: Thu Jan 07, 2016 5:04 pm

Re: New(ish) Trinkets won't flash! Old ones work great!

Post by Jdog »

Hi! Actually, the itsybitsy was going to be my fallback if I couldn't find any more trinkets! Would it be possible to get those as replacements?

Thank you!

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: New(ish) Trinkets won't flash! Old ones work great!

Post by adafruit2 »

yep! email support@adafruit with a link to this thread and they'll set you up

User avatar
Jdog
 
Posts: 24
Joined: Thu Jan 07, 2016 5:04 pm

Re: New(ish) Trinkets won't flash! Old ones work great!

Post by Jdog »

That is just tremendous! I've said it before and I'll say it again, you guys are the best! I'll drop them a note poste-haste! Thank you!

Cheers,

Jeffrey

User avatar
Jdog
 
Posts: 24
Joined: Thu Jan 07, 2016 5:04 pm

Re: New(ish) Trinkets won't flash! Old ones work great!

Post by Jdog »

Hey folks! Just a quick note to say that my ItsyBitsys are here and they are working fine! Thank you again for all the excellent support, I remain your super-fan!

Cheers!

Jeffrey

User avatar
PiShop_Support
 
Posts: 13
Joined: Wed Jul 13, 2022 1:53 pm

Re: New(ish) Trinkets won't flash! Old ones work great!

Post by PiShop_Support »

Adafruit, I tried to reflash the bootloader on my sample unit and this is the result I'm getting:

Code: Select all

16:28:02.176 -> Adafruit Trinket 5V programmer - June 9 2015
16:28:02.503 -> 
16:28:02.503 -> Type 'G' or hit BUTTON for next chip
16:28:14.499 -> Starting Program Mode [OK]
16:28:14.592 -> 
16:28:14.592 -> Reading signature:0
16:28:14.592 ->   (no target attached?)
16:28:14.592 -> Signature fail
I'm guessing this set of Trinket 5V has failed in an unknown way. Let me know if you want me to hook up the oscilloscope ;-)

Martin

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: New(ish) Trinkets won't flash! Old ones work great!

Post by adafruit2 »

you can post a photo of your wiring for the programmer (UNO) and trinket.

User avatar
PiShop_Support
 
Posts: 13
Joined: Wed Jul 13, 2022 1:53 pm

Re: New(ish) Trinkets won't flash! Old ones work great!

Post by PiShop_Support »

Sure!
It is connected as described at https://learn.adafruit.com/introducing- ... bootloader.
Images shared here: https://drive.google.com/drive/folders/ ... sp=sharing

The programming device is an Arduino Nano clone, that's the closest to the Uno I could get. It should operate like an Uno though!

Thanks, Martin.
P.S.: I'm just trying to understand what happened, our customer had his devices replaced (thanks!). This device is out-of-stock at our stores and archived. I have the last device we had in stock to help our customer, I don't expect to need it anytime soon!

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: New(ish) Trinkets won't flash! Old ones work great!

Post by adafruit2 »

hmm well i would trace the pins and also make sure the ISP header is not rotated. also of cousre you should see the power LEDs on both boards!

User avatar
PiShop_Support
 
Posts: 13
Joined: Wed Jul 13, 2022 1:53 pm

Re: New(ish) Trinkets won't flash! Old ones work great!

Post by PiShop_Support »

I've rewired everything using different wires and avoiding the ISP header. Progress:

Code: Select all

11:55:39.780 -> Adafruit Trinket 5V programmer - June 9 2015
11:55:40.106 -> 
11:55:40.106 -> Type 'G' or hit BUTTON for next chip
11:55:49.315 -> Starting Program Mode [OK]
11:55:49.408 -> 
11:55:49.408 -> Reading signature:950F
11:55:49.408 -> Searching for image...
11:55:49.453 ->   Found "trinket_5V_2015_03_17.hex" for atmega328
11:55:49.453 -> 
11:55:49.453 -> Setting fuses
11:55:49.453 ->   Set Lock Fuse to: 3F -> E000  Set Low Fuse to: FF -> A000  Set High Fuse to: D0 -> A800  Set Ext Fuse to: 5 -> A400
11:55:49.453 -> Verifying fuses...
11:55:49.453 -> 	Lock Fuse: 3F is 3F	Low Fuse: 0xFF is 0x62Failed to verify fuses
I get the same result on repeated attempts! I guess this means that it is mostly working...

Martin

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: New(ish) Trinkets won't flash! Old ones work great!

Post by adafruit2 »

much better! you tried a couple times?

User avatar
PiShop_Support
 
Posts: 13
Joined: Wed Jul 13, 2022 1:53 pm

Re: New(ish) Trinkets won't flash! Old ones work great!

Post by PiShop_Support »

Yes, 3 times, exact same result.

Martin

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: New(ish) Trinkets won't flash! Old ones work great!

Post by adafruit2 »

we can try it - whats the exact link you used for the programming code?

User avatar
PiShop_Support
 
Posts: 13
Joined: Wed Jul 13, 2022 1:53 pm

Re: New(ish) Trinkets won't flash! Old ones work great!

Post by PiShop_Support »

Hi,

I used the following guide from Adafruit Introducing Pro Trinket - Re-programming Bootloader with bootloader sketch protrinket5v_bootloader.ino from the downloaded bootloader zipped file.

Let me know if I should try/probe something!

Thanks,
Martin Boissonneault
Technical support department head, PiShop.ca|.us

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

Return to “Trinket ATTiny, Trinket M0”