2020-04-15 01:39 AM
I have a 3D printer board with a STM32F407Z6T6, which stopped working after a firmware flash from SD card, so I attempted to erase and flash from ST-Link V2.
ST-Link immediately report that ROP is activated even though this is the first time I have open or learn about it, which means I did not set it. Following tutorial to disable it leads to "Could not disable read out protection" and "Option bytes cannot be set" errors, and I cannot just wipe the flash and reflash because of the same reason.
I've also tried the Linux version of ST-Link, which I hoped that would allow me to just mass erase the flash, which I thought it did, but when go back to ST-Link Utility, same problems reoccurs.
Any suggestion on how to handle this situation?