APPENDIX D LIST OF CAUTIONS
User’s Manual U18172EJ2V0UD
321
(14/15)
Chapter
Cl
assi
fi
cati
on
Function Details
of
Function
Cautions Page
PFCMD: Flash
protect
command
register
Interrupt servicing cannot be executed in self-programming mode. Disable
interrupt servicing (by executing the DI instruction while MK0 and MK1 = FFH)
before executing the specific sequence that sets self-programming mode and
after executing the specific sequence that changes the mode to the normal mode.
p. 227
PFS: Flash
status register
Check FPRERR using a 1-bit memory manipulation instruction.
p. 227
FLAPH, FLAPL:
Flash address
pointers H and
L
Be sure to clear bits 4 to 7 of FLAPH and FLAPHC to 0 before executing the self
programming command. If the self programming command is executed with
these bits set to 1, the device may malfunction.
p. 230
Be sure to clear bits 4 to 7 of FLAPH and FLAPHC to 0 before executing the self
programming command. If the self programming command is executed with
these bits set to 1, the device may malfunction.
p. 230
Set the number of the block subject to a block erase, verify, or blank check (same
value as FLAPH) to FLAPHC.
p. 230
FLAPHC,
FLAPLC: Flash
address pointer
H/L compare
registers
Clear FLAPLC to 00H when a block erase is performed, and FFH when a blank
check is performed.
p. 230
pp. 232,
Shifting to self
programming
mode
Shifting to
normal mode
Be sure to perform the series of operations described above using the user
program at an address where data is not erased or written.
233, 235,
236
Chapter 16
Soft
Flash
memory
Byte write
If a write results in failure, erase the block once and write to it again.
p. 244
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. 268
Connecting
QB-MINI2 to
78K0S/KU1+
The constants described in the circuit connection example are reference values. If
you perform flash programming aiming at mass production, thoroughly evaluate
whether the specifications of the target device are satisfied.
p. 268
Chapter 17
Hard
On-chip
debug
function
For the case
where QB-
MINI2 is used
for debugging
and debugging
of INTP1 pin is
performed only
with real
machine
If debugging is performed with a real machine running, without using QB-MINI2,
write the user program using the QB-Programmer. Programs downloaded by the
debugger include the monitor program, and such a program malfunctions if it is
not controlled via QB-MINI2.
p. 270