
22.8.4
RAM loader command (operation command: 0x60)
Table 22-10 shows the transfer formats of the RAM loader command.
Table 22-10 Transfer Formats of the RAM Loader Command
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 (0x60)
-
Baud rate after adjustment
-
OK: Echo back data (0x60)
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
-
Baud rate after adjustment
-
OK: No data transmitted
Error: No data transmitted
m-th + XX byte
:
n-th - 2 byte
Intel Hex format (binary)
Baud rate after adjustment
-
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
RAM
-
The program jumps to the start address of RAM in which the first transferred data is written, and executes itself.
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,
must be specified, even for a blank product. If the password count storage address and/or password comparison start
address are/is incorrect, a password error occurs; the TMP89FM42 stops communication and goes into an idle state.
Therefore, if a password error occurs, initialize the TMP89FM42 by using the RESET pin, and restart the serial PROM
mode.
Note 4: After sending a password string, do not send the end record only. If the TMP89FM42 receives the end record after receiving
a password string, it may malfunction.
TMP89FM42
22. Serial PROM Mode
22.8 Operation Commands
Page 364
RA003