Electronic Components Datasheet Search
  English  ▼

X  

W77C32 Datasheet(PDF) 65 Page - Winbond

Part # W77C32
Description  8-BIT MICROCONTROLLER
PDF  78 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  WINBOND [Winbond]
Direct Link  http://www.winbond.com
Logo WINBOND - Winbond

W77C32 Datasheet(HTML) 65 Page - Winbond

Back Button W77C32 Datasheet HTML 61Page - Winbond W77C32 Datasheet HTML 62Page - Winbond W77C32 Datasheet HTML 63Page - Winbond W77C32 Datasheet HTML 64Page - Winbond W77C32 Datasheet HTML 65Page - Winbond W77C32 Datasheet HTML 66Page - Winbond W77C32 Datasheet HTML 67Page - Winbond W77C32 Datasheet HTML 68Page - Winbond W77C32 Datasheet HTML 69Page - Winbond Next Button
Zoom Inzoom in Zoom Outzoom out
 65 / 78 page
background image
W77C32/W77C032A
Publication Release Date: February 1, 2007
- 65 -
Revision A8
15. TIMED ACCESS PROTECTION
The W77C032 has several new features, like the Watchdog timer, on-chip ROM size adjustment, wait
state control signal and Power on/fail reset flag, which are crucial to proper operation of the system. If
left unprotected, errant code may write to the Watchdog control bits resulting in incorrect operation
and loss of control. In order to prevent this, the W77C032 has a protection scheme which controls the
write access to critical bits. This protection scheme is done using a timed access.
In this method, the bits which are to be protected have a timed write enable window. A write is
successful only if this window is active, otherwise the write will be discarded. This write enable window
is open for 3 machine cycles if certain conditions are met. After 3 machine cycles, this window
automatically closes. The window is opened by writing Aah and immediately 55h to the Timed
Access(TA) SFR. This SFR is located at address C7h. The suggested code for opening the timed
access window is
TA
REG 0C7h
;define new register TA, located at 0C7h
MOV TA, #0Aah
MOV TA, #055h
When the software writes Aah to the TA SFR, a counter is started. This counter waits for 3 machine
cycles looking for a write of 55h to TA. If the second write (55h) occurs within 3 machine cycles of the
first write (Aah), then the timed access window is opened. It remains open for 3 machine cycles,
during which the user may write to the protected bits. Once the window closes the procedure must be
repeated to access the other protected bits.
Examples of Timed Assessing are shown below.
Example 1: Valid access
MOV TA, #0Aah
3 M/C
Note: M/C = Machine Cycles
MOV TA, #055h
3 M/C
MOV WDCON, #00h
3 M/C
Example 2: Valid access
MOV TA, #0Aah
3 M/C
MOV TA, #055h
3 M/C
NOP
1 M/C
SETB EWT
2 M/C
Example 3: Invalid access
MOV TA, #0Aah
3 M/C
MOV TA, #055h
3 M/C
NOP
1 M/C
NOP
1 M/C
CLR POR
2 M/C



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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