Getting Started with IAR

IAR Embedded Workbench® for AVR® is a proprietary high efficiency compiler not based on GCC. Programming and debugging of Xplained Pro kits are supported in IAR Embedded Workbench for AVR using the Atmel-ICE interface. Some initial settings have to 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. 1.Make sure you have opened the project you want to configure. Open the OPTIONS dialog for the project.
  2. 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.
  3. 3.In the category Debugger, select the Setup tab. Atmel-ICESelectas the driver.
  4. 4.In the category Debugger > Atmel-ICE, select the Atmel-ICE 1 tab. PDIPDISelectas the interface and optionally select thefrequency.
Figure 1. Select Target Device
Figure 2. Select Debugger
Figure 3. Configure Interface