English
Language : 

TMP86FM25F Datasheet, PDF (34/53 Pages) Toshiba Semiconductor – CMOS 8-Bit Microcontroller
Under development
TMP86FM25
Description of FLASH memory writing mode
1. The receive data in the 1st byte is the matching data. When the boot program
starts in serial PROM mode, TMP86FM25 (Mentioned as “device” hereafter) waits
for the matching data (5AH) to receive. Upon receiving the matching data, it
automatically adjusts the UART’s initial baud rate to 9,600bps.
2. When the device has received the matching data, the device transmits the data
“5AH” as an echo back to the controller. If the device can not receive the matching
data, the device does not transmit the echo back data and waits for the matching
data again with changing baud rate. Therefore, the controller should send the
matching data continuously until the device transmits the echo back data. An
external controller should transmit a matching data repeatedly till the device
transmit an echo back data. The transmission number of times of matching data
varies by the frequency of device. For details, refer to Table 2.1.6.
3. The receive data in the 3rd byte is the baud rate modification data. The seven
kinds of baud rate modification data shown in Table 2.1.5 are available. Even if
baud rate changing is no need, be sure to send the initial baud rate data (28H:
9,600 bps).
4. When the 3rd byte data is one of the baud rate modification data corresponding to
the device's operating frequency, the device sends the echo back data which is the
same as received baud rate modification data. Then the baud rate is changed. If
the 3rd byte data does not correspond to the baud rate modification data, the
device stops UART function after sending 3 bytes of baud rate modification error
code: (62H). The changing of baud rate is executed after transmitting the echo
back data.
5. The receive data in the 5th byte is the command data (30H) to write the FLASH
memory.
6. When the 5th byte is one of the operation command data shown in Table 2.1.7, the
device sends the echo back data which is the same as received operation command
data (in this case, 30H). If the 5th byte data does not correspond to the operation
command data, the device stops UART function after sending 3 bytes of operation
command error code: (63H).
7. The 7th byte is used as an upper bit (Bit15 to bit8) of the password count storage
address. When the receiving is executed correctly (No error), the device does not
send any data. If the receiving error or password error occur, the device does not
send any data and stops UART function.
8. The 9th byte is used as a lower bit (Bit7 to bit0) of the password count storage
address. When the receiving is executed correctly (No error), the device does not
send any data. If the receiving error or password error occur, the device does not
send any data and stops UART function.
9. The 11th byte is used as an upper bit (Bit15 to bit8) of the password comparison
start address. When the receiving is executed correctly (No error), the device does
not send any data. If the receiving error or password error occur, the device does
not send any data and stops UART function.
10. The 13th byte is used as a lower bit (Bit7 to bit0) of the password comparison start
address. When the receiving is executed correctly (No error), the device does not
send any data. If the receiving error or password error occur, the device does not
send any data and stops UART function.
86FM25-33
2004-03-01