
22.8.2
Flash memory write command (operation command: 0x30)
Table 22-7 shows the transfer formats of flash memory write commands.
Table 22-7 Transfer Formats of Flash Memory Write Commands
Transfer byte
Transfer data from the external controller to
TMP89FH46L
Baud rate
Transfer data from TMP89FH46L 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 (0x30)
-
Baud rate after adjustment
OK: Echo back data (0x30)
-
Error: 0xA1 × 3, 0xA3 × 3, 0x63 × 3 (note 1)
7th byte
8th byte
Password count storage address 23 to 16
Baud rate after adjustment
-
OK: No data transmitted
Error: No data transmitted
9th byte
10th byte
Password count storage address 15 to 08
Baud rate after adjustment
-
OK: No data transmitted
Error: No data transmitted
11th byte
12th byte
Password count storage address 07 to 00
Baud rate after adjustment
-
OK: No data transmitted
Error: No data transmitted
13th byte
14th byte
Password comparison start address 23 to 16
Baud rate after adjustment
-
OK: No data transmitted
Error: No data transmitted
15th byte
16th byte
Password comparison start address 15 to 08
Baud rate after adjustment
-
OK: No data transmitted
Error: No data transmitted
17th byte
18th byte
Password comparison start address 07 to 00
Baud rate after adjustment
-
OK: No data transmitted
Error: No data transmitted
19th byte
:
m-th byte
Password string (note)
-
Baud rate after adjustment
-
OK: No data transmitted
Error: No data transmitted
m-th+1 byte
:
n-th-3 byte
Intel Hex format (binary)
Baud rate after adjustment
-
n-th-2 byte
-
Baud rate after adjustment
OK: 0x55
Overwrite detect: 0xAA
n-th-1 byte
-
Baud rate after adjustment
OK: Checksum (high) (note 3)
Error: No data transmitted
n-th byte
-
Baud rate after adjustment
OK: Checksum (low) (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**. For further information, refer to
Note 3: If the area 0xFFE0 through 0xFFFF is all 0xFF, password authentication is not performed and, therefore, the password
string need not be transmitted. The password count storage address and password comparison start address, however,
TMP89FH46L
Page 357
RA003