Skip to main content
Associate III
October 28, 2025
Question

STM32N6: NVIC_SystemReset() or IDWG does not reboot, but the MCU stops

  • October 28, 2025
  • 1 reply
  • 142 views

Hello,

I have strange behavior with reset, with reset pin, NVIC_SystemReset() or then IDWG fires the MCU just stops and do not restarts with debugger connected or without, when debugger is connected and toggle reset there text is displayed what address is out of scope, where to search for problems ?
Reset pin is connected to 100nF capacitor, oscilloscope do not detect any activity on RST pin then NVIC_SystemReset() or IDWG firing, to connect with cubeProgrammer or upload code from cubeIDE I have to keep reset low and then turn on power, later until power is not disconnected there is no problems to connect and upload code many times.

If before power applied reset is keept low and then released the code do not loads, but I can connect with debugger and upload code.
If at power up reset is not low then code starts normally, the FSBL and then APPLI starts like expected.
The main problem about reset problems what IDWG do not restarts MCU, MCU just stops.

1 reply

TDK
Super User
October 28, 2025

> If before power applied reset is keept low and then released the code do not loads

Suggests other issues. What board is this?

"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate III
October 28, 2025

Its custom PCB, with a lot of peripheries used (LAN, DCMIP, SD, USB, SPI, I2C, I2S....) and everything works, the device is almost ready for testing in real life environment, but to avoid code stuck I enabled IDWG and found problem with restart, for test I switched in OTP to SD card FSBL bootload, it works good, maybe there is some issue with reset and boot from SD card ?