tmp89fm82 TOSHIBA Semiconductor CORPORATION, tmp89fm82 Datasheet - Page 14

no-image

tmp89fm82

Manufacturer Part Number
tmp89fm82
Description
8 Bit Microcontroller Tlcs-870/c1 Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
22. Serial PROM Mode
viii
21.3 Command Sequence............................................................................................................352
21.4 Toggle Bit (D6)....................................................................................................................355
21.5 Access to the Flash Memory Area.......................................................................................356
21.6 API (Application Programming Interface)..........................................................................367
22.1 Outline.................................................................................................................................373
22.2 Security................................................................................................................................373
22.3 Serial PROM Mode Setting.................................................................................................374
22.4 Example Connection for On-board Writing........................................................................376
22.5 Activating the Serial PROM Mode......................................................................................377
22.6 Interface Specifications.......................................................................................................378
22.7 Memory Mapping................................................................................................................380
22.8 Operation Commands..........................................................................................................380
22.9 Error Code...........................................................................................................................400
22.10 Checksum (SUM)..............................................................................................................401
22.11 Intel Hex Format (Binary).................................................................................................402
22.12 Security..............................................................................................................................403
21.2.4
21.2.5
21.2.6
21.2.7
21.2.8
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
22.8.8
22.8.9
22.10.1
22.10.2
22.12.1
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
BOOTROM area switching (FLSCR1<BAREA>).......................................................................................................348
Flash memory standby control (FLSSTB<FSTB>).......................................................................................................350
Protect cancel mode (FLSVPR<VPREG>)...................................................................................................................350
Protect set up..................................................................................................................................................................350
Port input control register (SPCR<PIN0, PIN1>).........................................................................................................351
Byte program.................................................................................................................................................................352
Sector erase (partial erase by sector).............................................................................................................................353
Chip erase (all erase)......................................................................................................................................................354
Product ID entry.............................................................................................................................................................354
Product ID exit...............................................................................................................................................................354
Security program............................................................................................................................................................354
Flash memory control in serial PROM mode................................................................................................................356
Flash memory control in MCU mode............................................................................................................................359
.BTWrite........................................................................................................................................................................368
.BTEraseSec...................................................................................................................................................................368
.BTEraseChip.................................................................................................................................................................368
.BTGetSP.......................................................................................................................................................................369
.BTSetSP........................................................................................................................................................................369
.BTCalcUART...............................................................................................................................................................370
Serial PROM mode control pins....................................................................................................................................374
SIO communication.......................................................................................................................................................378
UART communication...................................................................................................................................................378
Flash memory erase command (0xF0)...........................................................................................................................383
Flash memory write command (operation command: 0x30).........................................................................................386
Flash memory read command (operation command: 0x40)..........................................................................................388
RAM loader command (operation command: 0x60).....................................................................................................390
Flash memory SUM output command (operation command: 0x90).............................................................................392
Product ID code output command (operation command: 0xC0)...................................................................................393
Flash memory status output command (0xC3)..............................................................................................................395
Mask ROM emulation setting command (0xD0)..........................................................................................................398
Flash memory security setting command (0xFA)..........................................................................................................399
Calculation method......................................................................................................................................................401
Calculation data...........................................................................................................................................................401
Passwords.....................................................................................................................................................................403
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 tmp89fm82