mpc89x515a Megawin Technology, mpc89x515a Datasheet - Page 30

no-image

mpc89x515a

Manufacturer Part Number
mpc89x515a
Description
8-bit Micro-controller
Manufacturer
Megawin Technology
Datasheet
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 longer
time to finish.
Furthermore, it is a quite complex timing procedure to erase/program flash. Fortunately, the
MPC89x515A 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 OR1.
There are several SFR designed to help the user implement the ISP functionality.
SFR: IFD (ISP Flash Data register):
SFR: IFADRH (ISP Flash Address High):
SFR: IFADRL (ISP Flash Address Low):
SFR: IFMT (ISP Flash Mode Table):
IFD is the data port register for ISP 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.
IFADRH is the high-byte address port for all ISP modes.
IFADRL is the low-byte address port for all ISP modes.
30
Bit-7
Bit-7
Bit-7
Bit-7
Mode Selection
1
0
0
0
0
1
1
1
0
0
1
1
0
1
Bit-6
Bit-6
Bit-6
Bit-6
(Data to be written into flash, or data got from flash)
(High byte of the address pointing to flash memory)
(Low byte of the address pointing to flash memory)
0
1
0
1
1
0
1
reserved
Bit-5
Bit-5
Bit-5
Bit-5
Standby
AP-memory read
AP-memory/Data-flash program
AP-memory/Data-flash page erase
OR1 memory erase (IFADRL[0]=1).
OR1 memory read ( IFADRL[0] =1)
OR1 memory program ( IFADRL[0] = 1)
MPC89x515A Data Sheet
Bit-4
Bit-4
Bit-4
Bit-4
Bit-3
Bit-3
Bit-3
Bit-3
To Operate
Bit-2
Bit-2
Bit-2
Bit-2
Mode Selection
Bit-1
Bit-1
Bit-1
Bit-1
Bit-0
Bit-0
Bit-0
Bit-0
MEGAWIN

Related parts for mpc89x515a