SPRADL4 January 2025 F29H850TU , F29H859TU-Q1
Within F29H85x_EEPROM_PingPong.c, users can choose which Flash Sectors to use for EEPROM emulation. The sectors chosen (if multiple) should be contiguous and in order from least to greatest. Insert only the First and Last sectors to be used for EEPROM. For example, to use sectors 1-10, insert {1,10}. To only use sector 1, insert {1,1}.
uint32 FIRST_AND_LAST_SECTOR[2][2] = {{0,0},{1,1}};
A valid configuration has the following properties:
More details about invalid or dangerous configurations can be found in Section 5.2.1.2.
Users can additionally enable blank check after erase and choose which EEPROM unit to begin emulation in.
uint8_t EEPROM_ACTIVE_UNIT = 0;
uint8_t Erase_Blank_Check = 1;
If set to 0, the first set of Flash Sectors in FIRST_AND_LAST_SECTOR will be the Active EEPROM Unit first, and the second set will be Inactive EEPROM unit at first. If set to 1, the opposite will be true.