cancel
Showing results for 
Search instead for 
Did you mean: 

Programatically (hardware) reset of STM32

d3jck29
Visitor

Hello,

program that is used to flash STM32H753VI processor (powered over USB) asks to disconnect and then connect again of USB connection to start with flashing. I found also a possibility to start with flashing without reconnecting USB, and that is with reseting mCU via NRST pin. I'm searching for an option to perform the same functionality programmatically. Would calling a function below do the same as reseting mCU via NRST pin?

NVIC_SystemReset();

 Many thanks.

3 REPLIES 3
Javier1
Principal

yes

Available for consulting/freelancing , hit me up in https://github.com/javiBajoCero
Uwe Bonnes
Principal III

Yes, that is the way to go!

However this will probably only work when FLASH is empty. Look at the other threads regarding bootloader entry to do so when flash is already programmed.

TDK
Guru

NVIC_SystemReset generates an internal reset which works by toggling the NRST pin. Thus yes, it produces the same effect.

TDK_0-1739453715635.png

 

If you feel a post has answered your question, please click "Accept as Solution".