
22.8.1
Flash memory erase command (0xF0)
Table 22-6 Flash Memory Erase Commands
Transfer byte
Transfer data from the external controller to
TMP89FM42
Baud rate
Transfer data from TMP89FM42 to the ex-
ternal controller
BOOT
ROM
1st byte
2nd byte
Matching data 1 (0x86 or 0x30)
-
Automatic adjustment
Baud rate after adjustment
- (Automatic baud rate adjustment)
OK: Echo back data (0x86 or 0x30)
Error: No data transmitted
3rd byte
4th byte
Matching data 2 (0x79 or 0xCF)
-
Baud rate after adjustment
-
OK: Echo back data (0x79 or 0xCF)
Error: No data transmitted
5th byte
6th byte
Operation command data (0xF0)
-
Baud rate after adjustment
-
OK: Echo back data (0xF0)
Error: 0xA1 × 3, 0xA3 × 3, 0x63 × 3 (note 1)
7th byte
8th byte
Password count storage address bit 23 to 16
Baud rate after adjustment
-
OK: No data transmitted
Error: No data transmitted
9th byte
10th byte
Password count storage address bit 15 to 08
Baud rate after adjustment
-
OK: No data transmitted
Error: No data transmitted
11th byte
12th byte
Password count storage address bit 07 to 00
Baud rate after adjustment
-
OK: No data transmitted
Error: No data transmitted
13th byte
14th byte
Password comparison start address bit 23 to 16
Baud rate after adjustment
-
OK: No data transmitted
Error: No data transmitted
15th byte
16th byte
Password comparison start address bit 15 to 08
Baud rate after adjustment
-
OK: No data transmitted
Error: No data transmitted
17th byte
18th byte
Password comparison start address bit 07 to 00
Baud rate after adjustment
-
OK: No data transmitted
Error: No data transmitted
19th byte
:
m-th byte
Password string
-
Baud rate after adjustment
-
OK: No data transmitted
Error: No data transmitted
n-th - 2 byte
Erase area specification
Baud rate after adjustment
-
n-th - 1 byte
-
Baud rate after adjustment
OK: Checksum (upper byte) (note 3)
Error: No data transmitted
n-th byte
-
Baud rate after adjustment
OK: Checksum (lower byte) (note 3)
Error: No data transmitted
n-th + 1 byte
(Wait for the next operation command data)
Baud rate after adjustment
-
Note 1: "0x** × 3" means that the device goes into an idle state after transmitting 3 bytes of 0x**.
Note 3: Do not transmit a password string if 0xFFFA of a flash memory is 0xFF, or blank product. (However, the password count
storage address and the password comparison start address must be transmitted.)
Note 4: If a value less than 0x20 is transmitted at the n-th - 2 byte (execution of Sector Erase) and if 0xFFFA of flash memory is
0xFF, the TMP89FM42 goes into an idle state.
Note 5: When a password error occurs, the TMP89FM42 stops communication and goes into an idle state. Therefore, when a
password error occurs, initialize the TMP89FM42 by using the RESET pin, and restart the serial PROM mode.
Note 6: If a communication error occurs during the transfer of a password address or a password string, the TMP89FM42 stops
communication and goes into an idle state. Therefore, when a password error occurs, initialize the TMP89FM42 by using
the RESET pin, and restart the serial PROM mode.
TMP89FM42
Page 357
RA003