2025-10-13 3:17 AM
Hello everyone,
I am working with the STM32N6570-DK discovery kit and I have encountered a strange behavior that I cannot explain.
When I use the ST-provided example projects that include both an FSBL (First Stage Boot Loader) and an Application image — for example:
Template_LRUN
Template_FSBL_XIP
JPEG_EncodingFromOSPI_DMA
they fail to run correctly on my STM32N6570-DK boards.
However, the exact same projects (same binaries, same flashing procedure) work perfectly on another identical STM32N6570-DK board (I was able to test the same projects on another STM32N6570-DK discovery kit provided by a friend).
Interestingly, simpler examples that only contain an FSBL project (for example GPIO_IOToggle) work fine on my board.
Before testing the ST-provided examples, I had tried to debug my own application on the same board.
During debugging, my code ended up in a HardFault error, and since then, it seems that any project which includes both an FSBL and an Application can no longer run properly on this board.
This makes me wonder whether something in the memory configuration might have been altered or locked after the crash — preventing the Application stage from being correctly loaded or executed.
I would like to understand what could cause this behavior and how to restore the board so that FSBL + Application projects can run again normally.
Any advice or diagnostic steps would be greatly appreciated.
Thank you in advance!