2025-10-28 5:19 AM - last edited on 2025-10-28 5:28 AM by Andrew Neil
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.
2025-10-28 6:19 AM
> If before power applied reset is keept low and then released the code do not loads
Suggests other issues. What board is this?
2025-10-28 6:54 AM - edited 2025-10-28 6:57 AM
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 ?