SW4STM32 overwriting areas of flash outside ROM? Posted by bugmenot on 2017-06-12 16:49 I think you should use a custom OpenOCD script which doesn't erase the flash before uploading the firmware.