![Microchip Technology 8002264997 User Manual Download Page 7](http://html1.mh-extra.com/html/microchip-technology/8002264997/8002264997_user-manual_1785806007.webp)
1.
Connect the Xplained Mini USB to the PC.
2.
Go to Atmel Studio: Click the Tools tab, select Device Programming, and select the connected
mEDBG as
Tool
with
Device
as ATmega168PB and
Interface
to ISP, click
Apply
.
3.
Select "Memories", locate the source .hex or .elf file, and click Program.
4.
NOTE:
If a previous debug session was not closed 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 ISP interface.
5.
If the source file contains fuse settings, select "Production file" and upload the .elf file to program
the fuses.
6.
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 7