tmp89fm42a TOSHIBA Semiconductor CORPORATION, tmp89fm42a Datasheet - Page 355
![no-image](/images/manufacturer_photos/0/6/670/toshiba_semiconductor_corporation_sml.jpg)
tmp89fm42a
Manufacturer Part Number
tmp89fm42a
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
1.TMP89FM42A.pdf
(431 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tmp89fm42aUG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
- Current page: 355 of 431
- Download datasheet (7Mb)
21.5
Access to the Flash Memory Area
RA006
main section code abs = 0xF000
; #### Transfer the program to RAM ####
sRAMLOOP:
; #### Set a nonmaskable interrupt vector inside the RAM area ####
; #### Allocate RAM to the code area. Switch the vector area to RAM ####
; #### Allocate BOOTROM to the data/code area ####
; #### Check the status of the security program ####
; #### Security program enable process (API) ####
Example:
4. Set "0xD5" on FLSCR2<CR1EN> after setting FLSCR1<BAREA> to "1".
5. Set "0xD5" to A register as enable code.
6. Set "0x00" to C register.
7. Call address (0x1016). (After processing, security program state returns to A register.)
8. If A register is not "0xFF", jump to sSKIP because security program is already set.
9. Set "0xD5" to A register as enable code.
10. Set "0x00" to C register.
11. Call address (0x1016). (Security program is performed.)
12. Set "0xD5" to FLSCR2 after setting FLSCR1<BAREA> to "0".
13. Set "0xD4" to SYSCR4 after setting SYSCR3<RAREA, RVCTR> to "0".
Whether the security program is enabled or disabled is checked. If it is disabled, it is enabled.
.BTWrite
.BTEraseSec
.BTEraseChip equ 0x1014
.BTGetRP
.BTSetRP
cRAMStartAdd equ 0x0200
LD
LD
LD
LD
INC
INC
CMP
J
LD
LDW
LD
LDW
LD
LD
LD
LD
LD
LD
CALL
CMP
J
LD
LD
CALL
equ 0x1010
equ 0x1012
equ 0x1016
equ 0x1018
HL,cRAMStartAdd
IX,sRAMprogStart
A,(IX)
(HL),A
HL
IX
IX,sRAMprogEnd
NZ,sRAMLOOP
HL,0x01FC
(HL),sINTSWI - sRAMprogStart + cRAMStartAdd
HL,0x01F8
(HL),sINTWDT - sRAMprogStart + cRAMStartAdd
(SYSCR3),0x06
(SYSCR4),0xD4
(FLSCR1),0x50
(FLSCR2),0xD5
A,0xD5
C,0x00
(.BTGetRP)
A,0xFF
NZ,sSKIP
A,0xD5
C,0x00
(.BTSetRP)
Page 336
; Write data to the flash memory
; Sector Erase
; Chip Erase
; Check the status of the security program
; Enable the security program
; RAM start address
; Transfer the program from sRAMprogStart to
; sRAMprogEnd to cRAMStartAdd.
; Set INTUNDEF and INTSWI interrupt vectors
; Set INTWDT interrupt vector
; Set RAREA and RVCTR to "1"
; Enable Code
; Set BAREA to "1"
; Reflect the FLSCR1 setting
; Enable Code
; Set 0x00 (note 1)
; Check the status of the security program
; Go to sSKIP if the security program is enabled
; Enable Code
; Set 0x00 (note 1)
; Enable the security program
TMP89FM42A
Related parts for tmp89fm42a
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![MG100Q2YS65H](/images/manufacturer_photos/0/6/670/toshiba_semiconductor_corporation_tmb.jpg)
Part Number:
Description:
Toshiba Semiconductor [TOSHIBA IGBT Module Silicon N Channel IGBT]
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
![MG300J2YS40](/images/manufacturer_photos/0/6/670/toshiba_semiconductor_corporation_tmb.jpg)
Part Number:
Description:
Toshiba Semiconductor [SILICON N CHANNEL 1GBT]
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
![MG100Q2YS11](/images/manufacturer_photos/0/6/670/toshiba_semiconductor_corporation_tmb.jpg)
Part Number:
Description:
Toshiba Semiconductor [GTR Module Silicon N Channel IGBT High Power Switching Applications Motor Control Applications]
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
![MP7003](/images/manufacturer_photos/0/6/670/toshiba_semiconductor_corporation_tmb.jpg)
Part Number:
Description:
Toshiba Semiconductor [Power Module]
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
![MG30G6EL2](/images/manufacturer_photos/0/6/670/toshiba_semiconductor_corporation_tmb.jpg)
Part Number:
Description:
TOSHIBA GTR MODULE SILICON NPN TRIPLE DIFFUSED TYPE
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
![MP6759](/images/manufacturer_photos/0/6/670/toshiba_semiconductor_corporation_tmb.jpg)
Part Number:
Description:
TOSHIBA GTR Module Silicon N Channel IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
![MIG400J101H](/images/manufacturer_photos/0/6/670/toshiba_semiconductor_corporation_tmb.jpg)
Part Number:
Description:
TOSHIBA Intelligent Power Module Silicon N Channel IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
![MIG30J103H](/images/manufacturer_photos/0/6/670/toshiba_semiconductor_corporation_tmb.jpg)
Part Number:
Description:
TOSHIBA INTELLIGENT POWER MODULE SILICON N CHANNEL LGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
![MG600J2YS60A](/images/manufacturer_photos/0/6/670/toshiba_semiconductor_corporation_tmb.jpg)
Part Number:
Description:
TOSHIBA IGBT Module Silicon N Channel IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
![MG1200V1US51](/images/manufacturer_photos/0/6/670/toshiba_semiconductor_corporation_tmb.jpg)
Part Number:
Description:
TOSHIBA GTR MODULE SILICON N−CHANNEL IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
![MIG300J101H](/images/manufacturer_photos/0/6/670/toshiba_semiconductor_corporation_tmb.jpg)
Part Number:
Description:
TOSHIBA Intelligent Power Module Silicon N Channel IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
![MG150J7KS50](/images/manufacturer_photos/0/6/670/toshiba_semiconductor_corporation_tmb.jpg)
Part Number:
Description:
TOSHIBA GTR Module Silicon N Channel IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
![MIG15J503H](/images/manufacturer_photos/0/6/670/toshiba_semiconductor_corporation_tmb.jpg)
Part Number:
Description:
TOSHIBA INTELLIGENT POWER MODULE
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
![MIG75J6CSB1W](/images/manufacturer_photos/0/6/670/toshiba_semiconductor_corporation_tmb.jpg)
Part Number:
Description:
TOSHIBA Intelligent Power Module Silicon N Channel IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
![MIG75J201H](/images/manufacturer_photos/0/6/670/toshiba_semiconductor_corporation_tmb.jpg)
Part Number:
Description:
TOSHIBA Intelligent Power Module Silicon N Channel IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet: