Embedded Flash
There is totally 15 Kbytes flash embedded in the MPC89x52A.
The leading 8 Kbytes flash memory is designed for storage of the user program, followed 7 K
bytes flash memory is shared with nonvolatile
data flash
and ISP program.
While the program counter of MPC89x52A is spanning over 1FFFh, 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
MPC89x52A Data Sheet
MEGAWIN