Closed vkottler closed 7 years ago
I recommend cloning this repo to get all of the necessary documentation.
The STM32F767ZI reference manual says the following:
When we consult the ARM Cortex-M7 Reference Manual as instructed, surprise! There's no description for the "Application Interrupt and Reset Control Register".
When we search it online here we can actually read about it:
hmm... yeah I'm sure it's somewhere in these manuals!
It seems we can take advantage of NVIC_SYSTEMRESET command documented in core_cm7.h file in the CMSIS files folder. It basically overwrites the reset register bits to implement a software reset, which is pretty much what we are looking for.
Oh dang, good find. There's always useful stuff in there! Feel free to make a command-line command that calls it and test it out
Has been implemented and pushed.
Being able to reset the board from the command line would be a great utility.