TMP86FS27
2.6.1 Flash Memory Writing Mode (Operation command: 30H)
Table 2.6.1 shows flash memory writing mode process.
Table 2.6.1 Flash Memory Writing Mode Process
Number of
Bytes
Transferred
1st byte
2nd byte
3rd byte
4th byte
5th byte
6th byte
BOOT
ROM
7th byte
8th byte
9th byte
10th byte
11th byte
12th byte
13th byte
14th byte
15th byte
:
m'th byte
m'th + 1 byte
:
n'th − 2 byte
n'th − 1 byte
n'th byte
n'th + 1 byte
Transfer Data from
External Controller to
TMP86FS27
Matching data (5AH)
−
Baud rate modification data
(See Table 2.4.1)
−
Baud Rate
9600 bps
9600 bps
9600 bps
9600 bps
Operation command data (30H)
−
Changed new baud rate
Changed new baud rate
Address 15 to 08 in which to
store Password count (Note 4)
Address 07 to 00 in which to
store Password count (Note 4)
Address 15 to 08 in which to
start Password comparison
(Note 4)
Address 07 to 00 in which to
start Password comparison
(Note 4)
Password string (Note 5)
−
Extended Intel format (binary)
(Note 2, 6)
−
−
(Wait for the next operation)
(Command data)
Changed new baud rate
Changed new baud rate
Changed new baud rate
Changed new baud rate
Changed new baud rate
Changed new baud rate
Changed new baud rate
Changed new baud rate
Changed new baud rate
Changed new baud rate
Changed new baud rate
Changed new baud rate
Changed new baud rate
Changed new baud rate
Transfer Data from
TMP86FS2786FS27 to
External Controller
− (Baud rate auto set)
OK: Echo back data (5AH)
Error: Nothing transmitted
−
OK: Echo back data
Error: A1H × 3, A3H × 3, 62H × 3
(Note 1)
−
OK: Echo back data (30H)
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: SUM (High) (Note 3)
Error: Nothing transmitted
OK: SUM (Low) (Note 3)
Error: Nothing transmitted
−
Note 1: “xxH × 3” denotes that operation stops after sending 3 bytes of xxH. For details, refer to 2.8
“Error Code”.
Note 2: Refer to 2.10 “Intel Hex Format (Binary)”.
Note 3: Refer to 2.9 “Checksum (SUM)”.
Note 4: Refer to 2.11 “Passwords”.
Note 5: If all data of vector area are “00H” or “FFH”, the passwords comparison is not executed
because the device is considered as blank product. However, it is necessary to specify the
password count storage addresses and the password comparison start address even though
it is a blank product. If a password error occurs, the UART function of TMP86FS27 stops
without returning error code to the controller. Therefore, when a password error occurs, the
TMP86FS27 should be reset by RESET pin input.
Note 6: The time between data records needs over 1 ms.
86FS27-13
2007-08-07