This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to build CM4 and CM7 binary in a dual-core STM32H745 project in Keil uVision?

Hi,

A STM32H745 project in STM32Cube_FW_H7_V1.6.0 is loaded in Keil uVision.

The project has CM4 and CM7 sub-projects.

When the project is built, only the axf code for CM7 is generated.

How to generate the axf code for CM4?

Best regards,

Parents
  • In some of them you need to build the M4 half first and it binds that .HEX file into the M7 half when you build that.

    STM32Cube_FW_H7_V1.5.0\Projects\STM32H745I-DISCO\Templates\BootCM4_CM7Gated\readme.txt

    Others will generate two .AXF or .HEX files, and you are expected to either merge/combine the two, or write each into memory

    During debugging you might need two instances of Keil to deal with each core independently, but you should probably find more effective ways to determine how your code functions and interacts with itself.

Reply
  • In some of them you need to build the M4 half first and it binds that .HEX file into the M7 half when you build that.

    STM32Cube_FW_H7_V1.5.0\Projects\STM32H745I-DISCO\Templates\BootCM4_CM7Gated\readme.txt

    Others will generate two .AXF or .HEX files, and you are expected to either merge/combine the two, or write each into memory

    During debugging you might need two instances of Keil to deal with each core independently, but you should probably find more effective ways to determine how your code functions and interacts with itself.

Children
No data