cancel
Showing results for 
Search instead for 
Did you mean: 

Combining an IAP with an application?

Fabien B
Associate III
Posted on June 22, 2018 at 12:02

Hello,

I have developpe a product with an STM32. I have a project for my main application and a different project for IAP. Both are working well.

I go to production and I would like to merge these 2 .hex (or .out) files inside one in order to program my STM32.

Is it possible to give me a way to do this? There are any software that could merge my two .hex files? Some programming software from ST could program 2 files in the same time?

Thanks for your help

Best regards

Fabien

5 REPLIES 5
Ben K
Senior III
Posted on June 22, 2018 at 13:17

Actually the Intel hex file format is very straightforward, you can do this manually by concatenating the two files, and removing the end of file indicator line (it looks like this: ':00000001FF') in the middle. Alternatively you can also write a small script for this, it really doesn't take more than 10 lines.

Fabien B
Associate III
Posted on June 25, 2018 at 14:04

Thanks a lot for your reply.

I will do like that.

AvaTar
Lead
Posted on June 25, 2018 at 14:08

Check out the free 'srec-tools', they can manipulate/merge a lot of different format.

No link given, to avoid moderation.

Fabien B
Associate III
Posted on June 27, 2018 at 11:16

Thanks for your reply and this tool. It is very useful and will help me

Fabien B
Associate III
Posted on June 28, 2018 at 14:14

hi all,

Finally I found an easy solution that don't need to merge my two hex files.

I am going to use ST software 'STVP' that allow to load 2 different hex files and program them in one time.

Thanks for all reply