Programming The Target Using An External Programmer; Programming The Atmega32U4 Using An External Programmer - Atmel ATmega328PB Xplained Mini User Manual

Avr 8-bit microcontrollers
Hide thumbs Also See for ATmega328PB Xplained Mini:
Table of Contents

Advertisement

Important:  If not exiting debug mode by selecting "Disable debugWIRE and Close" in the
Debug menu, the DWEN fuse will be enabled and the target will still be in debug mode, i.e. it
will not be possible to program the target using the SPI.
Important:  If any other CPU CLK than the external CLK supplied by the mEDBG is used the
debugWIRE is not guaranteed to work.
Important:  Applying a signal to J202/RESET (the RESET_SENSE signal) while debugging
may result in unexpected behaviour. This signal is NOT available during a debugging session
because the RESET line is actively used by the debugWIRE interface
1.4.3.

Programming the Target using an External Programmer

How to program the target ATmega328PB using the AVR
other Atmel Programmers.
1.
Connect the External Programmer USB to the PC.
2.
Connect the External Programmer to the ATmega328PB Xplained Mini board SPI connector.
3.
Go to Atmel Studio: click the Tools tab, select Device Programming, and select the External
Programmer connected as Tool with Device as ATmega328PB and Interface to SPI, click Apply.
4.
Select "Memories" and locate the source .hex or .elf file and click Program.
1.4.4.

Programming the ATmega32U4 using an External Programmer

How to program the ATmega32U4 using the AVR
Programmers.
1.
Connect the External Programmer USB to the PC.
2.
Connect the External Programmer to the ATmega328PB Xplained Mini board JTAG connector.
3.
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.
4.
Select "Memories" and locate the source .hex or .elf file and click Program.
®
JTAGICE mkII, JTAGICE3, Atmel-ICE, or
®
JTAGICE mkII, JTAGICE3, Atmel-ICE, or other Atmel
Atmel ATmega328PB Xplained Mini [USER GUIDE]
Atmel-42469A-ATmega328PB-Xplained-Mini_User Guide-07/2015
6

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ATmega328PB Xplained Mini and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents