
MB86703
Plug and Play ISA Controller
22
WRITING DATA TO THE EEPROM
In order to write data into the EEPROM, the MB86703
must be placed into the
Conguration State. The
MB86703 contains a write address pointer which is set
to point to address 0x000 in the EEPROM upon reset.
Note that this pointer is separate from the read address
pointer and is not affected by any EEPROM data read
operations.
The ow chart in Figure 5 outlines the EEPROM write
process. First, the EEPROM is write enabled. Data is
then written sequentially, one word at a time, starting
from address 0x000. As a nal step, a Write Disable
command is sent to the EEPROM to protect the data
from any inadvertent writes. Note that a timeout equal
to or longer than the specied EEPROM write cycle
time (typically 10 ms) is required after the write com-
mand for each word of data.
SHARING THE EEPROM WITH OTHER DEVICES
The EEPROM input and output pins are three-stated
when the MB86703 is in the
Wait for Key state, except
during power-on reset while the MB86703 reads the
default conguration register and other initialization val-
ues. Since the device can be placed into this state
except during the identication and conguration pro-
cess, this allows other devices on the card to access
the EEPROM during other periods. Any space not
used for the initialization data required by the MB86703
and the device resource data (see Table 11) can be
used by other devices on the card.
Figure 5. Writing Data into the EEPROM
Place MB86703 in
Configuration State
Done?
Exit
RESET
Write Pointer at
EEPROM Word 0x000
Write Enable EEPROM
Write 0x01 to Reg. 0x22
Write 0x00 to Reg. 0x26
Load Data for Next Word
Write Low Byte to Reg. 0x23
Write High Byte to Reg. 0x24
Move Data to EEPROM
Write 0x01 to Reg. 0x26
Wait for EEPROM Write Cycle
to Complete (10 ms typical)
Write Disable EEPROM
Write 0x00 to Reg. 0x22
Write 0x00 to Reg. 0x26
Yes
No
ISSUE SOFTWARE