2024-05-14 10:21 PM
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 ?
2024-05-16 02:43 AM
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.
2024-05-16 02:52 AM
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.