欢迎访问ic37.com |
会员登录 免费注册
发布采购

MPC82X52AE 参数 Datasheet PDF下载

MPC82X52AE图片预览
型号: MPC82X52AE
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-bit micro-controller]
分类和应用: 微控制器
文件页数/大小: 72 页 / 952 K
品牌: MEGAWIN [ MEGAWIN TECHNOLOGY CO., LTD ]
 浏览型号MPC82X52AE的Datasheet PDF文件第56页浏览型号MPC82X52AE的Datasheet PDF文件第57页浏览型号MPC82X52AE的Datasheet PDF文件第58页浏览型号MPC82X52AE的Datasheet PDF文件第59页浏览型号MPC82X52AE的Datasheet PDF文件第61页浏览型号MPC82X52AE的Datasheet PDF文件第62页浏览型号MPC82X52AE的Datasheet PDF文件第63页浏览型号MPC82X52AE的Datasheet PDF文件第64页  
In System Programming and In Application Programming
In System Programming (ISP)
To develop a good program for ISP function, the user has to understand the architecture of the
embedded flash.
The embedded flash consists of 16 pages. Each page contains 512 bytes.
Dealing with flash, the user must erase it in page unit before writing (programming) data into
it.
Erasing flash means setting the content of that flash to
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 has less performance, but it is
more flexible because it erases flash in page unit.
Unlike RAM’s real-time operation, to erase flash or to write (program) flash often takes longer
time to finish.
Furthermore, it is a quite complex timing procedure to erase/program flash. Fortunately, the
MPC82x52A 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.
There are several SFR designed to help the user implement the ISP functionality.
SFR:
IFD
(ISP Flash Data register)
Bit-7
Bit-6
Bit-5
Bit-4
Bit-3
Bit-2
Bit-1
Bit-0
Data to be written into flash, or data got from flash
IFD is the data port register for ISP/IAP operation. The data in IFD will be written into the desired
address in operating ISP write and it is the data window of readout in operating ISP read.
SFR:
IFADRH
(ISP Flash Address High byte)
Bit-7
Bit-6
Bit-5
Bit-4
Bit-3
Bit-2
Bit-1
Bit-0
Must be cleared to 000
ISP/IAP address High byte
IFADRH is the high byte address for all ISP/IAP operation.
Against in advertise effect, if one bit of IFADRH [7:5] is set, the ISP write function must fail.
SFR:
IFADRL
(ISP Flash Address Low byte)
Bit-7
Bit-6
Bit-5
Bit-4
Bit-3
Bit-2
Bit-1
Bit-0
ISP/IAP address Low byte
IFADRL is the low byte address for all ISP/IAP operation.
SFR:
IFMT
(ISP Flash-operating Mode Table)
Bit-7
-
Bit-6
-
Bit-5
-
Bit-4
-
Bit-3
-
Bit-2
-
Bit-1
Bit-0
Mode Selection
60
MPC82x52A Data Sheet
MEGAWIN