Hi,
we increased the size of one block of the FEE-Module because the struct which should be written to this block increased. After we did this the controller crashes during TI_Fee_Init().
Now we need a way to completely delete all eeprom-content so we can change the size afterwards and have a "fresh" eeprom to write the new blocks into.
Regards,
Frank
PS: Function-call-trace. (the crash happens in the last line of this)
->TI_Fee_Init()
->TI_FeeInternal_UpdateBlockOffsetArray(u8EEPIndex, (boolean)TRUE,TI_Fee_GlobalVariables[u8EEPIndex].Fee_u16ActiveVirtualSector);
{
(..)
u32BlockStartAddress += (((TI_FEE_BLOCK_OVERHEAD >> 2U)-1U) << 2U);
/*SAFETYMCUSW 94 S MR:11.1,11.2,11.4 <REVIEWED> "Reason - Casting is required here."*/
ppu32ReadHeader = (uint32 **)&u32BlockStartAddress;
u32BlockNumberTemp = **ppu32ReadHeader;