APPENDIX D LIST OF CAUTIONS
User’s Manual U17446EJ3V1UD
400
(18/19)
Chapter
Cl
assi
fi
cati
on
Function Details
of
Function
Cautions Page
Cautions in the case of setting the self programming mode, refer to 19.8.2
Cautions on self programming function.
p.284
Set the CPU clock beforehand so that it is 1 MHz or higher during self
programming.
p.284
Execute self programming after executing the NOP and HALT instructions
immediately after executing a specific sequence to set self programming
mode. At this time, the HALT instruction is automatically released after 10
μ
s
(MAX.) + 2 CPU clocks (f
CPU
).
p.284
If the clock of the oscillator or an external clock is selected as the system
clock, execute the NOP and HALT instructions immediately after executing a
specific sequence to set self programming mode, wait for 8
μ
s after releasing
the HALT status, and then execute self programming.
p.284
FLPMC: Flash
programming
mode control
register
Clear the value of the FLCMD register to 00H immediately before setting to
self programming mode and normal mode.
p.284
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)
between the points 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.285
PFS: Flash status
register
Check FPRERR using a 1-bit memory manipulation instruction.
p.285
FLAPH and
FLAPL: Flash
address pointers
H and L
Be sure to clear bits 5 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.288
Be sure to clear bits 5 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.288
Set the number of the block subject to a block erase, verify, or blank check
(same value as FLAPH) to FLAPHC.
p.288
FLAPHC and
FLAPLC: Flash
address pointer H
compare register
and flash address
pointer L
compare register
Clear FLAPLC to 00H when a block erase is performed, and FFH when a
blank check is performed.
p.288
pp.
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 nor written.
291,
292,
294, 295
Chapter 1
9
Soft
Flash
memory
Byte write
operation
If a write results in failure, erase the block once and write to it again.
p.303
Содержание 78K0S/KB1+
Страница 2: ...User s Manual U17446EJ3V1UD 2 MEMO ...