Serial EEPROM Connected to the PowerSpan
92 Interphase Corporation
FLASH EEPROM Programming Algorithms
The boot memory is a 4Mx8 AMD 29LV033 FLASH device. To reprogram the AMD
FLASH device, special programming algorithms are defined by AMD, which combine
reads and writes with special address patterns. The algorithm descriptions can be found at
the AMD web site. You can also look or start from the source provided in the BDK (file
app\c\amdflash.c).
Serial EEPROM Connected to the PowerSpan
An I²C serial EEPROM is connected to the PowerSpan. It is used to store certain
PowerSpan register initialization values and the PCI Vital Product Data (VPD). Other
Interphase-specific data is stored there, and there is still some room for other custom data.
See “Serial EEPROM Connected to the PowerSpan” on page 27.
Table 2-1 on page 60 provides the PowerSpan Register initialization values stored in the
Serial EEPROM.
The I²C Serial EEPROM can be easily accessed from the PCI side or from the local
processor side, by using dedicated PowerSpan Register I2C_CSR.
Example 4-6 is an example of C code read and write routines.
Example 4-6. I²C Serial EEPROM Read and Write Routines (From PCI Side)