cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 software reset

yohann
Associate II
Posted on January 08, 2015 at 13:46

Hello,

I want to know what happend when I do a software reset exactlly.

I use the function NVIC_SystemReset that set the SYSRESETREQ bit.

In the documentation I found:

The SYSRESETREQ bit in Cortex™-M4F Application Interrupt and Reset Control Register

must be set to force a software reset on the device. Refer to the Cortex™-M4F technical

reference manual for more details. And in the Cortex technical reference manual:

See you vendor documentation for more information about the use of this signal in your implementation.

So the loop is done ^^.

Where can I found a detailed exlaination about what are the actions done when SYSRESETREQ is set on a STm32F405?

2 REPLIES 2
Posted on January 08, 2015 at 15:00

Assume it drives NRESET low, as would an external reset button. Which is why it's important not to drive NRESET high with external circuitry as it prevents the CPU from resetting properly.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on January 08, 2015 at 15:10

From RM0090

''Software reset

 

The reset source can be identified by checking the reset flags in the RCC clock control & status register (RCC_CSR).

 

The SYSRESETREQ bit in Cortex®-M4 with FPU Application Interrupt and Reset Control Register must be set to force a software reset on the device. Refer to the Cortex®-M4 with FPU technical reference manual for more details.''

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