I am using S32K146.
The flash driver is configured ( in EB Tresos) and build successfully.
But the fls_init() functions throws flash initialization error. The D_Flash size is 0 [ data flash 0 kb emulated eeprom backup 64kb ]as per the flex nvm partition, so the initialization is failed.
How to configure the flex nvm partition ?
Hello @PARVATHY ,
It's kinda weird. D_FLASH_SIZE should have a value, no matter how you configure the FLS sector, as it's defined by how you choose S32K derivative. Could you specify which package are you using, and share us the FLS and Resource configuration in *.epc, so we can double check in our site?
If you want to partition FlexNVM, please refer to s32k-rm page 866.
But, you have to understand first, how to do flash commands.
and the program partition command execution will change the DEPART values.
this is the only way to change DEPART.