Programming binary file(s) into flash
Technical Note 21367
Arkitekturer:
ARM
Komponent:
general
Uppdaterad:
2015-11-06 13:48
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
IAR Embedded Workbench for ARM provides a feature that can link one binary file of any kind (for example 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
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 on the symbol name: ‘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-M 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.