STM8S003F3P6 is protected
Hi everybody,
I am using the STM8S003F3P6 development board (little blue one bought from AliExpress) and I am trying to program it using ST-LINK V2 (also bought on AliExpress).
I wrote the code using STVD and now I would like to program the MCU. I tried to follow the "standard" procedure to program the microcontoller but it doesn't work. The ST Visual Programmer displays the following error:
Error: The device is protected
I searched for the solution in internet, and everybody says that I have to unlock the Read Out Protection. Those bits were already set to 0, but I cleared them anyway.
This should have solved my problem, but unlikely the problem is still there.
I read the datasheet and I didn't find any solution. I want to say that I tried programming another chip (same microcontroller model, same ST-LINK, same software tools) and everything works perfectly. Can someone help me please?
Thanks,
Lorenzo
