Created
November 27, 2020 17:24
-
-
Save catskull/92310f24a2a49cde614d10faa2e9859c to your computer and use it in GitHub Desktop.
Completely dump an AVR/Arduino including eeprom and fuses
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 characters
#!/bin/bash | |
echo "Dumping..." | |
avrdude -p m32u4 -c usbtiny -U flash:r:backup_flash.bin:r | |
avrdude -p m32u4 -c usbtiny -U eeprom:r:backup_eeprom.bin:r | |
avrdude -p m32u4 -c usbtiny -U hfuse:r:backup_hfuse.bin:r | |
avrdude -p m32u4 -c usbtiny -U lfuse:r:backup_lfuse.bin:r | |
avrdude -p m32u4 -c usbtiny -U efuse:r:backup_efuse.bin:r | |
echo "Dump complete." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment