540
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 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)
V
DD
V
DD
V
DD
PD78058, 78058Y
EEPROM
SCK0
SB1
P32
SCL
SDA
CS
CE
µ
RA78K/0
EEPROM
Source program
00
10
0D
02
9B
02
10
00H
01H
02H
FFH
CSEG AT 1000H
ADD A, #2
BR !1002H
Содержание PD78052
Страница 2: ...2 MEMO ...
Страница 8: ...8 MEMO ...
Страница 16: ...16 MEMO ...
Страница 36: ...36 MEMO ...
Страница 158: ...158 MEMO ...
Страница 174: ...174 MEMO ...
Страница 240: ...240 MEMO ...
Страница 260: ...260 MEMO ...
Страница 340: ...340 MEMO ...
Страница 392: ...392 MEMO ...
Страница 438: ...438 MEMO ...
Страница 482: ...482 CHAPTER 20 REAL TIME OUTPUT PORT MEMO ...
Страница 510: ...510 MEMO ...
Страница 524: ...524 MEMO ...
Страница 560: ...560 MEMO ...
Страница 576: ...576 MEMO ...
Страница 598: ...598 MEMO ...
Страница 602: ...602 MEMO ...