Skip to main content
Graduate
April 2, 2024
Solved

STM32H7 MCU dual processor programming file

  • April 2, 2024
  • 1 reply
  • 1542 views

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?

    This topic has been closed for replies.
    Best answer by mƎALLEm

    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.

    1 reply

    mƎALLEmAnswer
    Technical Moderator
    April 2, 2024

    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.

    FMass.1Author
    Graduate
    April 2, 2024

    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?

    Technical Moderator
    April 2, 2024

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