]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
eeprom reset tool
authorJack Humbert <jack.humb@gmail.com>
Sat, 16 Apr 2016 04:01:22 +0000 (00:01 -0400)
committerJack Humbert <jack.humb@gmail.com>
Sat, 16 Apr 2016 04:01:22 +0000 (00:01 -0400)
quantum/tools/README.md [new file with mode: 0644]
quantum/tools/eeprom_reset.hex [new file with mode: 0644]

diff --git a/quantum/tools/README.md b/quantum/tools/README.md
new file mode 100644 (file)
index 0000000..0702144
--- /dev/null
@@ -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.
\ No newline at end of file
diff --git a/quantum/tools/eeprom_reset.hex b/quantum/tools/eeprom_reset.hex
new file mode 100644 (file)
index 0000000..a8a7538
--- /dev/null
@@ -0,0 +1,9 @@
+:10000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00
+:10001000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0
+:10002000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0
+:10003000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD0
+:10004000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0
+:10005000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFB0
+:10006000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA0
+:10007000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF90
+:00000001FF