Last active
April 22, 2025 08:43
-
-
Save amcolash/b930cb9d206b75ca5fd4ab974cb78a60 to your computer and use it in GitHub Desktop.
Revisions
-
amcolash renamed this gist
May 9, 2020 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
amcolash revised this gist
Apr 5, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ This gist is a list of instructions that I used to program my ATTiny85s with Mic - ATTiny85 - AVR programmer - 1 uF capacitor - Micronucleus FW: https://github.com/micronucleus/micronucleus/releases - avrdude: http://www.nongnu.org/avrdude/ ## Setup: -
amcolash revised this gist
Apr 5, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ This gist is a list of instructions that I used to program my ATTiny85s with Micronucleus. They worked for me, but your mileage may vary! I would highly recommend starting by looking at the SparkFun article linked at the bottom for schematics and more in-depth info. This gist is mostly just a copy/paste list. ## Required: - ATTiny85 -
amcolash revised this gist
Apr 5, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ This gist is a list of instructions that I used to program my ATTiny85s with Mic - AVR programmer - 1 uF capacitor - Micronucleus FW found here: https://github.com/micronucleus/micronucleus/releases - avrdude: http://www.nongnu.org/avrdude/ ## Setup: - Attach the avr programmer to the tiny -
amcolash revised this gist
Apr 5, 2020 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ This gist is a list of instructions that I used to program my ATTiny85s with Micronucleus. They worked for me, but your mileage may vary! ## Required: - ATTiny85 - AVR programmer -
amcolash revised this gist
Apr 5, 2020 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,6 +16,7 @@ - `cd micronucleus-master/firmware/releases` - Burn firmware: `avrdude -P usb -c usbasp -p t85 -U flash:w:t85_default.hex` - Burn fuses: `avrdude -P usb -c usbasp -p t85 -U lfuse:w:0xe2:m -U hfuse:w:0xdd:m -U efuse:w:0xfe:m` - NOTE: user @german-namestnikov found that the above did not work and instead changed the value of the `CKSEL` bit. Instead they used `avrdude -P usb -c usbasp -p t85 -U lfuse:w:0xe1:m -U hfuse:w:0xdd:m -U efuse:w:0xfe:m` - Verify fuses (should read E:FE, H:DD, L:E2): `avrdude -P usb -c usbasp -p t85 -U lfuse:r:-:i` - Test it works by unplugging from avr, use usb connection - Go to commandline tool folder: `cd ../../commandline` @@ -35,6 +36,6 @@ Restart Arduino Cheers! ## Sources: - https://learn.sparkfun.com/tutorials/how-to-install-an-attiny-bootloader-with-virtual-usb/install-micronucleus - http://digistump.com/wiki/digispark/tutorials/connecting#software -
amcolash revised this gist
Jan 5, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,7 +24,7 @@ ## Using with Arduino: - Add additional board: http://digistump.com/package_digistump_index.json - Install "Digistump AVR Boards" - Select board "Digispark Default" and programmer "Micronucleus" If things don't work it is most likely that the arduino board package does not have the latest micronucleus tool. To fix, run `cp micronucleus-master/commandline/micronucleus ~/.arduino15/packages/digistump/tools/micronucleus/2.0a4` -
amcolash revised this gist
Jan 5, 2019 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -27,9 +27,11 @@ - Select board + choose ATTiny85 If things don't work it is most likely that the arduino board package does not have the latest micronucleus tool. To fix, run `cp micronucleus-master/commandline/micronucleus ~/.arduino15/packages/digistump/tools/micronucleus/2.0a4` Restart Arduino Cheers! -
amcolash created this gist
Jan 5, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,38 @@ ## Required: - ATTiny85 - AVR programmer - 1 uF capacitor - Micronucleus FW found here: https://github.com/micronucleus/micronucleus/releases - avrdude ## Setup: - Attach the avr programmer to the tiny - Attach cap from GND to RESET (Otherwise try GND <-> V+. I only needed this the 2nd time) - Plug in AVR programmer - Download FW and unzip - Make sure you have avrdude ## Burning: - `cd micronucleus-master/firmware/releases` - Burn firmware: `avrdude -P usb -c usbasp -p t85 -U flash:w:t85_default.hex` - Burn fuses: `avrdude -P usb -c usbasp -p t85 -U lfuse:w:0xe2:m -U hfuse:w:0xdd:m -U efuse:w:0xfe:m` - Verify fuses (should read E:FE, H:DD, L:E2): `avrdude -P usb -c usbasp -p t85 -U lfuse:r:-:i` - Test it works by unplugging from avr, use usb connection - Go to commandline tool folder: `cd ../../commandline` - Build + test: `make && micronucleus -?` ## Using with Arduino: - Add additional board: http://digistump.com/package_digistump_index.json - Install "Digistump AVR Boards" - Select board + choose ATTiny85 If things don't work it is most likely that the arduino board package does not have the latest micronucleus tool. To fix, run this: `cp micronucleus-master/commandline/micronucleus ~/.arduino15/packages/digistump/tools/micronucleus/2.0a4` Restart Arduino Cheers! Sources: - https://learn.sparkfun.com/tutorials/how-to-install-an-attiny-bootloader-with-virtual-usb/install-micronucleus - http://digistump.com/wiki/digispark/tutorials/connecting#software