IAR 4.11A Flash Worksapce

 
 

 

Introduction

The goal of this application note is to create a Flash Workspace project build under the IAR tools.

Create Flash Workspace From Ram Workspace

Selects in IAR Embedded workbench menu:

Project -> Edit Configurations

Selects “New”

Write in Name popup Flash_Debug

And select OK.

And select OK.

Now a new workspace is creates.

Change IAR 4.11A linker setting

Selects in IAR Embedded workbench menu:

Project -> Option   ATL+F7

Select linker.

In Output Window set “Allow C-SPY specific extra output file”

 

Select Extra Output Window

Select Generate extra output file

Select Output Format: Simple-Code.

 

Select Config Window

 

Change the Linker Command file by $PROJ_DIR$\resource\at91SAM7S64_NoRemap.xcl

 

Select OK for change these parameters

Change IAR 4.11A Debug setting

Selects in IAR Embedded workbench menu:

Project -> Option   ATL+F7

Select Debugger in Setup Window

 

Change Use macro file popup by $PROJ_DIR$\resource\SAM7.mac

 

Select Download Window

Set the Flag Flash download

 

Select OK.

Now you can works and Flash in Flash_Debug workspace.

Debug IAR 4.11A In Flash workspace

Rebuild the application

 

Flash and debug

 

IAR will be flash your application and open a debug target window