cancel
Showing results for 
Search instead for 
Did you mean: 

How to erase the STM8S207S8T6C microcontroller

kamal1953
Associate II
Posted on December 05, 2015 at 18:13

Hi, I the first time write at this forum, prompt to me please, I have the STM8S207S8T6C microcontroller, and I have a programmator of ST-LINK/V2 and the ST Visual Programmer program, on mine the microcontroller isn't present are sewn up I it I can to read quietly, but I can't erase it, this function isn't available to the STVP program, I apply a photo how I can erase the microcontroller? I will be glad to any council, Thanks.

3 REPLIES 3
kamal1953
Associate II
Posted on December 14, 2015 at 18:52

Hi friends, really not who won't be able to prompt to me as to erase my microcontroller Thanks.

LaurentL
ST Employee
Posted on December 15, 2015 at 13:20

Hello,

If you want to clear device's memory, just program it with all 00.

00 is the default state, unlike real flash which is FF.

This flash doesn't need erase before prog since when you program it, it does the erase itself.

If you want an automatic erase, you can program option byte ''Read out protection'' to ON and then program it to OFF.

All memories will be programmed at 00 when removing protection.

Laurent
kamal1953
Associate II
Posted on December 20, 2015 at 00:19

Hi, thank you Laurent for information,is glad that you answered me, now it is clear to me how to erase my microcontroller,Thank you.