English
Language : 

TMP86FS28DFG Datasheet, PDF (238/272 Pages) Toshiba Semiconductor – 8 Bit Microcontroller
18. Serial PROM Mode
18.6 Operation Mode
TMP86FS28DFG
18.6.1 Flash Memory Erasing Mode (Operating command: F0H)
Table 18-7 shows the flash memory erasing mode.
Table 18-7 Flash Memory Erasing Mode
Transfer Byte
1st byte
2nd byte
Transfer Data from the External
Controller to TMP86FS28DFG
Matching data (5AH)
-
Baud Rate
9600 bps
9600 bps
3rd byte
4th byte
Baud rate change data (Table 18-4)
-
9600 bps
9600 bps
5th byte
6th byte
Operation command data (F0H)
-
Modified baud rate
Modified baud rate
7th byte
8th byte
Password count storage address bit
15 to 08 (Note 4, 5)
Modified baud rate
Modified baud rate
9th byte
10th byte
Password count storage address bit
07 to 00 (Note 4, 5)
Modified baud rate
Modified baud rate
BOOT
ROM
11th byte
12th byte
13th byte
14th byte
Password comparison start address
bit 15 to 08 (Note 4, 5)
Modified baud rate
Modified baud rate
Password comparison start address
bit 07 to 00 (Note 4, 5)
Modified baud rate
Modified baud rate
15th byte
:
m’th byte
Password string (Note 4, 5)
-
Modified baud rate
Modified baud rate
n’th - 2 byte
n’th - 1 byte
Erase area specification (Note 2)
-
Modified baud rate
Modified baud rate
n’th byte
n’th + 1 byte
-
Modified baud rate
(Wait for the next operation command
Modified baud rate
data)
Transfer Data from TMP86FS28DFG to
the External Controller
- (Automatic baud rate adjustment)
OK: Echo back data (5AH)
Error: No data transmitted
-
OK: Echo back data
Error: A1H × 3, A3H × 3, 62H × 3 (Note 1)
-
OK: Echo back data (F0H)
Error: A1H × 3, A3H × 3, 63H × 3 (Note 1)
-
OK: Nothing transmitted
Error: Nothing transmitted
-
OK: Nothing transmitted
Error: Nothing transmitted
-
OK: Nothing transmitted
Error: Nothing transmitted
-
OK: Nothing transmitted
Error: Nothing transmitted)
-
OK: Nothing transmitted
Error: Nothing transmitted
-
OK: Checksum (Upper byte) (Note 3)
Error: Nothing transmitted
OK: Checksum (Lower byte) (Note 3)
Error: Nothing transmitted
-
Note 1: “xxH × 3” indicates that the device enters the halt condition after transmitting 3 bytes of xxh.
Note 2: Refer to " 18.13 Specifying the Erasure Area ".
Note 3: Refer to " 18.8 Checksum (SUM) ".
Note 4: Refer to " 18.10 Passwords ".
Note 5: Do not transmit the password string for a blank product.
Note 6: When a password error occurs, TMP86FS28DFG stops UART communication and enters the halt mode. Therefore, when
a password error occurs, initialize TMP86FS28DFG by the RESET pin and reactivate the serial PROM mode.
Note 7: If an error occurs during transfer of a password address or a password string, TMP86FS28DFG stops UART communica-
tion and enters the halt condition. Therefore, when a password error occurs, initialize TMP86FS28DFG by the RESET pin
and reactivate the serial PROM mode.
Description of the flash memory erasing mode
1. The 1st through 4th bytes of the transmitted and received data contain the same data as in the flash
memory writing mode.
Page 226