APPENDIX D LIST OF CAUTIONS
User’s Manual U16898EJ3V0UD
401
(15/17)
Chapter
Classification
Function Details
of
Function
Cautions Page
After the security setting of the batch erase is set, erasure cannot be performed
for the device. In addition, even if a write command is executed, data different
from that which has already been written to the flash memory cannot be written
because the erase command is disabled.
p. 272
Security
settings
The security setting is valid when the programming mode is set next time.
p. 272
Self programming processing must be included in the program before performing
self writing.
p. 273
No instructions can be executed while a self programming command is being
executed. Therefore, clear and restart the watchdog timer counter in advance so
that the watchdog timer does not overflow during self programming. Refer to
Table 18-11 for the time taken for the execution of self programming.
p. 276
Interrupts that occur during self programming can be acknowledged after self
programming mode ends. To avoid this operation, disable interrupt servicing (by
setting MK0 and MK1 to FFH, and executing the DI instruction) before a mode is
shifted from the normal mode to the self programming mode with a specific
sequence.
p. 276
RAM is not used while a self programming command is being executed.
p. 276
If the supply voltage drops or the reset signal is input while the flash memory is
being written or erased, writing/erasing is not guaranteed.
p. 276
The value of the blank data set during block erasure is FFH.
p. 276
When the oscillator or the external clock is selected as the main clock, a wait time
of 16
µ
s is required starting from the setting of the self programming mode to the
execution of the HALT instruction.
p. 276
The state of the pins in self programming mode is the same as that in HALT
mode.
p. 276
Since the security function set via on-board/off-board programming is disabled in
self programming mode, the self programming command can be executed
regardless of the security function setting. To disable write or erase processing
during self programming, set the protect byte.
p. 276
Self
programming
function
Be sure to clear bits 4 to 7 of flash address pointer H (FLAPH) and flash address
pointer H compare register (FLAPHC) to 0 before executing the self programming
command. If the value of these bits is 1 when executing the self programming
command.
p. 276
Cautions in the case of setting the self programming mode, refer to 18.8.2
Cautions on self programming function.
p. 277
FLPMC: Flash
programming
mode control
register
When the oscillator or the external clock is selected as the main clock, a wait time
of 16
µ
s is required from setting FLSPM to 1 to execution of the HALT instruction.
p. 277
PFCMD: Flash
protect
command
register
Disable interrupt servicing (by setting MK0 and MK1 to FFH and executing the DI
instruction) while the specific sequence is under execution.
p. 277
Chapter 18
Soft
Flash
memory
FLAPH, FLAPL:
Flash address
pointers H and
L
Be sure to clear bits 4 to 7 of flash address pointer H (FLAPH) and flash address
pointer H compare register (FLAPHC) to 0 before executing the self programming
command. If the value of these bits is 1 when executing the self programming
command.
p. 281