2.2.2 Firmware Initialization
The following figure shows the detailed firmware initialization flow as part of the system initialization.
The firmware initially checks if the EEPROM content is valid by reading from the EEPROM variable eepConfValid.confVal.
Address | Name | Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
---|---|---|---|---|---|---|---|---|---|
0x0009 | confVal | — | — | — | — | — | — | NVAL[1:0] |
If parameter NVAL[1:0] is unequal to “0b10”, the EEPROM content is considered invalid. The firmware uses the default IO and SPI configuration, and exits the firmware initialization with the status “failed”.
If the EEPROM content is valid, the firmware proceeds with the system initialization according to the EEPROM settings as described in detail from Initial IO Port Configuration to System Ready Event Setting.