
APPENDIX B LIST OF CAUTIONS
User’s Manual U17894EJ9V0UD
928
(29/35)
Chapter
Cl
assi
fi
cati
on
Function
Details of
Function
Cautions
Page
Hard
The self-programming function cannot be used when the CPU operates with the
subsystem clock.
p.731
In the self-programming mode, call the self-programming start library (FlashStart).
p.731
To prohibit an interrupt during self-programming, in the same way as in the normal
operation mode, execute the self-programming library in the state where the IE flag
is cleared (0) by the DI instruction.
To enable an interrupt, clear (0) the interrupt mask flag to accept in the state where
the IE flag is set (1) by the EI instruction, and then execute the self-programming
library.
p.731
The self-programming function is disabled in the low consumption current mode. For
details of the low consumption current mode, see CHAPTER 23 REGULATOR.
p.731
Flash memory
programming by
self-
programming
Disable DMA operation (DENn = 0) during the execution of self programming library
functions.
p.731
Chapter
2
5
Soft
Flash
memory
Flash shield
window function
If the rewrite-prohibited area of the boot cluster 0 overlaps with the flash shield
window range, prohibition to rewrite the boot cluster 0 takes priority.
p.735
The 78K0R/KG3 has an on-chip debug function, which is provided for development
and evaluation. Do not use the on-chip debug function in products designated for
mass production, because the guaranteed number of rewritable times of the flash
memory may be exceeded when this function is used, and product reliability
therefore cannot be guaranteed.
NEC Electronics is not liable for problems
occurring when the on-chip debug function is used.
p.736
Chapter
2
6
Hard
On-chip
debug
function
Connecting QB-
MINI2 to
78K0R/KG3
When communicating in 2-line mode, a clock with a frequency of half that of the CPU
clock frequency is output from the TOOL1 pin. A resistor or ferrite bead can be used
as a countermeasure against fluctuation of the power supply caused by that clock.
p.736
Addition
The value read from the BCDADJ register varies depending on the value of the A
register when it is read and those of the CY and AC flags. Therefore, execute the
instruction <3> after the instruction <2> instead of executing any other instructions.
To perform BCD correction in the interrupt enabled state, saving and restoring the A
register is required within the interrupt function.
PSW (CY flag and AC flag) is
restored by the RETI instruction.
p.740
Chapter
2
7
Soft
BCD
correction
circuit
Subtraction
The value read from the BCDADJ register varies depending on the value of the A
register when it is read and those of the CY and AC flags. Therefore, execute the
instruction <3> after the instruction <2> instead of executing any other instructions.
To perform BCD correction in the interrupt enabled state, saving and restoring the A
register is required within the interrupt function.
PSW (CY flag and AC flag) is
restored by the RETI instruction.
p.741
Chapter
2
8
Soft
Instruction
set
PREFIX
instruction
Set the ES register value with MOV ES, A, etc., before executing the PREFIX
instruction.
p.745
Chapter
2
9
Hard
Electrical
specifications
(standard
products)
The 78K0R/KG3 has an on-chip debug function, which is provided for development
and evaluation. Do not use the on-chip debug function in products designated for
mass production, because the guaranteed number of rewritable times of the flash
memory may be exceeded when this function is used, and product reliability
therefore cannot be guaranteed.
NEC Electronics is not liable for problems
occurring when the on-chip debug function is used.
p.763