| Motore di ricerca datesheet componenti elettronici |
|
DS83C320-WNL Scheda tecnica(PDF) 156 Page - Dallas Semiconductor |
|
|
|||||||||||||||||||||||||||||
DS83C320-WNL Scheda tecnica(HTML) 156 Page - Dallas Semiconductor |
|
156 / 175 page ![]() High-Speed Microcontroller User’s Guide 156 of 175 This is regardless of whether any bits were modified. Figure 13-1 illustrates a number of examples of correct and incorrect use of the Timed Access procedure. TIMED ACCESS EXAMPLES Figure 13-1 three machine cycles three machine cycles three machine cycles MOV 0C7h, #0AAh MOV 0C7h, #55h SETB EWT three machine cycles three machine cycles one machine cycle two machine cycles MOV 0C7h, #0AAh MOV 0C7h, #55h NOP SETB EWT three machine cycles three machine cycles three machine cycles MOV 0C7h, #0AAh MOV 0C7h, #55h MOV WDCON, #02h VALID TIMED ACCESS PROCEDURES three machine cycles one machine cycles three machine cycle two machine cycles MOV 0C7h, #0AAh NOP MOV 0C7h, #55H SETB EWT *Second write to TA register does not occur within 3 cycles of first write. three machine cycles three machine cycles one machine cycle three machine cycles MOV 0C7h, #0AAh MOV 0C7h, #55H NOP MOV WDCON, #02h *Modification of protected bit did not occur with 3 cycles of second write to TA register. three machine cycles three machine cycles two machine cycle two machine cycles MOV 0C7h, #0AAh MOV 0C7h, #55h SETB EWT SETB EWT *Modification of second protected bit did not complete within 3 cycles of second write to TA register. INVALID TIMED ACCESS PROCEDURES TIMED ACCESS PROTECTS WATCHDOG Any microcontroller-based system can be faced with environmental conditions that are beyond its designed abilities. These include external signal transients due to component failure, fluctuating power conditions, massive electrostatic discharge (ESD), and other unexpected system events. When a microcontroller is exposed to such conditions, program execution can become corrupted. Members of the High-Speed Microcontroller family which incorporate a Watchdog Timer can initiate a reset to recover from these conditions. The primary function of the Timed Access feature is to protect against accidental disabling of the watchdog timer by an “out-of-control” device. This will allow the watchdog timer to reset the system in the event of program execution failure. The following hypothetical example demonstrates how a single bit change can corrupt program execution. The Timed Access procedure protects against an accidental write to the EWT bit by the errant code, allowing the watchdog timer reset function to reset the device. While this is a purely fictitious example, it illustrates how the watchdog timer and Timed Access feature make the High-Speed Microcontroller minimize the effect of accidental code corruption. Note: Timed Access is not optional and must be supported if the protected bits are used. This example simply helps explain the category of problem that the Timed Access prevents. |
|
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 |
| 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 |