diff options
| author | Jack Humbert <jack.humb@gmail.com> | 2016-04-16 00:01:22 -0400 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2016-04-16 00:01:22 -0400 |
| commit | 0b0ec82427aff54481103559066213056b6d7598 (patch) | |
| tree | 2b5e598ec1dec7992be50544ffd91f892c3e8f00 /quantum/tools | |
| parent | c294636c666a6c4a9c170a9a7f62607d48081b3c (diff) | |
| download | qmk_firmware-0b0ec82427aff54481103559066213056b6d7598.tar.gz qmk_firmware-0b0ec82427aff54481103559066213056b6d7598.zip | |
eeprom reset tool
Diffstat (limited to 'quantum/tools')
| -rw-r--r-- | quantum/tools/README.md | 6 | ||||
| -rw-r--r-- | quantum/tools/eeprom_reset.hex | 9 |
2 files changed, 15 insertions, 0 deletions
diff --git a/quantum/tools/README.md b/quantum/tools/README.md new file mode 100644 index 000000000..070214423 --- /dev/null +++ b/quantum/tools/README.md | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | `eeprom_reset.hex` is to reset the eeprom on the Atmega32u4, like this: | ||
| 2 | |||
| 3 | dfu-programmer atmega32u4 erase | ||
| 4 | dfu-programmer atmega32u4 flash --eeprom eeprom-reset.bin | ||
| 5 | |||
| 6 | You'll need to reflash afterwards, because DFU requires the flash to be erased before messing with the eeprom. \ No newline at end of file | ||
diff --git a/quantum/tools/eeprom_reset.hex b/quantum/tools/eeprom_reset.hex new file mode 100644 index 000000000..a8a75389f --- /dev/null +++ b/quantum/tools/eeprom_reset.hex | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | :10000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00 | ||
| 2 | :10001000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0 | ||
| 3 | :10002000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 | ||
| 4 | :10003000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD0 | ||
| 5 | :10004000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0 | ||
| 6 | :10005000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFB0 | ||
| 7 | :10006000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA0 | ||
| 8 | :10007000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF90 | ||
| 9 | :00000001FF | ||
