2025-11-24 3:36 PM
I have just purchased the STM32N6570-DK kit and have been able to successfully load and run the demo binaries. However when I have tried to generate a simple application like the LED Blink project I have been able to successfully get it running in the Cube IDE debug mode but once I load the .bin file into the external flash it will not run.
I have followed the online tutorials by B.Montanari as well as read all the available documentation but nothing seems to be working.
I have signed the fsbl.bin file to create a fsbl-trusted.bin file and programmed the external flash at 0x7000 0000 exactly as outlined in the tutorials but no luck. The code definitely runs on the kit in the Cube IDE debug mode so I am obviously missing some vital key setup when it comes to loading it from flash but I am unable to figure out what it is.
I understand how the BOOT process works but trying to implement the process is a different matter.
This is a basic operating requirement for using the STM32N6 so why is it so darn hard and complex to actually implement?
Do you have any other documentation that actually walks through the entire setup/configuration process for creating the fsbl code?
At this stage I only want to generate a basic fsbl file that can be loaded from external flash and blink the LDO1 LED. There is something I am missing but don't know what it is.
I have spent so many hours on this, I am getting frustrated.
Solved! Go to Solution.
2025-11-27 2:19 AM
I seem to have solved my problem.
I am using the STM32_SigningTool_CLI.exe version 2.21.0 and this version requires the -align option to sign the binaries.
Adding this option has made the process functional when booting from flash.
Unfortunately most of the documentation/examples online have been generated using older versions of tools and these small variations between the new and old versions are hard to track down.
2025-11-27 2:19 AM
I seem to have solved my problem.
I am using the STM32_SigningTool_CLI.exe version 2.21.0 and this version requires the -align option to sign the binaries.
Adding this option has made the process functional when booting from flash.
Unfortunately most of the documentation/examples online have been generated using older versions of tools and these small variations between the new and old versions are hard to track down.