English
Language : 

TMP86F807MG Datasheet, PDF (20/33 Pages) Toshiba Semiconductor – CMOS 8-BIT MICROCONTROLLER
TMP86F807
2.7 Flash Memory Writing Data Format
Flash memory area of TMP86F807 consists of 255 pages and one page size is 32 bytes.
Writing to flash memory is executed by page writing. Therefore, it is necessary to send 32 bytes
data (for one page) even though only a few bytes data are written. Figure 2.7.1 shows an
organization of flash memory area. When the controller sends the writing data to the device, be
sure to keep the format described below.
1. The address of data after receiving the flash memory writing command should be the first
address of page. For example, in case of page 2, the first address should be E040H.
2. If the last data’s address of data record is not end address of page, the address of the next data
record should be the address + 1 and the last data’s address must point to the last address of
this page. For example, if the last data’s address is E00FH (Page0), the address of the next data
record should be E010H (Page0) and the address of the last data should be E01FH (Page0).
3. The last data’s address of data record immediately before sending the end record should be the
last address of page. For example, in case of page 1, the last data’s address of data record
should be E03FH.
Note: Do not write only the vector area (FFF0H to FFFFH) when all data of flash memory are the
same data. If the vector area is only written, the next operation can not be executed because of
password error.
Address 0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
E000H F
E010H
Page 0
E
E020H F
Page 1
E030H
E
E040H F
Page 2
E050H
E
E060H F
E070H
Page 3
E
E080H F
Page 4
E090H
E
E0A0H F
Page 5
E0B0H
E
E0C0H F
FF70H
E
FF80H F
FF90H
Page 252
E
FFA0H F
Page 253
FFB0H
E
FFC0H F
Page 254
FFD0H
E
FFE0H F
Page 255
FFF0H
E
Note: “F” shows the first address of each page and “E” shows the last address of each page.
Figure 2.7.1 Organization of Flash Memory Area
86F807-20
2007-08-07