2024-04-02 01:51 AM - last edited on 2024-04-02 05:31 AM by SofLit
Hi, I have a question. I just completed a program for a dual processor MCU, specifically an STM32H745, which has one M7 core and one M4 core.
Now I have to organize the production of a hundred cards, and the manufacturer asked me for the .hex file to load into the chip. But in the CubeIDE project, two completely separate projects were generated, each of which generated a .hex file. So I find myself in the situation of having two .hex files, one for the M4 and one for the M7, while the manufacturer of the card, having only one chip, expects only one .hex file to load.
How should I proceed in this situation, what is the exact procedure to load two .hex file into the same chip?
Solved! Go to Solution.
2024-04-02 05:19 AM - edited 2024-04-02 06:44 AM
Hello,
I think you're in the same situation as the one in this thread.
You need to merge the two hex files in one using srec_cat tool.
Hope it helps.
2024-04-02 05:19 AM - edited 2024-04-02 06:44 AM
Hello,
I think you're in the same situation as the one in this thread.
You need to merge the two hex files in one using srec_cat tool.
Hope it helps.
2024-04-02 05:43 AM
ok, very clear thank you very much.
Out of curiosity, if I had a program that only uses the M7 core, could I load only the M7 hex file, as if it were a normal single core MCU?
2024-04-02 05:49 AM - edited 2024-04-02 05:49 AM
Yes if there is no dependency with CM4 in the application.