Loading...
 
Skip to main content

System Workbench for STM32


How to reprogram STM32 when the flash is corrupted

I solved the reprogramming problem by using ST link utility software. I was able to connect the chip, read the option bytes through the software and set the corrupted fields accordingly. After that I erased the complete chip and reprogrammed the chip with the help of ".bin" generated by Eclipse. Once done I checked the same with Eclipse IDE if I could program or debug the chip and yes I could.
 
Collapse/expand modules below