Figure 7-3. Connecting the Atmel-ICE to ATmega4809 Curiosity Nano
1 = Unused
2 = GND
3 = UPDI
4 = VTG
5 = Unused
CDC RX
CDC TX
To avoid contention between the external debugger and the onboard debugger, do not start any
CAUTION
programming/debug operation with the onboard debugger through Atmel Studio/Microchip
MPLAB
7.3
Getting Started with IAR
IAR Embedded Workbench
GCC. Programming and debugging of ATmega4809 Curiosity Nano is supported in IAR
Workbench for AVR using the Atmel-ICE interface. Some initial settings must be set up in the project to
get the programming and debugging to work.
The following steps will explain how to get your project ready for programming and debugging:
1.
Make sure you have opened the project you want to configure. Open the OPTIONS dialog for the
project.
2.
In the category General Options, select the Target tab.
listed, the core of the
3.
In the category Debugger, select the Setup tab.
©
2018 Microchip Technology Inc.
SAM
6 = Unused
7 = Unused
8 = Unused
9 = Unused
10 = Unused
NC
ID
DBG1
DBG2
CURIOSITY NANO
®
X or mass storage programming while the external tool is active.
®
®
for AVR
is a proprietary high-efficiency compiler which is not based on
device.
ATmega4809 Curiosity Nano
AVR®
Ground
V
2
10
1
9
DATA
USB
PS LED
DEBUGGER
Select the device for the project, or, if not
Select Atmel-ICE as the
User Guide
Atmel-ICE
DD
VBUS
VOFF
DBG3
DBG0
GND
VTG
™
Embedded
driver.
DS50002804A-page 22
Appendix
Need help?
Do you have a question about the ATmega4809 Curiosity Nano and is the answer not in the manual?