Programming binary file(s) into flash

Technical Note 21367

Targets:
ARM

Component:
General

Updated:
4/30/2009 10:48 AM

Introduction

It is normally necessary to use a third-party flash programming tool for flashing a binary file. This Technical Note discusses some alternative solutions.

One binary file

Solution

IAR Embedded Workbench for ARM provides a feature that can link one binary file of any kind (e.g. bin, bmp, wav, etc.) in your project. Through this feature, it is also possible to download one binary file into flash memory with IAR Embedded Workbench for ARM.

Example

The link Instructions how to flash one BIN file with EWARM.pdf is a step-by-step description of how to do this.

Several binary files

Solution

It is also possible to link several binary files in your project and then download the linked file into flash memory with IAR Embedded Workbench for ARM.

Example

The link How to link several BIN files and flash them.pdf is a step-by-step description of how to do this.

Note: The symbol name of ‘MYSYM’

The name ‘MYSYM’ is just an example. If the application is built with IAR Embedded Workbench for ARM, you should use the symbolic name of the label where the application starts.

If the device is a Cortex-M3 the symbol name should be: __vector_table

If the device is an ARM7/9 the symbol name should be: __vector

 

All product names are trademarks or registered trademarks of their respective owners.

Related Tech Notes

© IAR Systems 1995-2016 - All rights reserved.