2387372_en-US

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

2387372_en-US

2387372_en-US

Call SDK flash API and some data in D_Flash missing of S32K144

Hi team:

 I call SDK flash init API in my project (S32K144), and then call Flash erase and Flash write. Then I find some data in Flash became to 0xFF. Then I try to add a Delay between Flash init and flash Erase/Write, and then the data is normal. And then I try to check while (!(FTFC->FSTAT & FTFC_FSTAT_CCIF_MASK)); instead of using delay function. But it still failed. So, I wonder if it has to delay some time to wait for the flash module to complete initialization on hardware layer.

BR

Loky

Tags (1)
No ratings
Version history
Last update:
14 hours ago
Updated by: