TMP89xy60UG/FG Toshiba, TMP89xy60UG/FG Datasheet - Page 371

no-image

TMP89xy60UG/FG

Manufacturer Part Number
TMP89xy60UG/FG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP89xy60UG/FG

Package
LQFP64/QFP64
Rom Types (m=mask,p=otp,f=flash)
M/F
Rom Size
32/60
Ram Size
3K
Driver Led
8
Driver Lcd
-
Spi/sio Channels
-
Uart/sio Channels
2
I2c/sio Channels
1
High-speed Serial Output
-
Adc 8-bit Channels
-
Adc 10-bit Channels
16
Da Converter Channels
-
Timer Counter 18-bit Channel
-
Timer Counter 16-bit Channel
2
Timer Counter 8-bit Channel
4
Motor Channels
-
Watchdog Timer
Y
Dual Clock
Y
Clock Gear
Y
Number Of I/o Ports
58
Power Supply (v)
4.3 to 5.5
RA003
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
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 TMP89FS60 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 TMP89FS60 calculates checksums in the entire flash memory area (0x1000
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 TMP89FS60 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 TMP89FS60 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 TMP89FS60 performs password authen-
tication 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
to the RAM address specified by the first data record, and starts to execute the user program. If the security
Either Chip Erase (total erase of flash memory) or Sector Erase (erase of flash memory in 4K-byte units)
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 0x1000 through 0xFFFF) can be erased.
Data can be written to the flash memory area (address 0x1000 through 0xFFFF).
Data can be read from the flash memory area (address 0x1000 through 0xFFFF).
Data can be written to a specified RAM area (address 0x0060 through 0x0C3F).
0xFF check data and 2-byte checksums of the entire flash memory area (address
0x1000 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 355
Description
TMP89FS60

Related parts for TMP89xy60UG/FG