mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 19:40:29 +08:00
eeprom reset tool
This commit is contained in:
parent
c294636c66
commit
0b0ec82427
6
quantum/tools/README.md
Normal file
6
quantum/tools/README.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
`eeprom_reset.hex` is to reset the eeprom on the Atmega32u4, like this:
|
||||
|
||||
dfu-programmer atmega32u4 erase
|
||||
dfu-programmer atmega32u4 flash --eeprom eeprom-reset.bin
|
||||
|
||||
You'll need to reflash afterwards, because DFU requires the flash to be erased before messing with the eeprom.
|
9
quantum/tools/eeprom_reset.hex
Normal file
9
quantum/tools/eeprom_reset.hex
Normal file
|
@ -0,0 +1,9 @@
|
|||
:10000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00
|
||||
:10001000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0
|
||||
:10002000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0
|
||||
:10003000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD0
|
||||
:10004000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0
|
||||
:10005000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFB0
|
||||
:10006000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA0
|
||||
:10007000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF90
|
||||
:00000001FF
|
Loading…
Reference in a new issue