How to solve erase verification function error for s32k146

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to solve erase verification function error for s32k146

692 Views
Naresh_Chaudhari
Contributor I

__asm("cpsid i");
 FLASH_DRV_EraseSector(&flashSSDConfig, 0x00020410, 4096u);
__asm("cpsie i");
FLASH_DRV_VerifySection(&flashSSDConfig, 0x00020410, (4096u/ 16u), 0U);

I am getting error from FLASH_DRV_VerifySection() function. please solve this explain me how its work.

0 Kudos
Reply
1 Reply

652 Views
RomanVR
NXP Employee
NXP Employee

Hi @Naresh_Chaudhari 

In order to thoroughly analyze the issue, it would be very helpful if you could share your project and/or the configuration settings you've applied. Additionally, I have a few questions that will help me better understand the root cause of the problem:

1. Is the error you're encountering a status error returned by the function?

2. Have you manually verified if the memory sector is being erased using the memory viewer?

I look forward to your response. Please let me know if you need any further assistance.


- RomanVR.

Best Regards!
0 Kudos
Reply