Rom Correction Application; Storing Example To Eeprom (When One Place Is Corrected); Connecting Example With Eeprom (Using 2-Wire Serial I/O Mode) - NEC PD78076 User Manual

Pd78078 series; pd78078y series 8-bit single-chip microcontrollers
Table of Contents

Advertisement

26.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 26-4. Storing Example to EEPROM (when One Place is Corrected)
EEPROM
00
00H
10
01H
02H
0D
02
9B
02
10
FFH
Figure 26-5. Connecting Example with EEPROM (Using 2-Wire Serial I/O Mode)
PD78078, 78078Y Subseries
562
CHAPTER 26 ROM CORRECTION
RA78K/0
V
V
DD
DD
SCK0
SB1
P32
Source program
CSEG AT 1000H
ADD
A, #2
BR
!1002H
EEPROM
V
CE
SCL
SDA
CS
DD

Advertisement

Table of Contents
loading

Table of Contents