mpc89x51a Megawin Technology, mpc89x51a Datasheet - Page 11

no-image

mpc89x51a

Manufacturer Part Number
mpc89x51a
Description
8-bit Micro-controller
Manufacturer
Megawin Technology
Datasheet
Nonvolatile Registers:
There are two Nonvolatile Registers named OR0 and OR1 individually. They are designed to
configure the MPC89x51A options.
Generally these two nonvolatile registers will be written via a popular NVM writer, say Hi-Lo
System All-11, Leaper-48 and Megawin-Provided MCU writer. Furthermore, the user can
change the NVM register OR1 by the ISP program in a manner as same as writing the data
flash, 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.
{0, 0}:= The ISP space is from 0x2C00 to 0x3BFF (4K size).
{0, 1}:= The ISP space is from 0x3400 to 0x3BFF (2K size).
{1, 0}:= The ISP space is from 0x3800 to 0x3BFF (1K size)
{1, 1}:= No ISP space.
These two bits decide where the ISP program locates, and how the ISP program and the data flash
shares the 11K embedded flash.
If the code is locked, all the data dumped from a popular will always show FFh.
MEGAWIN
Bits-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
Bits-6
-
ISPAS1
Bits-5
ISPAS0
MPC89x51A Data Sheet
Bits-4
Bits-3
-
MOVCL
Bits-2
Bits-1
SB
LOCK
Bits-0
11

Related parts for mpc89x51a