cancel
Showing results for 
Search instead for 
Did you mean: 

Create a dual core project from compiled binary file

Kévin
Associate III

Hello,

The main purpose of the question is to avoid giving source code and give binary file instead.


For example, I generate a compiled binary file from a nucleo project (STM32H743ZI2) for the M7 core.
Then I want to create a new dual core project (STM32H755ZIT6) but import the previous binary file for M7 (.elf, .hex, .bin or whatever which will work) instead of importing its source code.

 

(this two version of MCU were provided by the company, I actually have not clue if they are compatible)


All the tutorials I saw use the importation of source code.

In the newly created dual core project, I tried to make:
Import> "stm32 Cortex M-executable"> select the generated .elf as executable, select STM32H755ZIT6 as MCU
Is this the way to do it ?


Is there a tutorial or a post that explained this ?

 

2 REPLIES 2
Amine_Jridi
ST Employee

Hello @Kévin 

To achieve this, you can use the STM32CubeProgrammer by simply navigate to the "Erase & Programming" section, attach your file and proceed with the programming process.


Below are the links you'll need:
- STM32CubeProgrammer Download: " https://www.st.com/en/development-tools/stm32cubeprog.html#overview "
- User Manual: " https://www.st.com/en/development-tools/stm32cubeprog.html#documentation "
- YouTube: " https://www.youtube.com/playlist?list=PLnMKNibPkDnGZb0NkLeSRkTY79bvP7vzY "

If you have any further questions, feel free to reach out.

Amine.


In order 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.

Use INCBIN in startup.s to pull in the binary file. Use a named section so you can direct to a specific location via the Linker script.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..