Build using IAR
Purpose
Use IAR tools to build SAM3S-EK2 LCD project (IAR).
Download and Install
-
Download and Install IAR Embedded Workbench from
IAR website.
Free Kickstart Edition IAR Embedded Workbench for ARM (code size limited).
License code is needed for installation and you can get it from the web.
For further details on how to install the tools and build the program, please refer to the
IAR EWARM User Guide.
-
Patch IAR Embedded Workbench.
Please unpack this file patch for IAR EWARM6.20 and extract its contents into the root directory of your local IAR Embedded Workbench installation.
Build SAM3S-EK2 LCD project (IAR)
-
Click on
LCD project (IAR)
and select "Execute" to launch the autoExtract under the given default path, i.e, "X:\"
-
Run IAR Embedded Workbench from Startup Menu.

-
Select "File -> Open -> workspace",

- choose your program path, (the folder your files Extracted)\Embedded Workbench 6.0\arm\examples\Atmel\sam3s\sam3s-ek2\examples_graphics\smc_lcd\build\ewarm_620,to open Workspace in your uncompressed folder:

-
Select one target in Workspace "smc_lcd-flash"

-
Please click "Project -> Batch build -> Rebuild all" to compile the project

-
You can find a binary file in IAR project folder:
(the folder your files Extracted)\Embedded Workbench 6.0\arm\examples\Atmel\sam3s\sam3s-ek2\examples_graphics\smc_lcd\build\ewarm_620\flash\bin\flash.bin.
Atmel Corporation ©2011