English
Language : 

TMP86FP24 Datasheet, PDF (197/217 Pages) Toshiba Semiconductor – 8 Bit Microcontroller
TMP86FP24
2.18.7 FLASH Memory Writing Data Format
FLASH area of TMP86FP24 consists of 384 pages and one page size is 128 bytes.
Writing to FLASH is executed by page writing. Therefore, it is necessary to send 128
bytes data (for one page) even though only a few bytes data are written. Figure 2.18.5
shows an organization of FLASH 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 1, the first address should be
4080H.
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. For example, if the last data’s address is
406FH (page 0), the address of the next data record should be 4070H (page 0).
Example:
:10406000606162636465666768696A6B6C6D6E6FD8 ; 4060H to 406FH data
:10407000707172737475767778797A7B7C7D7E7FC8 ; 4070H to 407FH data
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 0, the last data’s
address of data record should be 407FH.
Example:
:10407000707172737475767778797A7B7C7D7E7FC8 ; 4070H to 407FH data
:00000001FF
; End record
Note: Do not write only the addresses from FFE0H to FFFFH when all data of FLASH
memory are the same data. If the these area are only written, the next operation can
not be executed because of password error.
86FP24-195
2007-08-24