Splitting hex or srec files

Technical Note 35923

Targets:
ARM

Component:
Linker

Updated:
5/14/2012 11:15 AM

Introduction

An application located for example in Internal Flash and External Flash could generate a massive binary if the start addresses are far apart, and if the ELF output is converted to (Intel) HEX or (Motorola) SREC formats.

Solution

  1. Split or modify the HEX/SREC files using the open source tool "SRecord".
  2. If the project consists of a bootloader and application, divide the project into two separate projects.

Background

There are compelling reasons to NOT place your bootloader and application in the same project, one of them is discussed in Technical Note 27860.

 

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

Related Tech Notes

© IAR Systems 1995-2016 - All rights reserved.