5. Appendix
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:
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. Select the device for the project or, if not
listed, the core of the device.
3. In the category Debugger, select the Setup tab. Select CMSIS DAP as the driver.
4. In the category Debugger, select the Download tab. Check the check box for Use flash loader(s)
option.
5. In the category Debugger > CMSIS DAP, select the Setup tab. Select System (default) as the
reset method.
6. In the category Debugger > CMSIS DAP, select the JTAG/SWD tab. Select SWD as the interface
and optionally select the SWD speed.
Figure 5-1 Select Target Device
Atmel SAM C21 Xplained Pro [USER GUIDE]
Atmel-42460C-SAM C21 Xplained Pro_User Guide-10/2015
32
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.