Flashing an existing image without risking a re-build

Technical Note 68610

Arkitekturer:

ARM

Komponent:

debugger

Uppdaterad:

2015-11-06 10:53

Introduction

In order to avoid an image to be rebuilt the following solution can be used.

Requirements

  • IAR Embedded Workbench for ARM must not be too old. Versions released 2007 (or later) can use this solution.
  • The file format of the existing image must be of a format that can be downloaded by C-SPY. (For example ELF/DWARF or hex).

Solution

1) setting up

  • Create a new project. Choose Project > Create New Project
  • Select the project template: Externally built executable
  • Specify the project name.
  • Add the image file to the project, choose Project > Add Files and make sure to choose All Files in the Files of type drop-down list.
  • The only project options that are meaningful to set, (for this kind of project), are the options in the categories: General Options and Debugger.
  • Make sure to set up the general project options in the same way as when the executable file was built.
  • Set up the C-SPY options in accordance to your emulator/JTAG etc.

2) downloading

  • To download the image file, select the project in the Workspace window and click the Debug button.
  • The project can be reused whenever needed to download the image.

Notes

Be aware that the exact names in the IAR Embedded Workbench IDE can vary between versions.

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

Det här innehållet finns tyvärr inte på svenska.

Vår webbplats finns främst på vårt koncernspråk engelska, förutom det innehåll för investerare som vi är lagstadgade att kommunicera på svenska. Vi rekommenderar att du besöker vår globala webbplats på engelska för att få en bättre upplevelse.

Vi stöder inte längre Internet Explorer. För att få bästa möjliga upplevelse av iar.com rekommenderar vi att du uppgraderar till en modern webbläsare som Chrome eller Edge.