Friday, April 20th 2018, 4:40am UTC+2

You are not logged in.

  • Login
  • Register

Pratheesh P

Beginner

Date of registration: Jun 22nd 2017

Posts: 5

1

Wednesday, August 23rd 2017, 11:18am

Is PrepareFW tool in EMLOAD can be used to combine hex/binaries?

Hi,

We are using EMLOAD package in our project, which has the PrepareFW tool to create EMLOAD compatible files.
Is there any mechanism to combine 3 hex/bin files to single Image file using any of these tools?

Regards,
Pratheesh

SEGGER - Oliver

Super Moderator

Date of registration: Nov 14th 2007

Posts: 41

2

Friday, August 25th 2017, 8:54am

Hi Pratheesh,

The PrepareFW tool is designed to read in a single file only. However this file may contain several memory regions with gaps.
These gaps will be preserved as gaps if they are big enough (more than a couple of bytes) to avoid an unnecessary region overhead in the output.

To combine multiple files you can easily use J-Flash from our J-Link Software and Documentation Pack, available for download from here:
https://www.segger.com/downloads/jlink/

J-Flash can even be be used via command line arguments to combine multiple files. The same applies as for PrepareFW, this is only possible if addresses from the files to merge do not overlap.

Regards,
Oliver

Similar threads