530
CHAPTER 25 ROM CORRECTION
25.4
ROM Correction Application
(1) Store the correction address and instruction after correction (patch program) to nonvolatile memory (such as
EEPROM
TM
) outside the microcontroller.
When two places should be corrected, store the branch destination judgment program as well. The branch
destination judgment program checks which one of the addresses set to correction address register 0, 1
(CORAD0 or CORAD1) generates the correction branch.
Figure 25-4. Storing Example to EEPROM (When One Place Is Corrected)
Figure 25-5. Connecting Example with EEPROM (Using 2-Wire Serial I/O Mode)
RA78K/0
EEPROM
Source program
00
10
0D
02
9B
02
10
00H
01H
02H
FFH
CSEG AT 1000H
ADD A, #2
BR !1002H
V
DD
V
DD
V
DD
PD78058F, 78058FY
EEPROM
SCK0
SB1
P32
SCL
SDA
CS
CE
µ
Содержание PD78056F
Страница 2: ...2 MEMO ...
Страница 14: ...14 MEMO ...
Страница 34: ...34 MEMO ...
Страница 154: ...154 MEMO ...
Страница 170: ...170 MEMO ...
Страница 238: ...238 MEMO ...
Страница 278: ...278 MEMO ...
Страница 432: ...432 MEMO ...
Страница 476: ...476 MEMO ...
Страница 548: ...548 MEMO ...
Страница 564: ...564 MEMO ...
Страница 580: ...580 MEMO ...
Страница 584: ...584 MEMO ...
Страница 592: ...592 MEMO ...