2018-06-22 03:02 AM
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
2018-06-22 04:17 AM
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.
2018-06-25 05:04 AM
Thanks a lot for your reply.
I will do like that.
2018-06-25 05:08 AM
Check out the free 'srec-tools', they can manipulate/merge a lot of different format.
No link given, to avoid moderation.
2018-06-27 02:16 AM
Thanks for your reply and this tool. It is very useful and will help me
2018-06-28 05:14 AM
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