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

MPC89X52AE 参数 Datasheet PDF下载

MPC89X52AE图片预览
型号: MPC89X52AE
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-bit micro-controller]
分类和应用: 微控制器
文件页数/大小: 38 页 / 444 K
品牌: MEGAWIN [ MEGAWIN TECHNOLOGY CO., LTD ]
 浏览型号MPC89X52AE的Datasheet PDF文件第26页浏览型号MPC89X52AE的Datasheet PDF文件第27页浏览型号MPC89X52AE的Datasheet PDF文件第28页浏览型号MPC89X52AE的Datasheet PDF文件第29页浏览型号MPC89X52AE的Datasheet PDF文件第31页浏览型号MPC89X52AE的Datasheet PDF文件第32页浏览型号MPC89X52AE的Datasheet PDF文件第33页浏览型号MPC89X52AE的Datasheet PDF文件第34页  
IFMT
xxxxx010
b
ISPCR
100xx010
b
IFADRH
(Address high byte)
IFADRL
(Address low byte)
IFD
(byte date to be written into flash)
SCMD
46h
SCMD
B9h
(CPU progressing will be hold here)
(CPU continues)
/* choice byte-programming command */
/* set ISPEN=1 to enable flash change.
set WAIT=010, 60 MC; assumed 10M X’s*/
/* specify the address to be programmed */
/* prepare data source */
/* trig ISP activity */
Program a byte into flash
IFMT
xxxxx001
b
ISPCR
100xx010
b
/* choice byte-read command */
/* set ISPEN=1 to enable flash change.
set WAIT=010, 11 MC; assumed 10M X’s*/
/* specify the address to be read */
IFADRH
(Address high byte)
IFADRL
(Address low byte)
SCMD
46h
/* trig ISP activity */
SCMD
B9h
(CPU progressing will be hold here)
(CPU continues and currently
IFD
contain the desired data byte )
Read a byte from flash
Booting Program Entrance
The MPC89x52A boots according to the following rule.
If
(
HWBS
== 0 )
&&
( {
ISPAS1, ISPAS0}
{
1, 1
})
System will boot from ISP program
else
System will boot from normal AP program
Above rule is adaptive only for power-up procedure, while not software reset.
Switching from ISP program to AP program
The device permits the user normally start running the AP program as soon as the ISP program
has finished updating the flash content. Just program an instruction at the tail of ISP program as
ISPCR
001xxxxx
b
30
MPC89x52A Data Sheet
MEGAWIN