summaryrefslogtreecommitdiffstats
path: root/quantum/tools
diff options
context:
space:
mode:
authorOlivier <olivier@gid0.org>2016-04-17 19:54:06 +0200
committerOlivier <olivier@gid0.org>2016-04-17 19:54:06 +0200
commitb03a9f7252781b7fee75a684ba77650dc195dca5 (patch)
tree43d6a80f4f4cf47c5f571397a0a17ec6e7ef0083 /quantum/tools
parent0715cf46ac369921fd39b1b62d8a95fc89d48244 (diff)
parenta67d425f4d5278595e7ab785a0f246b83fb1a09f (diff)
downloadqmk_firmware-b03a9f7252781b7fee75a684ba77650dc195dca5.tar.gz
qmk_firmware-b03a9f7252781b7fee75a684ba77650dc195dca5.tar.xz
Merge https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'quantum/tools')
-rw-r--r--quantum/tools/README.md6
-rw-r--r--quantum/tools/eeprom_reset.hex9
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 @@
+`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
index 000000000..a8a75389f
--- /dev/null
+++ b/quantum/tools/eeprom_reset.hex
@@ -0,0 +1,9 @@
+:10000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00
+:10001000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0
+:10002000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0
+:10003000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD0
+:10004000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0
+:10005000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFB0
+:10006000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA0
+:10007000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF90
+:00000001FF