tmp89fm82t TOSHIBA Semiconductor CORPORATION, tmp89fm82t Datasheet - Page 399

no-image

tmp89fm82t

Manufacturer Part Number
tmp89fm82t
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
RA000
Table 22-5 Operation Command in Serial PROM Mode
Command data
subsequent sections.
0x86 or 0x30
Each command is outlined below. For detailed information on how each command works, refer to 22.8.1 and
0xC0
0xC3
0xD0
0xFA
0xF0
0x30
0x40
0x60
0x90
1. Flash memory erase command
2. Flash memory write command
3. Flash memory read command
4. RAM loader command
units) can be used to erase the data in flash memory. Data in the erased area is 0xFF. If the security program
is enabled or if the option code EPFC_OP is 0xFF, the flash erase command of Sector Erase cannot be
executed.
the data in flash memory, the TMP89FM82T performs password authentication except where a product is a
blank product or EPFC_OP is 0xFF. If a password is not authenticated, the flash memory erase command is
not executed.
controller so that it transmits data to write as binary data in the Intel Hex format. If errors do not occur until
the end record is reached, the TMP89FM82T calculates checksums in the entire flash memory area (0x800
through 0xFFFF), and returns the calculation results. If the security program is enabled, the flash memory
write command cannot be executed. In this case, execute Chip Erase beforehand by using the flash memory
erase command. Before executing the flash memory write command, the TMP89FM82T performs password
authentication except where a product is a blank product. If a password is not authenticated, the flash memory
write command is not executed.
controller so that it transmits the address in memory where a read starts, as well as the number of bytes. After
outputting the number of data equal to the number of bytes, the TMP89FM82T calculates the checksums of
the output data, and returns the calculation results. If the security program is enabled, the flash memory read
command cannot be executed. In this case, execute Chip Erase beforehand by using the flash memory erase
command. Before executing the flash memory read command, the TMP89FM82T performs password au-
thentication except where a product is blank. If a password is not authenticated, the flash memory read
command is not executed.
If it completes the data transfer normally, it calculates the checksums, transmits the calculation results, jumps
Either Chip Erase (total erase of flash memory) or Sector Erase (erase of flash memory in 2, 4 or 8K-byte
To disable the security program setting, execute the flash erase command of Chip Erase. Before erasing
Data can be written in single-byte units to a specified address in flash memory. Provision the external
Data can be read from a specified address in flash memory in single-byte units. Provision the external
The RAM loader transfers the Intel Hex format data sent by the external controller to the built-in RAM.
Setup
(matching data 1, 2)
Flash memory erase
Flash memory write
Flash memory read
RAM loader
Flash memory SUM output
Product ID code output
Flash memory status output
Mask ROM emulation setting
Flash memory security setting
Operation command
After a reset is released, the serial PROM mode always starts operation with this
command.
If matching data 1 is 0x86, communication starts in the UART format. If matching
data 1 is 0x30, communication starts in the SIO format.
Data in the flash memory area (address 0x8000 through 0xFFFF) can be erased.
Data can be written to the flash memory area (address 0x8000 through 0xFFFF).
Data can be read from the flash memory area (address 0x8000 through 0xFFFF).
Data can be written to a specified RAM area (address 0x0060 through 0x083F).
0xFF check data and 2-byte checksums of the entire flash memory area (address
0x8000 through 0xFFFF) are output in descending order (from upper to lower
bytes).
Product ID codes are output.
The security program status and other status codes are output.
Flash products of 124K or 96Kbytes can be provisioned to emulate a small-capacity
mask ROM product.
The security program setting is enabled.
Page 383
Description
TMP89FM82T

Related parts for tmp89fm82t