công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

TMP89FS60 bảng dữ liệu(PDF) 336 Page - Toshiba Semiconductor

tên linh kiện TMP89FS60
Giải thích chi tiết về linh kiện  8 Bit Microcontroller
PDF  410 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  TOSHIBA [Toshiba Semiconductor]
Trang chủ  http://www.semicon.toshiba.co.jp/eng
Logo TOSHIBA - Toshiba Semiconductor

TMP89FS60 bảng dữ liệu(HTML) 336 Page - Toshiba Semiconductor

Back Button TMP89FS60 Datasheet HTML 332Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 333Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 334Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 335Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 336Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 337Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 338Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 339Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 340Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 336 / 410 page
background image
Page 322
21. Flash Memory
21.4 Toggle Bit (D6)
TMP89FS60
RA003
Note 3: Before jumping from the flash memory to the RAM area, RAM must be allocated to the code area by
making the appropriate SYSCR3<RAREA> setting (setting made in step 4 in the procedure described
on the previous page).
Example: Case in which a program is transferred to RAM, a sector erase is performed on 0xE000 through 0xEFFF in
the code area, and then 0x3F data is written to 0xE500.
cRAMStartAdd
equ 0x0200
; RAM start address
main section code abs = 0x1000
DI
; Disable interrupts (step 1)
; #### Transfer the program to RAM #### (step 2)
LD
HL,cRAMStartAdd
LD
IX,sRAMprogStart
sRAMLOOP:
LD
A,(IX)
; Transfer the program from sRAMprogStart to
LD
(HL),A
; sRAMprogEnd to cRAMStartAdd.
INC
HL
INC
IX
CMP
IX,sRAMprogEnd
JNZ,sRAMLOOP
; #### Set a nonmaskable interrupt vector inside the RAM area #### (step 3)
LD
HL,0x01FC
; Set INTUNDEF and INTSWI interrupt vectors
LDW
(HL),sINTSWI - sRAMprogStart + cRAMStartAdd
LD
HL,0x01F8
; Set INTWDT interrupt vector
LDW
(HL),sINTWDT - sRAMprogStart + cRAMStartAdd
; #### Allocate RAM to the code area. Switch the vector area to RAM #### (step 4)
LD
(SYSCR3),0x06
; Set RAREA and RVCTR to "1"
LD
(SYSCR4),0xD4
; Enable Code
; #### Sector erase and write process ####
LD
HL,0xF555
; Variable for command sequence
LD
DE,0xFAAA
; Variable for command sequence
; Sector erase process (step 5)
LD
C,0x00
; Set upper addresses
LD
IX,0xE000
; Set middle and lower addresses
CALL
sRAMStartAdd
; Perform a sector erase (0xE000)
; Write process (step 11)
LD
C,0x00
; Set upper addresses
LD
IX,0xE500
; Set middle and lower addresses
LD
B,0x3F
; Data to be written
CALL
sByteProgram - sRAMprogStart + cRAMStartAdd
; Write process (0xE500)
; #### Execute the next main program ####
:
:
; Execute the main program
J
XXXXX
; #### Program to be executed in RAM ####
sRAMprogStart:
sSectorErase:
CALL
sAddConv - sRAMprogStart + cRAMStartAdd
; Address conversion process
; Sector erase process (step 7)
LD
(HL),E
; 1st Bus Write Cycle (note 1)
LD
(DE),L
; 2nd Bus Write Cycle (note 1)
LD
(HL),0x80
; 3rd Bus Write Cycle (note 1)
LD
(HL),E
; 4th Bus Write Cycle (note 1)
LD
(DE),L
; 5th Bus Write Cycle (note 1)
LD
(IX),0x30
; 6th Bus Write Cycle (note 1)
JsRAMopEnd
; Write process (step 13)
sByteProgram
CALL
sAddConv - sRAMprogStart + cRAMStartAdd
; Address conversion process
LD
(HL),E
; 1st Bus Write Cycle (note 1)
LD
(DE),L
; 2nd Bus Write Cycle (note 1)
LD
(HL),0xA0
; 3rd Bus Write Cycle (Note 1)
LD
(IX),B
; 4th Bus Write Cycle (note 1)
; End process
sRAMopEnd:
NOP
; (note 2)
NOP
; (note 2)
NOP
; (note 2)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com