5.1 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:
- Make sure you have opened the project you want to configure. Open the OPTIONS dialog for the project.
- In the category General Options, select the Target tab. Select the device for the project or, if not listed, the core of the device.
- In the category Debugger, select the Setup tab. Select CMSIS DAP as the driver.
- In the category Debugger, select the Download tab. Check the check box for Use flash loader(s) option.
- In the category Setup tab. Select System (default) as the reset method. , select the
- In the category JTAG/SWD tab. Select SWD as the interface and optionally select the SWD speed. , select the