Renesas PROM Programming Adapter PCA7408 Uživatelský manuál Strana 53

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 112
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 52
M37221M4H/M6H/M8H/MAH–XXXSP/FP M37221EASP/FP
Rev.1.00 Oct 01, 2002 page 53 of 110
REJ03B0134-0100Z
Fig. 8.10.2 ROM Correction Enable Register
Fig. 8.10.1 ROM Correction Address Registers
8.10 ROM CORRECTION FUNCTION
This can correct program data in the ROM. Up to 2 addresses can be
corrected ; a program for correction is stored in the ROM correction
memory in the RAM as the top address. There are 2 vectors for ROM
correction :
Vector 1 : address 02C016
Vector 2 : address 02E016
Set the address of the ROM data to be corrected into the ROM cor-
rection address register. When the value of the counter matches the
ROM data address in the top address of the ROM correction vector,
the main program branches to the correction program stored in the
ROM memory. To return from the correction program to the main
program, the op code and operand of the JMP instruction (total of 3
bytes) are necessary at the end of the correction program. The ROM
correction function is controlled by the ROM correction enable regis-
ter.
Notes 1: Specify the first address (op code address) of each instruction as the
ROM correction address.
2: Use the JMP instruction (total of 3 bytes) to return from the correction
program to the main program.
3: Do not set the same ROM correction address to both vectors 1 and
2.
b
7
b
6
b
5
b
4
b
3
b
2
b
1
b
0
R
O
M
c
o
r
r
e
c
t
i
o
n
e
n
a
b
l
e
r
e
g
i
s
t
e
r
(
R
C
R
)
[
A
d
d
r
e
s
s
0
2
1
B
1
6
]
BAfter reset
R
O
M
C
o
r
r
e
c
t
i
o
n
E
n
a
b
l
e
R
e
g
i
s
t
e
r
0
V
ector 1 ena
bl
e
bi
t
(RCR
0
)
N
a
m
eunctions
0:
Di
sa
bl
e
d
1: Enabled
1
V
e
c
t
o
r
2
e
n
a
b
l
e
b
i
t
(
R
CR
1
)
0:
Di
sa
bl
e
d
1: Enabled
4
t
o
7
N
o
t
h
i
n
g
i
s
a
s
s
i
g
n
e
d
.
T
h
e
s
e
b
i
t
s
a
r
e
w
r
i
t
e
d
i
s
a
b
l
e
b
i
t
s
.
W
h
e
n
t
h
e
s
e
b
i
t
s
a
r
e
r
e
a
d
o
u
t
,
t
h
e
v
a
l
u
e
s
a
r
e
0
.
0
0
0
00
2
,
3
F
i
x
t
h
e
s
e
b
i
t
s
t
o
0
.
0
RW
RW
RW
R—
RW
F
0
2
1
71
6R
O
M
c
o
r
r
e
c
t
i
o
n
a
d
d
r
e
s
s
1
(
h
i
g
h
-
o
r
d
e
r
)
0
2
1
8
1
6R
O
M
c
o
r
r
e
c
t
i
o
n
a
d
d
r
e
s
s
1
(
l
o
w
-
o
r
d
e
r
)
0
2
1
9
1
6R
O
M
c
o
r
r
e
c
t
i
o
n
a
d
d
r
e
s
s
2
(
h
i
g
h
-
o
r
d
e
r
)
0
2
1
A
1
6R
O
M
c
o
r
r
e
c
t
i
o
n
a
d
d
r
e
s
s
2
(
l
o
w
-
o
r
d
e
r
)
Zobrazit stránku 52
1 2 ... 48 49 50 51 52 53 54 55 56 57 58 ... 111 112

Komentáře k této Příručce

Žádné komentáře