2019-01-16 02:49 AM
2019-01-16 05:26 AM
Let's try to keep the summary/title and question separate.
BOOT0 pulled high or low? When high it makes it easier to erase, but will enter the System Loader rather than your own code when restarted.
Do you have NRST connected on your debug interface?
Does the erase, download and verify function reliably?
What tool chain?