How to program the target ATmega328P using the AVR® JTAGICE mkII, JTAGICE3, Atmel-ICE, or other programmers.
- 1.Connect the External Programmer
USB to the PC.
- 2.Connect the External Programmer
to the ATmega328P
Xplained Mini board ISP connector.
- 3.Go to Atmel Studio: Click the
Tools tab, select Device Programming, and select the External Programmer
connected as Tool with Device as ATmega328P and Interface to ISP, click Apply.
- 4.Select “Memories”, locate the
source .hex or .elf file, and click Program.