NEC 78K0S/KB1+ User Manual page 288

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0S/KB1+:
Table of Contents

Advertisement

(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.
Address: FFA4H, FFA5H
0
0
<R>
Caution Be sure to clear bits 5 to 7 of FLAPH and FLAPHC to 0 before executing the self
(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
0
0
<R>
Cautions 1. Be sure to clear bits 5 to 7 of FLAPH and FLAPHC to 0 before executing the self
288
CHAPTER 19 FLASH MEMORY
Figure 19-16. Format of Flash Address Pointer H/L (FLAPH/FLAPL)
After reset: Undefined
FLAPH (FFA5H)
0
FLA
FLA
FLA
P12
P11
P10
programming command. If the self programming command is executed with these bits
set to 1, the device may malfunction.
After reset: 00H
FLAPHC (FFA7H)
0
FLAP
FLAP
FLAP
FLAP
C12
C11
C10
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.
User's Manual U17446EJ3V1UD
R/W
FLA
FLA
FLA
FLA
FLA
P9
P8
P7
P6
P5
R/W
FLAP
FLAP
FLAP
FLAP
C9
C8
C7
C6
C5
FLAPL (FFA4H)
FLA
FLA
FLA
FLA
P4
P3
P2
P1
FLAPLC (FFA6H)
FLAP
FLAP
FLAP
FLAP
FLAP
C4
C3
C2
C1
FLA
P0
C0

Advertisement

Table of Contents
loading

Table of Contents