Integrating MCUboot into a project
Split from old thread: https://community.st.com/t5/stm32-mcus-security/information-about-mcuboot-and-illustrative-examples/td-p/689154
Hello @Jocelyn RICARD ,
I'm looking for guidance on integrating Mcuboot into my project. I am using a NUCLEO-U5A5ZJ-Q
STM32CubeIDE 1.17
First of all some notes about the experience:
- When using the example selector in CubeIDE and, for example the SBSFU_Boot project, it has several problems related to paths in the shell scripts. It cannot find the env.sh file, since it's in the root SBSFU directory.
- It shows only the content of the STM32CubeIDE directory, while it also has related content in the top directory?
How should I use this example correctly? Download the whole SBSFU project and not use CubeIDE, but use make/cmake and a manually installed compiler?
Are the provided examples by ST for Mcuboot in the SBSFU project using the modified Mcuboot middleware?
When writing my own bootloader is that the recommended way or is it only for demonstration purposes and should I use the original mcubood itself?
It would highly appreciated if ST would make a proper step by step guide of how to build your own bootloader using Mcuboot on the wiki.st.com page.
Edit: I am aware of AN5447, but it's very high level only..
Best regards,
Arnold
