5.
Appendix
5.1
Getting Started with IAR
™
IAR Embedded Workbench
®
for AVR
®
is a proprietary high-efficiency compiler not based on GCC. Programming and
debugging of ATmega4809 Xplained Pro is supported in IAR
™
Embedded 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 the project ready for programming and debugging:
1.
Make sure that the project that needs to be configured is opened. Open the
OPTIONS
dialog for the project.
2.
In the category
General Options
, select the
Target
tab. Select the device for the project, or if not listed, the
core of the device, as shown in
.
3.
In the category
Debugger
, select the
Setup
tab. Select
Atmel-ICE
as the driver, as shown in
.
4.
In the category
Debugger > Atmel-ICE
, select the
Atmel-ICE 1
tab. Select
UPDI
as the interface and,
optionally, select the
UPDI
frequency, as shown in
Info:
If the selection of Debug Port (mentioned in step 4) is grayed out, the interface is preselected, and
the user can skip this configuration step.
Figure 5-1. Select Target Device
ATmega4809 Xplained Pro
Appendix
©
2020 Microchip Technology Inc.
User Guide
DS50002716C-page 23