STM32N6: Debugging Issues with External Flash and RAM Debug in FSB & App
Hello,
We are using the STM32N6 series MCU in our project and encountering issues during debugging. I’ve attached a screenshot of the error message we are seeing.

We followed the steps outlined in this guide:
https://community.st.com/t5/stm32-mcus/how-to-debug-stm32n6-using-stm32cubeide/ta-p/800547
However, the code cannot be debugged from external flash (in dev boot mode).
But, when we boot from flash (flash boot) and the debugger is not connected, the code runs as expected.
Also, debugging from RAM with FSB works, but debugging the App code from RAM fails and gives the same error.
Based on the information in this page:
https://wiki.stmicroelectronics.cn/stm32mcu/wiki/Category:Security_with_STM32N6,
could this issue be related to the STM32N6's debug security features?
Best regards,
Egemen Aksoy
