SPRUIF3B May 2017 – March 2019 DRA790 , DRA791 , DRA793 , DRA797
The CPU board contains an EEPROM memory device for storing and retrieving configuration information. The EEPROM provides 256Kb (or 32KB) of storage space, and is accessible using I2C (the device location information is in Table 10). The configuration ID information is programmed by the factory at the time of manufacturing, and should not be altered. Table 13 lists the configuration data format within the EEPROM.
EEPROM Field | Byte Location | Value
(Rev A CPU Board Example) |
Description |
---|---|---|---|
ID.HEADER | [3:0] | 0xAA5533EE | Fixed value at start of header ID. |
ID.BOARD_NAME | [19:4] | DRA79x, DRA71x (ASCII) | For J6Entry – fixed value of DRA79x,DRA71x |
ID.VERSION_MAJOR | [21:20] | 0x1 | A = 0x1
B = 0x2 C = 0x3 |
ID.VERSION_MINOR | [23:22] | 0x0 | 0x0 for major revision
0x1-0x15 for others |
ID.CONFIG_OPTION | [27:24] | 0x0E | Bit 6: 1 – EMIF2 ECC Supported, 0 – No
Bit 5: 1 – EMIF2 Supported, 0 – No Bit 4: 1 – EMIF1 ECC Supported, 0 – No Bit 3: 1 – EMIF1 Supported, 0 – No Bit 2: 1 – Extended Memory EEPROM Cfg Support, 0 – No(1) Bit 1: 1 – MAC addr in EEPROM (default) Bit 0: 0 - QSPI (default), 1 - NOR |
EMIF1_SIZE_BYTES | [31:28] | 0x8000 0000 | Memory size for EMIF1 in bytes (unsigned long) |
EMIF2_SIZE_BYTES | [35:32] | 0x0000 0000 | Memory size for EMIF2 in bytes (unsigned long) |
RESERVED | [55:36] | 0x0 | Reserved |
_ | |||
MAC_ADDR | 0x7F00 | 00.0E.99.zz.yy.xx | Optional MAC address |
For reference, a C-style coded structure is provided, as follows.
Struct EEPROM_ID_T
{
Unsigned long header; 4
Char board_name[16]; 16
Unsigned short version_major; 2
Unsigned short version_minor; 2
Unsigned long config_option; 4
Unsigned long emif1_size_bytes; 4
Unsigned long emif2_size_bytes; 4
Char reserved[28]; 20
} eeprom_id;