SPRADE8 November 2023 TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1
The EEPROM_Get_64_Bit_Data_Address is largely unchanged in the Single-Unit implementation, but the behavior upon detecting a full EEPROM unit is different.
if(Bank_Pointer > End_Address-3) // Test if EEPROM is full
{
EEPROM_Erase();
RESET_BANK_POINTER;
}
As shown above, if the EEPROM unit is full, it is simply erased and the pointer is reset to the beginning of the unit.