参数资料
型号: M68HC05M68H
厂商: Motorola, Inc.
英文描述: HCMOS Microcontroller Unit
中文描述: HCMOS微控制器
文件页数: 94/130页
文件大小: 1541K
代理商: M68HC05M68H
Mask Option Register (MOR)
Advance Information
MC68HC705P6A
Rev. 2.0
94
Mask Option Register (MOR)
MOTOROLA
11.4 MOR Programming
The contents of the MOR should be programmed in bootloader mode
using the hardware shown in
Figure 10-2
. In order to allow
programming, all the implemented bits in the MOR are essentially read-
write bits in bootloader mode as shown in
Figure 11-1
.
The programming of the MOR is the same as user EPROM.
1.
Set the ELAT bit in the EPROG register.
2.
Write the desired data to the desired MOR address.
3.
Set the EPGM bit in the EPROG.
4.
Wait for the programming time (t
EPGM
).
Clear the ELAT and EPGM bits in the EPROG.
5.
6.
Remove the programming voltage from the IRQ/V
PP
pin.
A sample routine to program a byte of EPROM is shown in
Table 11-2
.
Once the MOR bits have been programmed, the options are not loaded
into the MOR registers until the part is reset.
Table 11-2. MOR Programming Routine
001C
00FF
0023
1EFF
1F00
0000
EPROG
DATA2
DATA1
MOR2
MOR1
EPGM
EQU
EQU
EQU
EQU
EQU
EQU
$1C
$FF
#23
$1EFF
$1F00
$00
PROGRAMMING REG
SAMPLE MOR VALUES
MOPR ADDRESSES
EPGM BIT IN EPROG REG
00E0
ORG
$E0
00E0
00E2
00E4
00E6
00E9
00EB
00ED
00EF
A6 04
B7 1C
A6 FF
C7 1E FF
12 1C
AD 03
3F 1C
81
LDA
STA
LDA
STA
BSET EPGM,EPROG
BSR
DELAY
CLR
EPROG
RTS
#$04
EPROG
#DATA2
MOR2
SET ELAT BIT
IN EPGM REG AT $1C
DATA BYTE
WRITE IT TO MOR LOC
TURN ON PGM VOLTAGE
WAIT 4 ms MINIMUM
CLR EPGM REGISTER
相关PDF资料
PDF描述
M68HC11K 8-BIT MICROCONTROLLER
M68HC711CFD CONFIG REGISTER PROGRAMMING FOR EEPROM-BASED MHC MICROCONTROLLERS
M68HC711CFG CONFIG REGISTER PROGRAMMING FOR EEPROM-BASED MHC MICROCONTROLLERS
M68SDIL12 The MC68HC912DT128A microcontroller unit (MCU) is a 16-bit device composed of standard on-chip peripherals including a 16-bit central processing unit
M68ADP912DG128PV The MC68HC912DT128A microcontroller unit (MCU) is a 16-bit device composed of standard on-chip peripherals including a 16-bit central processing unit
相关代理商/技术参数
参数描述
M68HC08 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Microcontrollers
M68HC08M6 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:HCMOS Microcontroller Unit
M68HC08M68H 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:HCMOS Microcontroller Unit
M68HC11 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:CONFIG Register Programming for EEPROM-based M68HC11 Microcontrollers
M68HC11_03 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:8-channel, 8-bit analog-to-digital (A/D) converter