CHAPTER 19 FLASH MEMORY
User’s Manual U17446EJ3V1UD
288
(5) Flash address pointers H and L (FLAPH and FLAPL)
These registers are used to specify the start address of the flash memory when the memory is erased, written,
or verified in the self programming mode.
FLAPH and FLAPL consist of counters, and they are incremented until the values match with those of
FLAPHC and FLAPLC when the programming command is not executed. When the programming command
is executed, therefore, set the value again.
These registers are set with a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation makes these registers undefined.
Figure 19-16. Format of Flash Address Pointer H/L (FLAPH/FLAPL)
Address: FFA4H, FFA5H After reset: Undefined R/W
FLAPH (FFA5H)
FLAPL (FFA4H)
0 0 0
FLA
P12
FLA
P11
FLA
P10
FLA
P9
FLA
P8
FLA
P7
FLA
P6
FLA
P5
FLA
P4
FLA
P3
FLA
P2
FLA
P1
FLA
P0
Caution 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.
(6) Flash address pointer H compare register and flash address pointer L compare register (FLAPHC and
FLAPLC)
These registers are used to specify the address range in which the internal sequencer operates when the flash
memory is verified in the self programming mode.
Set FLAPHC to the same value as that of FLAPH. Set the last address of the range in which verification is to
be executed to FLAPLC.
These registers are set with a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears these registers to 00H.
Figure 19-17. Format of Flash Address Pointer H/L Compare Registers (FLAPHC/FLAPLC)
Address: FFA6H, FFA7H After reset: 00H R/W
FLAPHC (FFA7H)
FLAPLC (FFA6H)
0 0 0
FLAP
C12
FLAP
C11
FLAP
C10
FLAP
C9
FLAP
C8
FLAP
C7
FLAP
C6
FLAP
C5
FLAP
C4
FLAP
C3
FLAP
C2
FLAP
C1
FLAP
C0
Cautions 1. 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.
2. Set the number of the block subject to a block erase, verify, or blank check (same
value as FLAPH) to FLAPHC.
3. Clear FLAPLC to 00H when a block erase is performed, and FFH when a blank check is
performed.
<R>
<R>
Содержание 78K0S/KB1+
Страница 2: ...User s Manual U17446EJ3V1UD 2 MEMO ...