mpc89x515a Megawin Technology, mpc89x515a Datasheet - Page 11
![no-image](/images/no-image-200.jpg)
mpc89x515a
Manufacturer Part Number
mpc89x515a
Description
8-bit Micro-controller
Manufacturer
Megawin Technology
Datasheet
1.MPC89X515A.pdf
(41 pages)
Nonvolatile Registers:
Generally these two nonvolatile registers will be written via a popular NVM writer, say Hi-Lo
System All-11, Labtool-48 and Megawin-Provided MCU writer. Furthermore, the user can
change the NVM register OR1 by the ISP program, but OR0 can only be written via an off-line
popular NVM writer.
NVM register: OR0 (Option Register 0):
{ISPAS1, ISPAS0}: Used to identify the start address for ISP program
MOVCL: Used to determine if MOVC instruction will be disabled.
SB: Used to determine if the program code will be scrambled while it is dumped.
LOCK: Used to determine if the program code will be locked against the popular writer.
Please check file initial Configuration.pdf to get the default value of the OR0.
There are two Nonvolatile Registers named OR0 and OR1 individually. They are designed
to configure the MPC89x515A options.
{0, 0}: = The ISP space is from 0xEC00 to 0xFBFF (4K size).
{0, 1}: = The ISP space is from 0xF400 to 0xFBFF (2K size).
{1, 0}: = The ISP space is from 0xF800 to 0xFBFF (1K size)
{1, 1}: = No ISP space.
These two bits decide where the ISP program locates.
If the code is locked, all the data dumped from a popular will always show FFh.
MEGAWIN
Bit-7
-
0:= MOVC is conditionally disabled.
1:= MOVC is always available.
0:= Code dump from Writer is scrambled.
1:= Code dump from Writer is transparent.
0:= lock code.
1:= does not lock code
Bit-6
-
ISPAS1
Bit-5
MPC89x515A Data Sheet
ISPAS0
Bit-4
Bit-3
-
MOVCL
Bit-2
Bit-1
SB
LOCK
Bit-0
11