2026-02-15 9:23 AM
Hi ST Support Team,
I'm developing a simple FSBL application (LED control) on a NUCLEO-N657X0-Q board to understand the boot management flow with FSBL and application separation.
What I've done:
The problem: The Boot ROM does not load the FSBL into RAM. When I read AXISRAM2 (0x34180000) after reset, it contains all zeros, indicating the Boot ROM is rejecting or not attempting to load the FSBL.
What I discovered: In STM32CubeProgrammer → OTP MPU tab, I see:
Additionally, from the BSEC registers:
My questions:
I need to understand if:
Any guidance would be greatly appreciated. Thank you!
Board information:
Solved! Go to Solution.
2026-02-16 4:25 AM
Hello @AndreapavesiIsb
When using STM32CubeProgrammer v2.21.0, can you try to sign your binary with [--align] option as explained in this post:
Best regards,
Romain,
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2026-02-16 4:25 AM
Hello @AndreapavesiIsb
When using STM32CubeProgrammer v2.21.0, can you try to sign your binary with [--align] option as explained in this post:
Best regards,
Romain,
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2026-02-16 7:28 AM
Hi,
Thank you for the guidance and the reference to the forum topic. I managed to resolve the issue!
Root cause:
I was explicitly specifying the load address (-la 0x34180400) and entry point (-ep 0x34181B1C) parameters in the signing command.
Solution:
Following the exact command from the forum topic, I removed the -la and -ep parameters and let the STM32_SigningTool_CLI extract them automatically from the binary. The tool now sets the load address to 0xFFFFFFFF (auto), and the Boot ROM accepts and loads the FSBL correctly.
Working command:
STM32_SigningTool_CLI.exe -bin Project.bin -nk -of 0x80000000 -t fsbl -hv 2.3 -align -o Project-signed.bin
The FSBL now boots successfully from external flash with BOOT0=LOW, BOOT1=LOW.
Thank you again for your support!
Best regards
Andrea