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
Summary of Contents for PD78052
Page 2: ...2 MEMO ...
Page 8: ...8 MEMO ...
Page 16: ...16 MEMO ...
Page 36: ...36 MEMO ...
Page 158: ...158 MEMO ...
Page 174: ...174 MEMO ...
Page 240: ...240 MEMO ...
Page 260: ...260 MEMO ...
Page 340: ...340 MEMO ...
Page 392: ...392 MEMO ...
Page 438: ...438 MEMO ...
Page 482: ...482 CHAPTER 20 REAL TIME OUTPUT PORT MEMO ...
Page 510: ...510 MEMO ...
Page 524: ...524 MEMO ...
Page 560: ...560 MEMO ...
Page 576: ...576 MEMO ...
Page 598: ...598 MEMO ...
Page 602: ...602 MEMO ...