English
Language : 

TMP86FH46NG Datasheet, PDF (11/32 Pages) Toshiba Semiconductor – CMOS 8-BIT MICROCONTROLLER
TMP86FH46
2.6 Operation Mode
There are four operating modes in serial PROM mode: Flash memory writing mode, RAM loader
mode, flash memory SUM output mode and product discrimination code output mode. For details
about these modes, refer to (1) Flash memory writing mode through (4) Product discrimination code
output mode.
(1) Flash memory writing mode
The data are written to the specified flash memory addresses. The controller should send the
write data in the Intel Hex format (Binary). For details of writing data format, refer to 2.7
“Flash Memory Writing Data Format”.
If no errors are encountered till the end record, the SUM of 16 Kbytes of flash memory is
calculated and the result is returned to the controller.
To execute the flash memory writing mode, the TMP86FH46 checks the passwords except a
blank product. If the passwords did not match, the program is not executed.
(2) RAM loader mode
The RAM loader transfers the data into the internal RAM that has been sent from the
controller in Intel Hex format. When the transfer has terminated normally, the RAM loader
calculates the SUM and sends the result to the controller before it starts executing the user
program. After sending of SUM, the program jumps to the start address of RAM in which the
first transferred data has been written. This RAM loader function provides the user's own way
to control on-board programming.
To execute the RAM loader mode, the TMP86FH46 checks the passwords except a blank
product. If the passwords did not match, the program is not executed.
(3) Flash memory SUM output mode
The SUM of 16 Kbytes of flash memory is calculated and the result is returned to the
controller.
The BOOT ROM does not support the reading function of the flash memory. Instead, it has
this SUM command to use. By reading the SUM, it is possible to manage Revisions of
application programs.
(4) Product discrimination code output mode
The product discrimination code is output as a 13-byte data, that includes the start address
and the end address of ROM. (In case of TMP86FH46, the start address is C000H and the end
address is FFFFH.) Therefore, the controller can recognize the device information by using this
function.
86FH46-11
2007-08-07