tmp89fm82t TOSHIBA Semiconductor CORPORATION, tmp89fm82t Datasheet - Page 14

no-image

tmp89fm82t

Manufacturer Part Number
tmp89fm82t
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
22. Serial PROM Mode
viii
21.3 Command Sequence............................................................................................................354
21.4 Toggle Bit (D6)....................................................................................................................357
21.5 Access to the Flash Memory Area.......................................................................................358
21.6 API (Application Programming Interface)..........................................................................369
22.1 Outline.................................................................................................................................375
22.2 Security................................................................................................................................375
22.3 Serial PROM Mode Setting.................................................................................................376
22.4 Example Connection for On-board Writing........................................................................378
22.5 Activating the Serial PROM Mode......................................................................................379
22.6 Interface Specifications.......................................................................................................380
22.7 Memory Mapping................................................................................................................382
22.8 Operation Commands..........................................................................................................382
22.9 Error Code...........................................................................................................................402
22.10 Checksum (SUM)..............................................................................................................403
22.11 Intel Hex Format (Binary).................................................................................................404
22.12 Security..............................................................................................................................405
21.2.3
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
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
RAM area switching (SYSCR3<RAREA>)..................................................................................................................350
BOOTROM area switching (FLSCR1<BAREA>).......................................................................................................350
Flash memory standby control (FLSSTB<FSTB>).......................................................................................................352
Protect cancel mode (FLSVPR<VPREG>)...................................................................................................................352
Protect set up..................................................................................................................................................................352
Port input control register (SPCR<PIN0, PIN1>).........................................................................................................353
Byte program.................................................................................................................................................................354
Sector erase (partial erase by sector).............................................................................................................................355
Chip erase (all erase)......................................................................................................................................................356
Product ID entry.............................................................................................................................................................356
Product ID exit...............................................................................................................................................................356
Security program............................................................................................................................................................356
Flash memory control in serial PROM mode................................................................................................................358
Flash memory control in MCU mode............................................................................................................................361
.BTWrite........................................................................................................................................................................370
.BTEraseSec...................................................................................................................................................................370
.BTEraseChip.................................................................................................................................................................370
.BTGetSP.......................................................................................................................................................................371
.BTSetSP........................................................................................................................................................................371
.BTCalcUART...............................................................................................................................................................372
Serial PROM mode control pins....................................................................................................................................376
SIO communication.......................................................................................................................................................380
UART communication...................................................................................................................................................380
Flash memory erase command (0xF0)...........................................................................................................................385
Flash memory write command (operation command: 0x30).........................................................................................388
Flash memory read command (operation command: 0x40)..........................................................................................390
RAM loader command (operation command: 0x60).....................................................................................................392
Flash memory SUM output command (operation command: 0x90).............................................................................394
Product ID code output command (operation command: 0xC0)...................................................................................395
Flash memory status output command (0xC3)..............................................................................................................397
Mask ROM emulation setting command (0xD0)..........................................................................................................400
Flash memory security setting command (0xFA)..........................................................................................................401
Calculation method......................................................................................................................................................403
Calculation data...........................................................................................................................................................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 tmp89fm82t