0
\$\begingroup\$

My STM32 is behaving weirdly, to say the least. What is the best way to "hard reset" an STM32? I've tried pressing the "reset" button, and unplugging/replugging everything, but it seems like the weirdness remains.

How can I make a hard reset to restore all the registers and all the memory back to their reset values?

\$\endgroup\$
2
\$\begingroup\$

Everything else except flash and EEPROM should reset on reset or power off. Hard to say what is your exact problem unless you specify what kind of "weirdness" it is doing.

\$\endgroup\$
2
  • \$\begingroup\$ It's probably the Flash that I want to reset, as I'm loading the executable onto Flash, and reading from there. How can I clear the Flash?# \$\endgroup\$
    – Randomblue
    Mar 22 '12 at 15:53
  • \$\begingroup\$ You need to erase it. The software you are using should have an option to erase the flash. \$\endgroup\$
    – Dago
    Mar 22 '12 at 16:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.