Flash Memory Erasure And Rewrite - NEC V850E/Dx3 Preliminary User's Manual

32-bit single-chip microcontroller
Table of Contents

Advertisement

Chapter 6
232
Downloaded from
Elcodis.com
electronic components distributor
The µPD70F3420 128 KB flash memory is made up of 32 blocks. Figure 6-3
shows the address assignment of the flash memory blocks.
Figure 6-5
Address assignment of µPD70F3420 flash memory blocks

6.1.2 Flash memory erasure and rewrite

The following functions can be carried out by use of the flash memory self-
programming library.
(1)
Flash memory erasure
According to it's block structure the flash memory can be erased in two
different modes.
• All-blocks batch erasure
Following areas can be erased all together:
– µPD70F3427, µPD70F3426, µPD70F3425: 0000 0000
– µPD70F3424, µPD70F3423: 0000 0000
– µPD70F3422: 0000 0000
– µPD70F3421: 0000 0000
– µPD70F3420: 0000 0000
• Block erasure
Each 4 KB flash memory block can be erased separately.
(2)
Flash memory rewrite
Once a complete block has been erased it can be rewritten in units of 8 byte.
Each unit can be rewritten only once after erasure of the complete block.
Preliminary User's Manual U17566EE1V2UM00
0002 0000
H
Block 31 (4 KB)
0001 F000
H
Block 30 (4 KB)
0001 E000
H
0000 2000
H
Block 1 (4 KB)
0000 1000
H
Block 0 (4 KB)
0000 0000
H
to 0007 FFFF
H
to 0005 FFFF
H
H
to 0003 FFFF
H
H
to 0001 FFFF
H
H
Flash Memory
to 000F FFFF
H
H
H

Advertisement

Table of Contents
loading

Table of Contents