cancel
Showing results for 
Search instead for 
Did you mean: 

How to return STM32duino to Bare Metal ?

enjay
Associate III

Moved from https://community.st.com/t5/stm32-mcus/stm32-arduino-stm32duino-tutorial/ta-p/49649

 

After you have finished the arduino project, how do you then remove everything from the MCU and use it again for normal STM32 projects in CubeMX and so on?

1 ACCEPTED SOLUTION

Accepted Solutions
Andrew Neil
Super User

A full chip erase would do it.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

View solution in original post

4 REPLIES 4
Andrew Neil
Super User

A full chip erase would do it.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
enjay
Associate III

Does this put the board back to its original factory settings? This is the ideal solution I am looking for. (Presumably I use Cubeprogrammer chip memory erase?)

Should do ...

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
enjay
Associate III

Thanks for your replies.