參數資料
型號: C05M68HC05M
廠商: Motorola, Inc.
英文描述: HCMOS Microcontroller Unit
中文描述: HCMOS微控制器
文件頁數: 94/130頁
文件大?。?/td> 1541K
代理商: C05M68HC05M
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描述
C08M68HC08M HCMOS Microcontroller Unit
C1-12 14 pin DIP, 5.0 Volt, HCMOS/TTL, Clock Oscillator
C10013SK Flat panel sensor High reliability, high sensitivity
C10082CA Mini-spectrometer TM series
C10082CAH Mini-spectrometer TM series High sensitivity type (integrated with back-thinned type CCD image sensor)
相關代理商/技術參數
參數描述
C05N 制造商:POWERBOX 制造商全稱:Powerbox 功能描述:1 WATTS 100-8KV SINGLE OUTPUT DC/DC INDUSTRIAL
C05P-110D 制造商:M.E.C. TIMERS 功能描述: 制造商:M.E.C. Timers 功能描述:
C05P-120A 制造商:M.E.C. TIMERS 功能描述: 制造商:M.E.C. Timers 功能描述:
C05P-12D 制造商:M.E.C. TIMERS 功能描述: 制造商:M.E.C. Timers 功能描述:
C05P-240A 制造商:M.E.C. TIMERS 功能描述: 制造商:M.E.C. Timers 功能描述: