2025-11-23 10:16 PM - last edited on 2025-11-24 6:04 AM by Amel NASRI
I am working with Zephyr RTOS on the Nucleo-H7S3L8 board and have successfully flashed and run the blinky example on internal flash.
However, I noticed that Zephyr does not provide official documentation for flashing applications into external flash.
My question:
Solved! Go to Solution.
2025-11-28 12:02 AM
Please follow up on https://github.com/zephyrproject-rtos/zephyr/pull/99647
This will introduce support of building and flashing of application on external flash using MCUBoot as bootloader, similarly to what is supported on DK Board (see https://docs.zephyrproject.org/latest/boards/st/stm32h7s78_dk/doc/index.html#application-in-external-flash)
2025-11-25 5:25 AM
Hello @laya
STM32CubeProgrammer is setup as the default west runner for STM32 boards supported by Zephyr. For your case you can use STM32cubeProgrammer GUI instead of west commande to flash the code in external memory.
2025-11-25 6:21 AM - edited 2025-11-25 6:22 AM
Hello @laya,
I suggest that you program the external memory from the internal flash. So, you will XIP from external memory, then jump to internal flash in order to program the external memory then jump back to XIP.
I hope my answer has been helpful. When your question is resolved, please mark this topic as the solution. This will help others find the answer more quickly.
Thank you for your contribution.
Best regards,
Dor_RH
2025-11-28 12:02 AM
Please follow up on https://github.com/zephyrproject-rtos/zephyr/pull/99647
This will introduce support of building and flashing of application on external flash using MCUBoot as bootloader, similarly to what is supported on DK Board (see https://docs.zephyrproject.org/latest/boards/st/stm32h7s78_dk/doc/index.html#application-in-external-flash)