Embedded Flash
There is totally 63 K bytes flash embedded in the MPC89x58A.
The leading 32 K bytes flash memory is designed for storage of the user program, followed 31 K
bytes flash memory is shared with nonvolatile
data flash
and ISP program.
While the program counter of MPC89x58A is spanning over 7FFFh, 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 his ISP program and put it into the embedded flash that addressed from
EC00h, F400h, or F800h 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
MPC89x58A Data Sheet
MEGAWIN