From 1dda671e4ab44b978cf4fa78fd39c5d647b5ab86 Mon Sep 17 00:00:00 2001 From: wanleg <32079073+wanleg@users.noreply.github.com> Date: Fri, 22 Mar 2019 18:26:21 -0700 Subject: [PATCH] ISP Flashing Guide - atmega32a info (#4993) * update isp flashing page * update isp flashing page --- docs/isp_flashing_guide.md | 5 +++++ util/bootloader_atmega32a_1_0_0.hex | Bin 0 -> 6854 bytes 2 files changed, 5 insertions(+) create mode 100644 util/bootloader_atmega32a_1_0_0.hex diff --git a/docs/isp_flashing_guide.md b/docs/isp_flashing_guide.md index 18f2147846b..0f786c5141b 100644 --- a/docs/isp_flashing_guide.md +++ b/docs/isp_flashing_guide.md @@ -63,6 +63,7 @@ If you just want to get things back to normal, you can flash only a bootloader f * [`atmega32u4`](https://github.com/qmk/qmk_firmware/blob/master/util/bootloader_atmega32u4_1_0_0.hex) - Most keyboards, Planck Rev 1-5, Preonic Rev 1-2 * [`at90usb1286`](https://github.com/qmk/qmk_firmware/blob/master/util/bootloader_at90usb128x_1_0_1.hex) - Planck Light Rev 1 +* [`atmega32a`](https://github.com/qmk/qmk_firmware/blob/master/util/bootloader_atmega32a_1_0_0.hex) - jj40 If you're not sure what your board uses, look in the `rules.mk` file for the keyboard in QMK. The `MCU =` line will have the value you need. It may differ between different versions of the board. @@ -113,6 +114,10 @@ Since our keyboard uses an `atmega32u4` (common), that is the chip we'll specify avrdude -c avrisp -P COM3 -p atmega32u4 -U flash:w:main.hex:i +If your board uses an `atmega32a` (e.g. on a jj40), the command is this (the extra code at the end sets the fuses correctly): + + avrdude -c avrisp -P COM3 -p atmega32 -U flash:w:main.hex:i -U hfuse:w:0xD0:m -U lfuse:w:0x0F:m + You should see a couple of progress bars, then you should see: avrdude: verifying ... diff --git a/util/bootloader_atmega32a_1_0_0.hex b/util/bootloader_atmega32a_1_0_0.hex new file mode 100644 index 0000000000000000000000000000000000000000..b35a310d55add595bb375ca6bed1c66c2044fb7d GIT binary patch literal 6854 zcma)=Ns{F_4n+5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