cancel
Showing results for 
Search instead for 
Did you mean: 

Programing Proctected STM8S Mic.

yaniv1982
Associate II
Posted on June 12, 2012 at 17:37

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-stm8s
1 REPLY 1
wolfgang239955_stm1_st
Associate II
Posted on June 25, 2012 at 14:21

Hi,

perhaps this helps:

See

Reference 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 be

reprogrammed.

 

Regards,

WoRo