Getting Started with IAR

IAR Embedded Workbench® for ARM® is a proprietary high efficiency compiler not based on GCC. Programming and debugging of Xplained Pro kits are supported in IAR Embedded Workbench for ARM using the common CMSIS-DAP 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. CMSIS DAPSelectas the driver.
  4. 4.In the category Debugger, select the Download tab. Use flash loader(s)Check the check box foroption.
  5. 5.In the category Debugger > CMSIS DAP, select the Setup tab. System (default)Selectas the reset method.
  6. 6.In the category Debugger > CMSIS DAP, select the JTAG/SWD tab. SWDSWD speedSelectas the interface and optionally select the.
Figure 1. Select Target Device
Figure 2. Select Debugger
Figure 3. Configure Flash Loader
Figure 4. Configure Reset
Figure 5. Configure Interface