cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 MCU dual processor programming file

FMass.1
Associate III

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?

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

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.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
SofLit
ST Employee

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.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

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?

Yes if there is no dependency with CM4 in the application.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.