tmp89fh40 TOSHIBA Semiconductor CORPORATION, tmp89fh40 Datasheet - Page 345
tmp89fh40
Manufacturer Part Number
tmp89fh40
Description
8 Bit Microcontroller Tlcs-870/c1 Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
1.TMP89FH40.pdf
(426 pages)
- Current page: 345 of 426
- Download datasheet (7Mb)
RA006
main section code abs = 0xF000
; #### Transfer the program to RAM #### (step 2)
sRAMLOOP:
; #### Set a nonmaskable interrupt vector inside the RAM area #### (step 3)
; #### Allocate RAM to the code area. Switch the vector area to RAM #### (step 4)
; #### Sector erase and write process ####
; Sector erase process (step 5)
; Write process (step 11)
; #### Allocate RAM to the code area. Switch the vector area to RAM #### (step 17)
; #### Execute the next main program ####
; #### Program to be executed in RAM ####
sRAMprogStart:
Note 3: Before jumping from the flash memory to the RAM area, RAM must be allocated to the code area by
Example: Case in which a program is transferred to RAM, a sector erase is performed on 0xE000 through 0xEFFF in
making the appropriate SYSCR3<RAREA> setting (setting made in step 4 in the procedure described
on the previous page).
the code area, and then 0x3F data is written to 0xE500.
If nonmaskable interrupts (INTSWI, INTUNDEF or INTWDT) occur, system clock reset is generated.
cRAMStartAdd equ 0x0200
DI
LD
LD
LD
LD
INC
INC
CMP
J
LD
LDW
LD
LDW
LD
LD
LD
LD
LD
LD
CALL
LD
LD
LD
CALL
LD
LD
:
J
NOP
NOP
NOP
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
HL,0xF555
DE,0xFAAA
C,0x00
IX,0xE000
sSectorErase - sRAMprogStart + cRAMStartAdd
C,0x00
IX,0xE500
B,0x3F
sByteProgram - sRAMprogStart + cRAMStartAdd
(SYSCR3),0x00
(SYSCR4),0xD4
:
XXXXX
Page 331
; RAM start address
; Disable interrupts (step 1)
; 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
; Variable for command sequence
; Variable for command sequence
; Set upper addresses
; Set middle and lower addresses
; Perform a sector erase (0xE000)
; Set upper addresses
; Set middle and lower addresses
; Data to be written
; Write process (0xE500)
; Set RAREA and RVCTR to "0"
; Enable Code
; Execute the main program
; Fail-safe process
TMP89FH40
Related parts for tmp89fh40
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Toshiba Semiconductor [TOSHIBA IGBT Module Silicon N Channel IGBT]
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
Toshiba Semiconductor [SILICON N CHANNEL 1GBT]
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
Toshiba Semiconductor [GTR Module Silicon N Channel IGBT High Power Switching Applications Motor Control Applications]
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
Toshiba Semiconductor [Power Module]
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
TOSHIBA GTR MODULE SILICON NPN TRIPLE DIFFUSED TYPE
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
TOSHIBA GTR Module Silicon N Channel IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
TOSHIBA Intelligent Power Module Silicon N Channel IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
TOSHIBA INTELLIGENT POWER MODULE SILICON N CHANNEL LGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
TOSHIBA IGBT Module Silicon N Channel IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
TOSHIBA GTR MODULE SILICON N−CHANNEL IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
TOSHIBA Intelligent Power Module Silicon N Channel IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
TOSHIBA GTR Module Silicon N Channel IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
TOSHIBA INTELLIGENT POWER MODULE
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
TOSHIBA Intelligent Power Module Silicon N Channel IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet:
Part Number:
Description:
TOSHIBA Intelligent Power Module Silicon N Channel IGBT
Manufacturer:
TOSHIBA Semiconductor CORPORATION
Datasheet: