Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

DS83C320-WNL Scheda tecnica(PDF) 157 Page - Dallas Semiconductor

Il numero della parte DS83C320-WNL
Spiegazioni elettronici  High-Speed Microcontroller User Guide
PDF  175 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  DALLAS [Dallas Semiconductor]
Homepage  https://www.maximintegrated.com/en.html
Logo DALLAS - Dallas Semiconductor

DS83C320-WNL Scheda tecnica(HTML) 157 Page - Dallas Semiconductor

Back Button DS83C320-WNL Datasheet HTML 153Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 154Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 155Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 156Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 157Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 158Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 159Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 160Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 161Page - Dallas Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 157 / 175 page
background image
High-Speed Microcontroller User’s Guide
157 of 175
EXAMPLE: A TRANSIENT CAUSES THE WATCHDOG TO BE DISABLED
TABLE_READ:
C2D2
90 0A 00
MOV
DPTR, 0A00H
;LOAD TABLE POINTER
C2D5
79 FF
MOV
R1, #0FFH
;LOAD COUNTER
C2D7
78 90
MOV
R0, #90H
;DESTINATION POINTER
LOOP:
C2D9
E0
MOVX
A, @DPTR
;READ DATA BYTE
C2DA
F6
MOV
@R0, A
;STORE IT IN RAM
C2DB
06
INC
R0
;NEXT TABLE LOCATION
C2DC
A3
INC
DPTR
;NEXT DATA VALUE
C2DD
D9 C2 D9
DJNZ
R1, LOOP
;NEXT BYTE OR DONE ?
A transient occurs while the opcode is being fetched for the first instruction. The transient causes one bit
of the opcode in the first instruction to be read as a 0 instead of 1. The resulting program is what the
microcontroller would actually execute:
TABLE_READ:
C2D2 80 0A 00
SJMP
0BH
;RELATIVE JUMP BY 10 LOCATIONS
C2D5 79 FF
MOV
R1, #0FFH
;LOAD COUNTER
C2D7 78 90
MOV
R0, #90H
;DESTINATION POINTER
LOOP:
C2D9 E0
MOVX
A, @DPTR
;READ DATA BYTE
C2DA F6
MOV
@R0, A
;STORE IT IN RAM
C2DB 06
INC
R0
;NEXT TABLE LOCATION
C2DC A3
INC
DPTR
;NEXT DATA VALUE
C2DD D9 C2 D9
DJNZ
R1, LOOP
;NEXT BYTE OR DONE ?
The resulting jump is to address C2DE. This is not even a real opcode, but would be treated as such. The
resulting fetch is the value C2 D9. This is the opcode for CLR D9h. The bit addressable location D9h
corresponds to the EWT - Enable Watchdog Timer. If the Timed Access procedure did not prevent it,
this errant instruction would disable the Watchdog. Note that now, the program execution is completely
lost. Real opcodes are being replaced by operands, data and garbage. In the High-Speed Microcontroller,
the Watchdog will recover from this state as soon as it times out since it could not have been disabled in
this way.
In the High-Speed Microcontroller it is very hard to contrive a situation that will accidentally disable the
Watchdog. Note, the Timed Access prevents accidentally writing a bit. It can not prevent accidentally
calling the correct code that writes a bit. This is much more unlikely however.



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