tmp89fh40 TOSHIBA Semiconductor CORPORATION, tmp89fh40 Datasheet - Page 12

no-image

tmp89fh40

Manufacturer Part Number
tmp89fh40
Description
8 Bit Microcontroller Tlcs-870/c1 Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
22. Serial PROM Mode
viii
21.4 Toggle Bit (D6)....................................................................................................................326
21.5 Access to the Flash Memory Area.......................................................................................327
21.6 API (Application Programming Interface)..........................................................................338
21.7 Revision History..................................................................................................................342
22.1 Outline.................................................................................................................................343
22.2 Security................................................................................................................................343
22.3 Serial PROM Mode Setting.................................................................................................344
22.4 Example Connection for On-board Writing........................................................................346
22.5 Activating the Serial PROM Mode......................................................................................347
22.6 Interface Specifications.......................................................................................................348
22.7 Memory Mapping................................................................................................................350
22.8 Operation Commands..........................................................................................................350
22.9 Error Code...........................................................................................................................370
22.10 Checksum (SUM)..............................................................................................................371
22.11 Intel Hex Format (Binary).................................................................................................372
22.12 Security..............................................................................................................................373
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
22.8.8
22.8.9
22.10.1
22.10.2
22.12.1
22.12.2
22.12.3
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
22.12.1.1
22.12.1.2
22.12.1.3
22.12.1.4
22.12.2.1
22.12.2.2
Chip erase (all erase)......................................................................................................................................................325
Product ID entry.............................................................................................................................................................325
Product ID exit...............................................................................................................................................................326
Security program............................................................................................................................................................326
Flash memory control in serial PROM mode................................................................................................................327
Flash memory control in MCU mode............................................................................................................................330
.BTWrite........................................................................................................................................................................339
.BTEraseSec...................................................................................................................................................................339
.BTEraseChip.................................................................................................................................................................339
.BTGetSP.......................................................................................................................................................................339
.BTSetSP........................................................................................................................................................................339
.BTCalcUART...............................................................................................................................................................340
Serial PROM mode control pins....................................................................................................................................344
SIO communication.......................................................................................................................................................348
UART communication...................................................................................................................................................348
Flash memory erase command (0xF0)...........................................................................................................................353
Flash memory write command (operation command: 0x30).........................................................................................356
Flash memory read command (operation command: 0x40)..........................................................................................358
RAM loader command (operation command: 0x60).....................................................................................................360
Flash memory SUM output command (operation command: 0x90).............................................................................362
Product ID code output command (operation command: 0xC0)...................................................................................363
Flash memory status output command (0xC3)..............................................................................................................365
Mask ROM emulation setting command (0xD0)..........................................................................................................368
Flash memory security setting command (0xFA)..........................................................................................................369
Calculation method......................................................................................................................................................371
Calculation data...........................................................................................................................................................371
Passwords.....................................................................................................................................................................373
Security program..........................................................................................................................................................377
Option codes................................................................................................................................................................378
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
How a password can be specified
Password structure
Password setting, cancellation and authentication
Password values and setting range
How the security program functions
Enabling or disabling the security program

Related parts for tmp89fh40