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

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
21. Flash Memory
22. Serial PROM Mode
viii
21.1 Flash Memory Control.........................................................................................................316
21.2 Functions..............................................................................................................................319
21.3 Command Sequence............................................................................................................327
21.4 Toggle Bit (D6)....................................................................................................................330
21.5 Access to the Flash Memory Area.......................................................................................331
21.6 API (Application Programming Interface)..........................................................................342
21.7 Revision History..................................................................................................................346
22.1 Outline.................................................................................................................................347
22.2 Security................................................................................................................................347
22.3 Serial PROM Mode Setting.................................................................................................348
22.4 Example Connection for On-board Writing........................................................................350
22.5 Activating the Serial PROM Mode......................................................................................351
22.6 Interface Specifications.......................................................................................................352
22.7 Memory Mapping................................................................................................................354
22.8 Operation Commands..........................................................................................................354
21.2.1
21.2.2
21.2.3
21.2.4
21.2.5
21.2.6
21.3.1
21.3.2
21.3.3
21.3.4
21.3.5
21.3.6
21.5.1
21.5.2
21.6.1
21.6.2
21.6.3
21.6.4
21.6.5
21.6.6
22.3.1
22.6.1
22.6.2
22.8.1
22.8.2
22.8.3
22.8.4
22.8.5
22.8.6
22.8.7
21.5.1.1
21.5.2.1
21.5.2.2
21.5.2.3
21.5.2.4
22.8.1.1
22.8.7.1
Flash memory command sequence execution and toggle control (FLSCR1 <FLSMD>).............................................319
Flash memory area switching (FLSCR1<FAREA>).....................................................................................................320
RAM area switching (SYSCR3<RAREA>)..................................................................................................................322
BOOTROM area switching (FLSCR1<BAREA>).......................................................................................................322
Flash memory standby control (FLSSTB<FSTB>).......................................................................................................324
Port input control register (SPCR<PIN0, PIN1>).........................................................................................................326
Byte program.................................................................................................................................................................327
Sector erase (4-kbyte partial erase)................................................................................................................................328
Chip erase (all erase)......................................................................................................................................................329
Product ID entry.............................................................................................................................................................329
Product ID exit...............................................................................................................................................................329
Security program............................................................................................................................................................330
Flash memory control in serial PROM mode................................................................................................................331
Flash memory control in MCU mode............................................................................................................................334
.BTWrite........................................................................................................................................................................343
.BTEraseSec...................................................................................................................................................................343
.BTEraseChip.................................................................................................................................................................343
.BTGetSP.......................................................................................................................................................................343
.BTSetSP........................................................................................................................................................................343
.BTCalcUART...............................................................................................................................................................344
Serial PROM mode control pins....................................................................................................................................348
SIO communication.......................................................................................................................................................352
UART communication...................................................................................................................................................352
Flash memory erase command (0xF0)...........................................................................................................................357
Flash memory write command (operation command: 0x30).........................................................................................360
Flash memory read command (operation command: 0x40)..........................................................................................362
RAM loader command (operation command: 0x60).....................................................................................................364
Flash memory SUM output command (operation command: 0x90).............................................................................366
Product ID code output command (operation command: 0xC0)...................................................................................367
Flash memory status output command (0xC3)..............................................................................................................369
How to transfer and write a control program to the RAM area in RAM loader mode of the serial PROM mode
How to write to the flash memory by transferring a control program to the RAM area
How to write to the flash memory by using a support program (API) of BOOTROM
How to set the security program by using a support program (API) of BOOTROM
How to read data from flash memory
Specifying the erase area
Flash memory status code

Related parts for TMP89xy60UG/FG