-
Notifications
You must be signed in to change notification settings - Fork 7.3k
stm32h573i_dk can't boot from external flash with mcuboot #87531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@Jowllel it would be more helpful for people who want to help if you could provide a git branch instead of a zip file, and reproduce the issue with a Zephyr sample (for example samples/sysbuild/with_mcuboot) if possible. |
@Jowllel, I will go with the stm32h573 disco kit in the coming days to execute from external flash |
with samples/application_development/code_relocation_nocopy/ running on the stm32h573i disco kit
With the stm32h573i disco kit, the mcuboot does not find the image.
when external NOR is configured in memory mapped and image is downloaded at addr 0x90000000 |
I finally found the problem : same as for the stm32H7, the stm32H5 should not disable the PLL when booting from the MCU_Boot since the xspi is clock by the PLL
--> PR to come |
Describe the bug:
I'm trying to boot my application from the external ospi nor flash on the stm32h573i_dk board. My project (MCUBOOT_EXT_Test.zip) is based of the mcuboot sample. When I place the slot0 and slot1 partition in the internal flash everything works as expected, however when I place them in the external flash the code stops, when jumping to the application image. (As shown in the log below) At this point the MCU can't be accessed through the debugger (west attach or STM32CubeProgrammer), because it's in a locked up state.
To Reproduce:
I uploaded my project files as a zip. Build them with sysbuild and flash them to an stm32h573i_dk. And edit the board file (stm32h573i_dk.dts) in the zephyr folder, so the slot0 and slot1 partitions are placed in the ospi nor flash.
MCUBOOT_EXT_Test.zip
CMake Warnings for mcuboot target:
CMake Warnings for main app target:
Logs and console output:
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: