Before importing the project,
make sure that the project connections are enabled in IAR Embedded Workbench: Go to , where you check the "Enable project connections" box.
To start using project connections, you need to have an open project,
which can be empty.
- To create a new, empty project, go to .
Note: The IAR project (the
.ewp file) must be created in the same folder as the downloaded
atmelstart.zip was extracted.
When you have an open
IAR project, you can connect it to your Atmel START project.
- From the Project menu, you will be able to select Add Project Connection.
This opens a dialog box where you can choose the external tool you want to
set up a connection with. Choose IAR Project Connection and click
OK.
- A browser window opens. Select the
iar-project-connection.ipcf file in the extracted
folder created as in section Exporting the Project from Atmel START.
After the import of the .ipcf file, all the generated code
is automatically added to the IAR Embedded Workbench project.
The required include directories () are added to the project as well.
- If the project uses an AVR 8-bit controller, the C-library must be changed.
Select . Change "Library" to "Normal DLIB".
Note: Adding a project connection
for a project for an AVR device may generate warnings about that IAR IDE
cannot enable linker map and log files. These messages are notifications
about the use of the default linker files and can be safely ignored. It is
recommended to disable these notifications by checking the "Don't show
again" check-box.
Since the IAR IPCF files do not support debugger options, they
must be selected manually before debugging. For Microchip Xplained boards,
"CMSIS DAP" should be used to download and debug the projects correctly.
- If the project uses QTouch Library, the stack memory set by default
is not sufficient, change CSTACK and RSTACK.
- Select . Change "Driver" to "CMSIS DAP".
- Click on the Download tab. Make sure the "Use flash
loader(s)" is checked.
- Select CMSIS-DAP category, go to the JTAG/SWD tab,
and set Interface to "SWD". Click OK.
- If the project uses QTouch Library, the linker output format must be
set to Intel hex. . Click on the "Override default" box and change the output
file extension to ‘.hex’. Under Format,
select Others and select ‘intel-extended’
from the drop-down menu.