Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

H8/3334Y Scheda tecnica(PDF) 435 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) 435 Page - Renesas Technology Corp

Back Button H8/3334Y Datasheet HTML 431Page - Renesas Technology Corp H8/3334Y Datasheet HTML 432Page - Renesas Technology Corp H8/3334Y Datasheet HTML 433Page - Renesas Technology Corp H8/3334Y Datasheet HTML 434Page - Renesas Technology Corp H8/3334Y Datasheet HTML 435Page - Renesas Technology Corp H8/3334Y Datasheet HTML 436Page - Renesas Technology Corp H8/3334Y Datasheet HTML 437Page - Renesas Technology Corp H8/3334Y Datasheet HTML 438Page - Renesas Technology Corp H8/3334Y Datasheet HTML 439Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 435 / 747 page
background image
405
; Execute prewrite
PREWRT:
MOV.W
@R2+,
R3
; Prewrite starting address
PREW:
MOV.B
#H'00,
R6L
; Prewrite-verify fail counter
MOV.W
#H'a,
R5
; Prewrite-verify 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'A578,
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'32,
R6L
; Prewrite-verify executed 50 times?
BEQ
ABEND1
; If prewrite-verify executed 50 times, branch to ABEND1
BRA
PREWRS
; Prewrite again
ABEND1:
Programming error
PWVFOK:
ADDS
#1,
R3
; Address + 1
→ R3
MOV.W
@R2,
R4
; Top address of next block
CMP.W
R4,
R3
; Last address?
BNE
PREW
; If not last address, prewrite next address
PWADD2:
INC
R1L
; Used to test R1L+1 bit in R0
BRA
PRETST
; Branch to PRETST
; Execute erase
ERASES:
MOV.W
#H'0000,
R6
; Erase-verify fail counter
MOV.W
#H'd,
R5
; Set erase loop count
ERASE:
ADDS
#1,
R6
; Erase-verify fail counter + 1
→ R6
MOV.W
#H'e,
R4
;
MOV.W
R4,
@TCSR
; Start watchdog timer
MOV.W
R5,
R4
; Set erase loop counter
BSET
#1,
@FLMCR:8
;
Set E bit
LOOPE:
NOP
NOP
NOP
NOP
SUBS
#1,
R4
;
MOV.W
R4,
R4
;
BNE
LOOPE
; Wait loop
BCLR
#1,
@FLMCR:8
;
Clear E bit
MOV.W
#H'A500,
R4
;
MOV.W
R4,
@TCSR
; Stop watchdog timer



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