Skip to content

Instantly share code, notes, and snippets.

@sabbajohn
Created October 17, 2023 17:03
Show Gist options
  • Save sabbajohn/54268bf9e46c92553b3b2e8eb8c6ce73 to your computer and use it in GitHub Desktop.
Save sabbajohn/54268bf9e46c92553b3b2e8eb8c6ce73 to your computer and use it in GitHub Desktop.

Recover the bootloader (UNBRICK)

  • 1 Download the micronucleus at Micronucleus

  • 2 Complile the code

  • 3 Burn the bootload

Command

avrdude -C /etc/avrdude.conf -v -p attiny85 -P /dev/ttyUSB0 -c avrisp -b19200 -Uflash:w:t85_default.hex -U hfuse:w:0xxd:m

Digispark Arduino Nano
5V 5V
GND GND
0 11
1 12
2 13
5 10

https://www.youtube.com/watch?v=gx3MRdYzx0k

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment