cancel
Showing results for 
Search instead for 
Did you mean: 

The MCU cannot be restarted after the NRST pin is pulled low

Tayloor
Associate II

Hi guys,

I am using the stm32f103rct6 microcontroller, and there is a hardware watchdog in the peripheral circuit to monitor the operation of the program, but after my program runs away, the watchdog will pull down the nrst pin flat, and sometimes the mcu cannot be started after reset. I would like to ask if anyone has encountered a similar situation and how to solve it.

THANKS!!!

13 REPLIES 13

Make sure the NRST is released

Make sure the BOOT0 pin is pulled low, and not floated, to ensure your code runs.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

I'm sure the nrst pin is released and the boot0 pin keeps being pulled low. In order to solve this problem, I designed a circuit that outputs a reset signal to the MCU every 3 seconds, at first the MCU can be reset and restarted, but later the MCU cannot be restarted.

Passerby
Associate III

Disconnect your daplink , stlink or jtag, and try again later

Nothing connected, but the question still exist.

Is this board made by yourself or the official board of ST? If it is made by yourself, is it convenient to send the screenshot of the relevant part of NRST pin

Of course,the watchdog circuit as this.

感觉没什么问题,但是我建议你可以把TPL5010 R146 R151拆了试试,只留下R101和C126,先排除是NRST引脚硬件引起的问题。如果拆了还不好使,那估计就是你软件可能没写对了。

嗯嗯,好的,谢谢。大概率是软件问题,但软件问题无法被硬件复位这个有点奇怪,我一直没有找到原因,只有断电重新上电才能解决这个问题。

这种感觉像是复位电路的问题,我建议你试一试,毕竟软复位就一句语句就完事了,除非硬件问题否则都会成功复位的