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

X  

ST10 数据表(PDF) 12 Page - STMicroelectronics

部件名 ST10
功能描述  16-BIT MCU WITH 128KBYTE FLASH MEMORY
PDF  58 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST10 数据表(HTML) 12 Page - STMicroelectronics

Back Button ST10 Datasheet HTML 8Page - STMicroelectronics ST10 Datasheet HTML 9Page - STMicroelectronics ST10 Datasheet HTML 10Page - STMicroelectronics ST10 Datasheet HTML 11Page - STMicroelectronics ST10 Datasheet HTML 12Page - STMicroelectronics ST10 Datasheet HTML 13Page - STMicroelectronics ST10 Datasheet HTML 14Page - STMicroelectronics ST10 Datasheet HTML 15Page - STMicroelectronics ST10 Datasheet HTML 16Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 12 / 58 page
background image
ST10F163
12/58
The Flash Unlock Sequence consists of two con-
secutive writes: the direct addressing mode and
the indirect addressing mode. The FCR must rep-
resent an even address in the active address
space of the flash memory. Rwn can be any
unused word GPR (R6 to R15), loaded with a
value that results in the same even address as for
FCR
For easier coding, the standard data paging
addressing scheme is overridden for the two MOV
instruction of the Flash Trigger Sequence (EXTS
instruction). This also locked both standard and
PEC interrupts and class A hardware traps. Must
be replace by ATOMIC instruction if standard DPP
addressing scheme must be preserved.
When the embedded programming/erasing algo-
rithm returns to trigger point, information can be
collected through register R0 so the user can take
specific actions. Table 5 lists all of the error codes
that can be returned in R0.
Note
The Flash Embedded Presto Algorithms require at least 45 words on the Internal System Stack for proper operation. The program
verifies itself that there is enough free space on the System Stack before performing a programming or erasing operation (by
comparing SP value with STK OV+90d).
EXTS
#1, #2
; assumes flash is
mapped in seg 1
MOV
FCR, R7
; first part
MOV
[R7], R7
; second part
Table 5 : Error code definition
ERROR CODE
MEANING
00h
Operation was successful
01h
ROMEN bit inside SYSCON is not set
02h
Vpp voltage not present
03h
Programming operation failed
04h
Address value (R1) incorrect: not in Flash address area or odd
05h
CPU period out of range (must be between 10 ns to 1000 ns)
06h
Not enough free space on system stack for proper operation
07h
Incorrect bank number (R2,R3) specified
08h
Erase operation failed
09h
Bad source address for multi-word programming command
0Ah
Bad number of words to be copied in multi-word programming command: one
destination will be out of flash, or one source operand will be out of the source page
FFh
Unknown or bad command



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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58


数据表 下载

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