2025-11-07 11:13 PM
Hello,
I have designed a custom PCB using STM32N657I0HxQ and W25Q32JWZPIQ NOR flash. I am following the STM32N6 FSBL Load & Run tutorial https://community.st.com/t5/stm32-mcus/how-to-create-an-stm32n6-fsbl-load-and-run/ta-p/768206 , but have trouble getting the application running. I am using below setup:
STM32CubeIDE - v1.19.0
STM32CubeProgrammer -v2.21.0
STM32CubeMX - v6.15.0
I have created a custom external memory loader for W25Q32JWZPIQ and able to connect device in Dev boot mode (BOOT1 -1, BOOT0-0) and flash FSBL-trusted.bin and Appli-trusted.bin at 0x70000000 and 0x70100000 respectively. Also, I am able to verify the contents.
When I connect to Flash boot mode (BOOT1-0, BOOT0-0), Led is not blinking.
I tried to debug by setting device into Dev mode and run FSBL directly into internal RAM, I can see the FSBL is properly copying the application code to 0x34000000 but JumpToApp() ends up in fault.
I have tried the below
FSBL-trusted(Led toggle) + ExtMemLoader - FSBL loads from 0x70000000 into internal RAM and led blinks.
FSBL-trusted + Appli-trusted(Led toggle) + ExtMemLoader - FSBL and Appli loads into internal RAM but crashes at JumpToApp().
Please let me know if there are any specific settings required for the app to work.
Solved! Go to Solution.
2026-01-21 4:33 AM
I am able to flash and run application after downgrading stm32cubeprogrammer to v2.20.0. For latest version, we need to add "-align" parameter in signing command.
2026-01-21 4:33 AM
I am able to flash and run application after downgrading stm32cubeprogrammer to v2.20.0. For latest version, we need to add "-align" parameter in signing command.