Embedded Flash
There is totally 15 K bytes flash embedded in the MPC89x51A.
The leading 4 K bytes flash memory is designed for storage of the user program, followed 11 K
bytes flash memory is shared with nonvolatile
data flash
and ISP program.
While the program counter of MPC89x51A is spanning over 0FFFh, the device will fetch its
program code from the external memory at once ignoring the
/EA
pin status. In that case, it will
never fetch the program code from the following embedded flash.
The user can develop the ISP program and put it into the embedded flash that addressed from
2C00h, 3400h, or 3800h by configuring
OR0[5:4].
Excluding the ISP program, the remained flash
spaces can be taken as
data flash
which can be read, even written by the application program or
the ISP program from the user.
12
MPC89x51A Data Sheet
MEGAWIN