TLE9862 Data Flash Erase user routine not working

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User21608
Level 1
Level 1
Hello,

I am working on the TLE9862 micro and am testing the User routines provided for flash operations.
I have used the below code flow in order to test the flash operation. USER_ERASE_SECTOR calls the routine present at address 00003865, DataFlashSector is the address 0x1103F000

//***********************************************************************
NVM_Error = USER_ERASE_SECTOR(DataFlashSector);

/* Check if Sector Erase passed */
if (NVM_Error == 0u)
{
/* Perform certain operations */
}
//***********************************************************************
The control reaches inside the if condition (as per the BootROM user manual this means the routine has passed) but from the memory window of my debug tool I can see that the sector still has the previously written data.
Am I missing any step here ? Any help in this regard will be appreciated.

Thanks,
Rahul
0 Likes
0 Replies