Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

H8/3334Y Scheda tecnica(PDF) 490 Page - Renesas Technology Corp

Il numero della parte H8/3334Y
Spiegazioni elettronici  Single-Chip Microcomputer
PDF  747 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  RENESAS [Renesas Technology Corp]
Homepage  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

H8/3334Y Scheda tecnica(HTML) 490 Page - Renesas Technology Corp

Back Button H8/3334Y Datasheet HTML 486Page - Renesas Technology Corp H8/3334Y Datasheet HTML 487Page - Renesas Technology Corp H8/3334Y Datasheet HTML 488Page - Renesas Technology Corp H8/3334Y Datasheet HTML 489Page - Renesas Technology Corp H8/3334Y Datasheet HTML 490Page - Renesas Technology Corp H8/3334Y Datasheet HTML 491Page - Renesas Technology Corp H8/3334Y Datasheet HTML 492Page - Renesas Technology Corp H8/3334Y Datasheet HTML 493Page - Renesas Technology Corp H8/3334Y Datasheet HTML 494Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 490 / 747 page
background image
460
FLMCR:
.EQU
H'FF80
EBR1:
.EQU
H'FF82
EBR2:
.EQU
H'FF83
TCSR:
.EQU
H'FFA8
.ALIGN
2
MOV.B
#H'**,
ROH
;
MOV.B
ROH,
@EBR*:8
;
Set EBR*
; #BLKSTR is top address of block to be erased.
; #BLKEND is last address of block to be erased.
MOV.W
#BLKSTR,
R0
; Top address of block to be erased
MOV.W
#BLKEND,
R2
; Last address of block to be erased
ADDS
#1,
R2
; Last address of block to be erased + 1
→ R2
; Execute prewrite
MOV.W
R0,
R3
; Top address of block to be erased
PREWRT:
MOV.B
#H'00,
R6L
; Prewrite-verify fail counter
MOV.W
#H'a,
R5
; Set prewrite loop counter
PREWRS:
INC
R6L
; Prewrite-verify fail counter + 1
→ R6L
MOV.B
#H'00
R1H
;
MOV.B
R1H,
@R3
; Write H'00
MOV.W
#H'A579,
R4
;
MOV.W
R4,
@TCSR
; Start watchdog timer
MOV.W
R5,
R4
; Set prewrite loop counter
BSET
#0,
@FLMCR:8
;
Set P bit
LOOPR1:
SUBS
#1,
R4
;
MOV.W
R4,
R4
;
BNE
LOOPR1
; Wait loop
BCLR
#0,
@FLMCR:8
;
Clear P bit
MOV.W
#H'A500,
R4
;
MOV.W
R4,
@TCSR
; Stop watchdog timer
MOV.B
#H'c,
R4H
; Set prewrite-verify loop counter
LOOPR2:
DEC
R4H
;
BNE
LOOPR2
; Wait loop
MOV.B
@R3,
R1H
; Read data = H'00?
BEQ
PWVFOK
; If read data = H'00 branch to PWVFOK
CMP.B
#H'06,
R6L
; Prewrite-verify executed 6 times?
BEQ
ABEND1
; If prewrite-verify executed 6 times, branch to ABEND1
ADD.W
R5,
R5
; Programming time
× 2
BRA
PREWRS
; Prewrite again
ABEND1:
Programming error
PWVFOK:
ADDS
#1,
R3
; Address + 1
→ R3
CMP.W
R2,
R3
; Last address?
BNE
PREWRT
; If not last address, prewrite next address
;
Execute erase
ERASES:
MOV.W
#H'0000,
R6
; Erase-verify fail counter
MOV.W
#H'd,
R5
; Set erase loop count



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


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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