2.3.4 Programming the ATmega32U4 Using an External Programmer
How to program the ATmega32U4 using the AVR JTAGICE mkII, JTAGICE3, Atmel-ICE, or other programmers.
- Connect the External Programmer USB to the PC.
- Connect the External Programmer to the ATmega328P Xplained Mini board JTAG connector.
- Go to Atmel Studio: Click the Tools tab, select Device Programming, and select the connected mEDBG as Tool with Device as ATmega32U4 and Interface to JTAG, click Apply.
- Select “Memories”, locate the source .hex or .elf file, and click Program.
- Select “Fuses” to program the fuses manually. Set the fuse(s) and click “Program”. Recommended fuse settings:
Warning: Changing the firmware in the
ATmega32U4 will remove the programming and debugging capabilities of the mEDBG. If the
EEPROM is altered, the mEDBG may not be recognized by Atmel Studio anymore.