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

X  

STC89LE52RC 数据表(PDF) 124 Page - STCmicro Technology Co,.Ltd

部件名 STC89LE52RC
功能描述  Enhanced 80C51 Central Processing Unit ,6T or 12T per machine cycle
PDF  165 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STC [STCmicro Technology Co,.Ltd]
网页  http://www.stcmicro.com/
标志 STC - STCmicro Technology Co,.Ltd

STC89LE52RC 数据表(HTML) 124 Page - STCmicro Technology Co,.Ltd

Back Button STC89LE52RC Datasheet HTML 120Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 121Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 122Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 123Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 124Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 125Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 126Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 127Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 128Page - STCmicro Technology Co,.Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 124 / 165 page
background image
Chapter 9 IAP / EEPROM
The ISP in STC89xx series makes it possible to update the user’s application program and non-volatile application
data (in IAP-memory) without removing the MCU chip from the actual end product. This useful capability makes
a wide range of field-update applications possible. (Note ISP needs the loader program pre-programmed in the
ISP-memory.) In general, the user needn’t know how ISP operates because STC has provided the standard ISP
tool and embedded ISP code in STC shipped samples. But, to develop a good program for ISP function, the user
has to understand the architecture of the embedded flash.
The embedded flash consists of 90(max) pages. Each page contains 512 bytes. Dealing with flash, the user
must erase it in page unit before writting (programming) data into it.
Erasing flash means setting the content of that flash as FFH. Two erase modes are available in this chip. One
is mass mode and the other is page mode. The mass mode gets more performance, but it erases the entire flash.
The page mode is something performance less, but it is flexible since it erases flash in page unit. Unlike RAM’s
real-time operation, to erase flash or to write (program) flash often takes long time so to wait finish.
Furthermore,it is a quite complex timing procedure to erase/program flash. Fortunately, the STC89xx carried
with convenient mechanism to help the user read/change the flash content. Just filling the target address and data
into several SFR, and triggering the built-in ISP automation, the user can easily erase, read, and program the
embedded flash and option registers.
The In-Application Program feature is designed for user to Read/Write nonvolatile data flash. It may bring
great help to store parameters those should be independent of power-up and power-done action. In other words,
the user can store data in data flash memory, and after he shutting down the MCU and rebooting the MCU, he can
get the original value, which he had stored in.
The user can program the data flash according to the same way as ISP program, so he should get deeper un-
derstanding related to SFR ISP_DATA, ISP_ADDRL, ISP_ADDRH, ISP_CMD, ISP_TRIG, and ISP_CONTR.
9.1 IAP / ISP Control Register
The following special function registers are related to the IAP/ISP operation. All these registers can be
accessed by software in the user’s application program.
Symbol
Description
Address
Bit Address and Symbol
MSB
LSB
Value after
Power-on or
Reset
ISP_DATA
ISP/IAP Flash Data
Register
E2H
1111 1111B
ISP_ADDRH
ISP/IAP Flash
Address High
E3H
0000 0000B
ISP_ADDRL
ISP/IAP Flash
Address Low
E4H
0000 0000B
ISP_CMD
ISP/IAP Flash
Command Register
E5H
-----
MS2
MS1
MS0
xxxx x000B
ISP_TRIG
ISP/IAP Flash
Command Trigger
E6H
xxxx xxxxB
ISP_CONTR
ISP/IAP Control
Register
E7H
ISPEN SWBS SWRST --
WT2 WT1 WT0 000x x000B
PCON
Power Control
87H
SMOD SMOD0
-
POF
GF1
GF0
PD
IDL
00x1 0000B
124



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 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

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