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

X  

PM0212 датащи(PDF) 18 Page - STMicroelectronics

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

PM0212 датащи(HTML) 18 Page - STMicroelectronics

Back Button PM0212 Datasheet HTML 14Page - STMicroelectronics PM0212 Datasheet HTML 15Page - STMicroelectronics PM0212 Datasheet HTML 16Page - STMicroelectronics PM0212 Datasheet HTML 17Page - STMicroelectronics PM0212 Datasheet HTML 18Page - STMicroelectronics PM0212 Datasheet HTML 19Page - STMicroelectronics PM0212 Datasheet HTML 20Page - STMicroelectronics PM0212 Datasheet HTML 21Page - STMicroelectronics PM0212 Datasheet HTML 22Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 18 / 22 page
background image
Programming STM8 Flash microcontrollers
PM0212
18/22
Doc ID 022351 Rev 2
4.6.1
ICP methods
The in-circuit programming (ICP) method is used to update the content of Flash program
memory and data EEPROM.
The programming interface for STM8 devices is the SWIM (Single Wire Interface Module). It
is used to communicate with an external programming device connected via a cable.
See STM8 SWIM communication protocol and debug module user manual (UM0470) for
more details on the SWIM mode entry and SWIM protocol.
When using the SWIM protocol, two methods can be used:
SWIM active (ICP
mode)
Readout
protection
enabled
Interrupt vectors except for TRAP
P
TRAP
P
Proprietary code area (PCODE)
P(4)
User boot code area (UBC)
P
Main program
P
Data EEPROM area (DATA)
P
Option bytes
P/WROP
(6)
Readout
protection
disabled
Interrupt vectors except for TRAP
R/W/E
TRAP
R/W/E
Proprietary code area (PCODE)
R/E(4)
User boot code area (UBC)
R/E(5)
Main program
R/W/E(7)
Data EEPROM area (DATA)
R/W(3)
Option bytes
R/W
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, except for TRAP, can be modified in user
/IAP mode.
3.
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 IAPSR register.
If wrong keys are provided, another key program sequence can be performed without resetting the
device.
4.
The PCODE area can be read and executed only in privileged mode through the TRAP vector. The
PCODE cannot be directly accessed through the SWIM.
5.
To program the UBC area the application must first clear the UBC option byte.
6.
When ROP is removed, the whole memory is erased, including option bytes.
7.
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.
Table 5.
Memory access versus programming method (continued)
Mode
ROP
Memory Area
Access
from core(1)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22


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

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