ARM TUTORIALS
Embedded ARM Development by IAR workbench  (3)
Step by step
Compiler for ARM, ARM Programming Tutorials, ARM Guide, ARM Projects, ARM Led Blinking Program, ARM Debugger, How to use Jlink for ARM, IAR Workbench Guide
We can do single stepping . Some of the useful commands are following:

Step over F10
Step into F11
Step out Shift + F11
Go F5

Press F5 and you can see LED must be blinking on Board.





ROM run program or Flash run program

For making program to execute from run IAR has Release configuration. For that choose Release from drop down button below the Workspace window.





For release configuration we have to make following changes

1.Optimization

   choose none optimization.
   Project > options > C/C++ Compiler > Optimization > Level
   choose none

2.Linker script file for flash
   Project > options > Linker > Config > Linker configuration file
   choose LPC2148_flash.icf  file
   $PROJ_DIR$\LPC2148_flash.icf

3.Generate HEX file

   Project > options > Output Converter > output
   check on Generate additional output
   choose intel extended





Now build the project and you can see that hex file is generated in Release folder of project directory.


This file can be downloaded into flash memory by flash magic software.
Part 1  |   Part 2   |   Part 3
EmbeddedCraft : Published Date: 1-Dec-2018   |   Feedback: For any feedback please write to us at embeddedcraft_at_gmail_dot_com