Author Topic: Is "Burn Bootloader" supported?  (Read 3411 times)

johnyradio

  • Newbie
  • *
  • Posts: 7
Is "Burn Bootloader" supported?
« on: January 04, 2018, 02:22:24 am »
hi

is "Burn Bootloader" now supported in new Digisparks? Bluebie mentioned it a few years ago.

If my 'spark is not recognized by Windows, can i still use "Burn Bootloader"?

If my D'spark is bricked, then can i load micronucleus using as ispasp or another 'tiny?

Must i first enable the reset pin using a HVSP device, or this fuse-resetter, or this one?

My 'spark appears bricked, and seeking easiest way to recover it.
Windows says "device malfunctioned" when i plug in the 'spark

thx
« Last Edit: January 04, 2018, 03:12:40 am by johnyradio »

PeterF

  • Hero Member
  • *****
  • Posts: 881
Re: Is "Burn Bootloader" supported?
« Reply #1 on: January 06, 2018, 07:12:39 pm »
It's been a while since I used it, but as far as I can remember, it *should* work?

Yes, you will most likely need to do the high voltage fuse reset, as all genuine digisparks have the reset pin disabled so it can be used as a I/O pin, which makes it so that ISCP programming doesn't work.

If the burn bootloader option doesn't 'just work', you should be able to use avrdude to load the t85_default.hex from the micronucleus github page, and flash a clean copy of the bootloader.

nickwest

  • Newbie
  • *
  • Posts: 1
Re: Is "Burn Bootloader" supported?
« Reply #2 on: January 15, 2018, 11:10:26 pm »
I would like to do this too!

I've tried using avrdude from the command line to flash micronucleus onto a blank ATTiny85. (I used an Arduino running ArduinoISP as the programmer) Avrdude says that this was successful, but then when I try to upload a sketch onto this ATTiny from the Arduino IDE, it is not recognised as a Digispark (the tool times out)

A real Digispark works fine from the Arduino IDE.

Is there another way to get a Blank ATTiny85 to behave as a digispark?

PeterF

  • Hero Member
  • *****
  • Posts: 881
Re: Is "Burn Bootloader" supported?
« Reply #3 on: January 17, 2018, 03:05:40 am »
Probably needs the fuses set correctly also. Be careful doing this blindly, as you will make it so you can't reprogram via ISP - as the stock configuration is to have the reset pin disabled so it can be used as a IO pin. I'll check (may not have time to do this for a day or two), and see what some save fuse settings are... leaving reset enabled until you know micronucleus is working.