поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

PM0054 датащи(PDF) 14 Page - STMicroelectronics

номер детали PM0054
подробное описание детали  How to program STM8L and STM8AL Flash program memory and data EEPROM
PDF  28 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PM0054 датащи(HTML) 14 Page - STMicroelectronics

Back Button PM0054 Datasheet HTML 10Page - STMicroelectronics PM0054 Datasheet HTML 11Page - STMicroelectronics PM0054 Datasheet HTML 12Page - STMicroelectronics PM0054 Datasheet HTML 13Page - STMicroelectronics PM0054 Datasheet HTML 14Page - STMicroelectronics PM0054 Datasheet HTML 15Page - STMicroelectronics PM0054 Datasheet HTML 16Page - STMicroelectronics PM0054 Datasheet HTML 17Page - STMicroelectronics PM0054 Datasheet HTML 18Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 28 page
background image
Memory protection strategy
PM0054
14/28
Doc ID 15433 Rev 9
4.1
Readout protection
On low density STM8L101x microcontrollers, the readout protection is:
enabled by writing 0xAA in the ROP option byte
disabled by reprogramming the ROP option byte with any value except 0xAA and
resetting the device.
On low density STM8L05x/15x, medium density STM8L05x/15x and
STM8AL31xx/STM8AL3Lxx and high density STM8L05x/15x/16x microcontrollers, the
readout protection is:
enabled by writing any value except 0xAA in the ROP option byte
disabled by reprogramming the ROP option byte with 0xAA, and resetting the device.
To unprotect the device, the ROP must be written twice: the first write, with any value,
launches a global erase which includes the option byte; the second write, 0xAA,
unprotects the device, and then the 0xAA value remains in the ROP byte.
Please note the EOP should be checked each time.
Readout protection can only be disabled in ICP/SWIM mode.
When readout protection is selected, reading or modifying the Flash program memory in
ICP mode (using the SWIM interface) is forbidden. When available, the data EEPROM
memory is also protected against read and write access through ICP.
Erasing the ROP option byte to disable the readout protection causes the Flash program
memory, the DATA area and the option bytes to be erased.
Even though no protection can be considered as totally unbreakable, the readout protection
feature provides a very high level of protection for general purpose microcontrollers. Of
course, software that dumps the Flash program memory content makes this readout
protection useless. Table 10 describes possible accesses to each memory areas versus the
different modes and readout protection settings.
4.2
Proprietary code area protection
The memory pages containing peripherals software libraries must be located in the
proprietary code area (PCODE).
The size of the PCODE area can be configured through the PCODE option byte
(PCODESIZE) in ICP/SWIM mode. Refer to Table 7 for details on PCODE minimum and
maximum size. Once programmed, the PCODE option byte cannot be erased, the size of
the PCODE area remains fixed and its content protected from read and write operations
whatever the mode.
Table 7.
PCODE size
STM8 microcontroller family
Minimum size
Maximum size
Low density STM8L05x/15x
3 pages (192 bytes)
127 pages (last page always left free for
main program)
Medium+ density STM8L15x
1 page (256 bytes)
128 pages
High density STM8L05x/15x/16x
1 page (256 bytes)
255 pages (last page always left free for
main program)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com