|
MB86613S Datasheet, PDF (97/134 Pages) Fujitsu Component Limited. – IEEE1394 Open HCI Controller | |||
|
◁ |
Preliminary
7.3.1 How to access EEPROM
EEPROM can be accessed by using the address space of Open HCI register space field.
Data storing to EEPROM should be done in the following procedures.
1) Write â00âb at EEPCMD.EEPCmd and â11âb at the bit 5- 4 in EEPAddr field. Then change the write- opera-
tion to âenableâ.
2) The following three settings should be done.
a) Set â01bâ into the EEPCMD.EEPDone field.
b) Set the EEPROM address where the data is stored into the bit 5- 0 of the EEPAddr field.
c) Set the data to be written into the EEPDATA register.
3) Wait until the EEPCMD.EEPDone bit is set.
4) Write â00âb at EEPCMD.EEPCmd field and â00âb at the bit 5- 4 in EEPAddr field. Then change the write- op-
eration to âdisableâ.
In case EEPCMD.EEPDone bit has not set, set EEPCMD.EEPReset bit to write again.
Reading out EEPROM data can be done as follows;
1) Write â10âb at EEPCMD.EEPCmd field and set EEPROM address where the data is stored to EEPAddr
field.
2) Wait until the EEPCMD.EEPDone bit is set.
3) EEPROM data in the address set at 1) above are displayed on EEPDATA register.
Writing âAA559966âh and â669955AAâh continuously to KeyLocation register makes the EEPCMD and EEP-
DATA registers available.
31
24 23
16 15
87
KeyLocation
0
040h
044h
EEPCMD
EEPDATA
048h
04Ch
Fig. 7.5 EEPROM Register
31
24 23
16 15
87
0
Key
Fig. 7.6 KeyLocation Register Map
Bit size Field Name
rwcu
----- -------------- ----
31:0 Key
w
reset
--------
000000h
description
------------------------------------------
Writing âAA559966âh and â669955AAâh continuously to
KeyLocation register makes EEPCMD and EEPDATA
registers available.
1st : âAA559966âh
2nd :â669955AAâh
96
|
▷ |