2012-06-12 08:37 AM
Hi,
I'm trying to program stm8s mic. but it's protected.
I marked unlock option in stm visual programmer and it didn't work.What should I do for unlocking the mic ?
Thanks #programming-stm8s2012-06-25 05:21 AM
Hi,
perhaps this helps: SeeReference manual [
STM8S microcontroller family]
(RM0016)
chapter 4.5 Memory protection
especially ch. 4.5.1 Readout protection:
The readout protection can be disabled on the program memory, UBC, and DATA areas, by
reprogramming the ROP option byte in ICP mode.
In this case, the Flash program memory,
the DATA area and the option bytes are automatically erased
and the device can bereprogrammed.
Regards,
WoRo