English
Language : 

TMP86FS28FG Datasheet, PDF (251/272 Pages) Toshiba Semiconductor – 8 Bit Microcontroller
TMP86FS28FG
18.9 Intel Hex Format (Binary)
1. After receiving the checksum of a data record, the device waits for the start mark (3AH “:”) of the next data
record. After receiving the checksum of a data record, the device ignores the data except 3AH transmitted
by the external controller.
2. After transmitting the checksum of end record, the external controller must transmit nothing, and wait for
the 2-byte receive data (upper and lower bytes of the checksum).
3. If a receiving error or Intel Hex format error occurs, the device enters the halt condition without returning
an error code to the external controller. The Intel Hex format error occurs in the following case:
When the record type is not 00H, 01H, or 02H
When a checksum error occurs
When the data length of an extended record (record type = 02H) is not 02H
When the device receives the data record after receiving an extended record (record type = 02H) with
extended address of 1000H or larger.
When the data length of the end record (record type = 01H) is not 00H
18.10Passwords
The consecutive eight or more-byte data in the flash memory area can be specified to the password.
TMP86FS28FG compares the data string specified to the password with the password string transmitted from the
external controller. The area in which passwords can be specified is located at addresses 1000H to FF9FH. The area
from FFA0H to FFFFH can not be specified as the passwords area.
If addresses from FFE0H through FFFFH are filled with “FFH”, the passwords are not compared because the
product is considered as a blank product. Even in this case, the password count storage addresses and password
comparison start address must be specified. Table 18-15 shows the password setting in the blank product and non-
blank product.
Table 18-15 Password Setting in the Blank Product and Non-Blank Product
Password
PNSA
(Password count storage address)
PCSA
(Password comparison start address)
N
(Password count)
Password string setting
Blank Product (Note 1)
1000H ≤ PNSA ≤ FF9FH
1000H ≤ PCSA ≤ FF9FH
*
Not required (Note 5)
Non-Blank Product
1000H ≤ PNSA ≤ FF9FH
1000H ≤ PCSA ≤ FFA0 - N
8≤N
Required (Note 2)
Note 1: When addresses from FFE0H through FFFFH are filled with “FFH”, the product is recognized as a blank product.
Note 2: The data including the same consecutive data (three or more bytes) can not be used as a password. (This causes a pass-
word error data. TMP86FS28FG transmits no data and enters the halt condition.)
Note 3: *: Don’t care.
Note 4: When the above condition is not met, a password error occurs. If a password error occurs, the device enters the halt con-
dition without returning the error code.
Note 5: In the flash memory writing mode, the blank product receives the Intel Hex format data immediately after receiving PCSA
without receiving password strings. In this case, the subsequent processing is performed correctly because the blank
product ignores the data except the start mark (3AH “:”) as the Intel Hex format data, even if the external controller trans-
mits the dummy password string. However, if the dummy password string contains “3AH”, it is detected as the start mark
erroneously. The microcontroller enters the halt mode. If this causes the problem, do not transmit the dummy password
strings.
Note 6: In the flash memory erasing mode, the external controller must not transmit the password string for the blank product.
Page 239