because information matters                                                                                                                                                                                                    Tutorials   |   InfolettersNews  |  Search
 
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
[Home] [Query] [FAQ] [Aboutus] [Contact us] [Sitemap] [Privacy Policy] [Advertise ]
Logos and brand names used in this site are belonging to their respected owners. We have used them here only for the purpose of information. Enable Active X control from internet options of internet explorer to view all element of this site.
Best viewed in 1024x768 pixels
RSS FEED
Receive Regular Updates
Want to receive regular updated of Tutorials published on this site,
Register for free subscription of cost Infoletter
Click Here for registration.
Part 1  |   Part 2   |   Part 3
Step by step
Last Edited: APR-2010
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
Embedded ARM Development by IAR workbench  (3)
mCard