![Microchip Technology 8002264997 Скачать руководство пользователя страница 9](http://html1.mh-extra.com/html/microchip-technology/8002264997/8002264997_user-manual_1785806009.webp)
Info:
If debug mode is not exited 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 ISP.
If any other CPU CLK than the external CLK supplied by the mEDBG is used, the debugWIRE
is not guaranteed to work.
Applying a signal to J202/RESET (the RESET_SENSE signal) while debugging may result in
unexpected behavior. This signal is NOT available during a debugging session because the
RESET line is actively used by the debugWIRE interface.
2.3.3
Programming the Target Using an External Programmer
How to program the target ATmega168PB 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 ATmega168PB 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 ATmega168PB and
Interface
to ISP, click
Apply
.
4.
Select "Memories", locate the source .hex or .elf file, and click Program.
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.
1.
Connect the External Programmer USB to the PC.
2.
Connect the External Programmer to the ATmega168PB 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", locate the source .hex or .elf file, and click Program.
5.
Select "Fuses" to program the fuses manually. Set the fuse(s) and click "Program". Recommended
fuse settings:
ATmega168PB Xplained Mini
©
2017 Microchip Technology Inc.
User Guide
DS50002636A-page 9