Okay - it seems like I've messed up the bootloader. My trinket (5v,16mhz) activates the power light but not the red light when connected to a computer.
I know about this;
https://learn.adafruit.com/introducing- ... bootloader
But I don't have an arduino uno - is there a way to repair the bootloader without it?
Repairing Bootloader - Adafruit Trinket
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_carter
- Posts: 29168
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Repairing Bootloader - Adafruit Trinket
You'll need something to program it. What do you have?
- plslet
- Posts: 4
- Joined: Mon Sep 18, 2017 1:06 pm
Re: Repairing Bootloader - Adafruit Trinket
Well - nothing besides a computer really (Windows 10 or MacOS Sierra). I'm sort of looking for the easiest/cheapest/most convenient way to do it.adafruit_support_carter wrote:You'll need something to program it. What do you have?
- adafruit_support_carter
- Posts: 29168
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Repairing Bootloader - Adafruit Trinket
Hmmm. No way then with out some additional hardware. What did you do to potentially corrupt the bootloader?
- plslet
- Posts: 4
- Joined: Mon Sep 18, 2017 1:06 pm
Re: Repairing Bootloader - Adafruit Trinket
So what options do I have? Could you list what hardware is needed?adafruit_support_carter wrote:Hmmm. No way then with out some additional hardware. What did you do to potentially corrupt the bootloader?
I'm not sure what I did - some program made the trinket go in a bootloader loop so I just pulled the usb out. The trinket kept working afterwars though (multiple times). I guess one time I just hit the sweet spot for it to not work.
- adafruit_support_carter
- Posts: 29168
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Repairing Bootloader - Adafruit Trinket
You need an AVR ISP Programmer. The guide you linked shows how to use an Arduino UNO to act like. It can also be done with a Raspberry Pi:
https://learn.adafruit.com/program-an-a ... s/overview
The other option would be to use a dedicated programmer like the one here:
https://learn.adafruit.com/mass-avr-isp-programmer
but there are other options out there, like the AVR Dragon. But obviously this hardware is more expensive than a replacement Trinket and is special purpose. If you wanted to try to repair the Trinket, I'd suggest going the Arduino UNO route and you could use the UNO for many other applications.
https://learn.adafruit.com/program-an-a ... s/overview
The other option would be to use a dedicated programmer like the one here:
https://learn.adafruit.com/mass-avr-isp-programmer
but there are other options out there, like the AVR Dragon. But obviously this hardware is more expensive than a replacement Trinket and is special purpose. If you wanted to try to repair the Trinket, I'd suggest going the Arduino UNO route and you could use the UNO for many other applications.
- plslet
- Posts: 4
- Joined: Mon Sep 18, 2017 1:06 pm
Re: Repairing Bootloader - Adafruit Trinket
Why can I not use another trinket (Why must it be PI or UNO) to act like an AVR ISP Programmer?adafruit_support_carter wrote:You need an AVR ISP Programmer. The guide you linked shows how to use an Arduino UNO to act like. It can also be done with a Raspberry Pi:
https://learn.adafruit.com/program-an-a ... s/overview
The other option would be to use a dedicated programmer like the one here:
https://learn.adafruit.com/mass-avr-isp-programmer
but there are other options out there, like the AVR Dragon. But obviously this hardware is more expensive than a replacement Trinket and is special purpose. If you wanted to try to repair the Trinket, I'd suggest going the Arduino UNO route and you could use the UNO for many other applications.
Could I just not mess up the UNO too and have two bricks laying around?
From what I can see, the UNO is more expensive than the programmer (https://www.adafruit.com/product/50 and https://www.adafruit.com/product/46). I don't want to spend a bunch of money and end up with the same problem again!
Please be positive and constructive with your questions and comments.