数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

PM0051 数据表(PDF) 23 Page - STMicroelectronics

部件名 PM0051
功能描述  How to program STM8S and STM8A Flash program memory and data EEPROM
PDF  27 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

PM0051 数据表(HTML) 23 Page - STMicroelectronics

Back Button PM0051 Datasheet HTML 19Page - STMicroelectronics PM0051 Datasheet HTML 20Page - STMicroelectronics PM0051 Datasheet HTML 21Page - STMicroelectronics PM0051 Datasheet HTML 22Page - STMicroelectronics PM0051 Datasheet HTML 23Page - STMicroelectronics PM0051 Datasheet HTML 24Page - STMicroelectronics PM0051 Datasheet HTML 25Page - STMicroelectronics PM0051 Datasheet HTML 26Page - STMicroelectronics PM0051 Datasheet HTML 27Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 23 / 27 page
background image
PM0051
Programming STM8 Flash microcontrollers
Doc ID 14614 Rev 3
23/27
4.6
Memory access versus programming method
Table 8 gives a description of possible accesses from the core to memory areas according
to the programming method.
Table 8.
Memory access versus programming method(1)
Mode
ROP
Memory Area
STM8S and STM8A
Access from core
User, IAP, and
Bootloader (if
available)
Readout protection enabled
Interrupt vectors
R/W(2)/E
User boot code area (UBC)
R/E
Main program
R/W/E(3)
Data EEPROM area (DATA)
R/W(4)
Option bytes
R
Readout protection disabled
Interrupt vectors
R/W(2)/E
User boot code area (UBC)
R/E(5)
Main program
R/W/E(3)
Data EEPROM area (DATA)
R/W(4)
Option bytes
R/W(6)
SWIM active (ICP
mode)
Readout protection enabled
Interrupt vectors
P
User boot code area (UBC)
P
Main program
P
Data EEPROM area (DATA)
P
Option bytes
P/WROP
(7)
Readout protection disabled
Interrupt vectors
R/W(2)/E
User boot code area (UBC)
R/E(5)
Main program
R/W/E(3)
Data EEPROM area (DATA)
R/W(4)
Option bytes
R/W(6)
1.
R/W/E = Read; Write and Execute;
R/E = Read and Execute (write operation forbidden);
R = Read (write and execute operations forbidden);
P = the area cannot be accessed (read, execute and write operations forbidden);
P/WROP = Protected, write forbidden except for ROP option byte.
2.
When no UBC area has been defined, the interrupt vectors can be modified in user /IAP mode.
3.
The Flash program memory is write protected (locked) until the correct MASS key is written in the FLASH_PUKR. It is
possible to lock the memory again by resetting the PUL bit in the FLASH_IAPSR register. If wrong keys are provided, the
device must be reset and new keys programmed.
4.
The data memory is write protected (locked) until the correct MASS key is written in the FLASH_DUKR. It is possible to lock
the memory again by resetting the DUL bit in the FLASH_IAPSR register. If wrong keys are provided, another key program
sequence can be performed without resetting the device.
5.
To program the UBC area the application must first clear the UBC option byte.
6.
The option bytes are write protected (locked) until the correct MASS key is written in the FLASH_DUKR (with OPT set to
‘1’). It is possible to lock the memory again by resetting the DUL bit in the IAPSR register. If wrong keys are provided,
another key program sequence can be performed without resetting the device.
7.
When ROP is removed, the whole memory is erased, including the option bytes.



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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