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

MPC82L54AS2 参数 Datasheet PDF下载

MPC82L54AS2图片预览
型号: MPC82L54AS2
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-bit micro-controller]
分类和应用: 微控制器
文件页数/大小: 74 页 / 1587 K
品牌: MEGAWIN [ MEGAWIN TECHNOLOGY CO., LTD ]
 浏览型号MPC82L54AS2的Datasheet PDF文件第59页浏览型号MPC82L54AS2的Datasheet PDF文件第60页浏览型号MPC82L54AS2的Datasheet PDF文件第61页浏览型号MPC82L54AS2的Datasheet PDF文件第62页浏览型号MPC82L54AS2的Datasheet PDF文件第64页浏览型号MPC82L54AS2的Datasheet PDF文件第65页浏览型号MPC82L54AS2的Datasheet PDF文件第66页浏览型号MPC82L54AS2的Datasheet PDF文件第67页  
Switching from ISP program to AP program  
The device permits the user normally start running own 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 x01xxxxxB  
/* set SWBS=0 to boot from AP entrance.  
set SWRST=1 to trigger software reset*/  
which disables flash-writing authority, set SWBS 0, and trigger a software reset. After that, the  
system will be reset (not powered-up), and the system will refer to SWBS so to startup from  
AP program entrance. For power-up procedure, the HWBS will be referred to decide the  
program entrance, but for software reset, SWBS will be referred to.  
Switch to the ISP program from AP program  
The device also permits the user program switches directly to the ISP program. Just program  
an instruction in the AP program as  
ISPCR x11xxxxxB  
/* set SWBS=1 to boot from ISP entrance.  
set SWRST=1 to trigger software reset*/  
which sets SWBS 1 to direct the device boot from AP program, and trigger a software reset.  
After that, the system will be reset (not powered-up), and the system will refer to SWBS so to  
startup from ISP program entrance.  
In-Application Program (IAP)  
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 restore data in data flash memory. After  
shutting down and rebooting the MCU, user still can get the original value which previously  
had stored in.  
The user can program the data flash according to the same way as ISP program, and gets  
deeper understanding related to SFR IFD, IFADRL, IFADRH, IFMT, SCMD, and ISPCR.  
The data flash can be programmed by the AP program as well as the ISP program.  
The ISP program may program the AP memory and data flash. Whereas the AP program may  
program the data flash but not the ISP memory. If the AP program desires to change the ISP  
memory associated with specific address space, the hardware will ignore it.  
MEGAWIN  
MPC82x54A Data Sheet  
63  
 
 复制成功!