cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 STM32H755 How can i combinate 2 hex files (cm4 & cm7) ?

Hans T
Associate III

Hello

After generating the Code from cubeMX and compiling with cubeIDE, elf / hex files are created. CM4.hex and CM7.hex

how can I combine these two in one hex file?

where can I find this setting?

2 REPLIES 2
Markus GIRDLAND
ST Employee

Hello Hans!

Usually separate hex files are programmed sequentially to the flash using your device programmer. If you want to combine several hex files there are some free software which can be used. E.g. srec_cat.exe available at sourceforge. Although I haven't used it myself.

Normally in STM32CubeIDE the two elf files from CM4 and CM7 are used when starting the debug session. Both files can be loaded by selecting them in the Load List in the Debug configuration.

Hans T
Associate III

Thanks, i'm going to try.