
Page 203
TMP86FS64FG
20.6.2 Flash Memory Writing Mode (Operation command: 30H)
Table 20-8 shows flash memory writing mode process.
Note 1: “xxH
× 3” indicates that the device enters the halt condition after sending 3 bytes of xxH. For details, refer to
" 20.7 ErrorNote 5: If addresses from FFE0H to FFFFH are filled with “FFH”, the passwords are not compared because the device is consid-
ered as a blank product. Transmitting a password string is not required. Even in the case of a blank product , it is required
to specify the password count storage address and the password comparison start address. Transmit these data from the
external controller. If a password error occurs due to incorrect password count storage address or password comparison
start address, TMP86FS64FG stops UART communication and enters the halt condition. Therefore, when a password
error occurs, initialize TMP86FS64FG by the RESET pin and reactivate the serial ROM mode.
Note 6: If the read protection is enabled or a password error occurs, TMP86FS64FG stops UART communication and enters the
halt confition. In this case, initialize TMP86FS64FG by the RESET pin and reactivate the serial ROM mode.
Note 7: If an error occurs during the reception of a password address or a password string, TMP86FS64FG stops UART commu-
nication and enters the halt condition. In this case, initialize TMP86FS64FG by the RESET pin and reactivate the serial
PROM mode.
Table 20-8 Flash Memory Writing Mode Process
Transfer Byte
Transfer Data from External Controller
to TMP86FS64FG
Baud Rate
Transfer Data from TMP86FS64FG to
External Controller
BOOT
ROM
1st byte
2nd byte
Matching data (5Ah)
-
9600 bps
- (Automatic baud rate adjustment)
OK: Echo back data (5AH)
Error: Nothing transmitted
3rd byte
4th byte
Baud rate modification data
-
9600 bps
-
OK: Echo back data
Error: A1H
× 3, A3H × 3, 62H × 3 (Note 1)
5th byte
6th byte
Operation command data (30H)
-
Modified baud rate
-
OK: Echo back data (30H)
Error: A1H
× 3, A3H × 3, 63H × 3 (Note 1)
7th byte
8th byte
Password count storage address bit
15 to 08 (Note 4)
Modified baud rate
-
OK: Nothing transmitted
Error: Nothing transmitted
9th byte
10th byte
Password count storage address bit
07 to 00 (Note 4)
Modified baud rate
-
OK: Nothing transmitted
Error: Nothing transmitted
11th byte
12th byte
Password comparison start address
bit 15 to 08 (Note 4)
Modified baud rate
-
OK: Nothing transmitted
Error: Nothing transmitted
13th byte
14th byte
Password comparison start address
bit 07 to 00 (Note 4)
Modified baud rate
-
OK: Nothing transmitted
Error: Nothing transmitted)
15th byte
:
m’th byte
Password string (Note 5)
-
Modified baud rate
-
OK: Nothing transmitted
Error: Nothing transmitted
m’th + 1 byte
:
n’th - 2 byte
Intel Hex format (binary)
(Note 2)
Modified baud rate
-
n’th - 1 byte
-
Modified baud rate
OK: SUM (Upper byte) (Note 3)
Error: Nothing transmitted
n’th byte
-
Modified baud rate
OK: SUM (Lower byte) (Note 3)
Error: Nothing transmitted
n’th + 1 byte
(Wait state for the next operation com-
mand data)
Modified baud rate
-