Hi,
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 ?
Thanks
Parvathy
Hello Philip and Parvathy,
I have selected correct S32K derivative which is S32K146lqfp144, still the EEP size shows as 1046 bytes and its non-editable parameter.
Also, I want to know where we perform NVM partition for DFlash and PFlash configuration? In EEP or FLS module? Can we use EEP module Solely?
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?
Best Regards,
Nam
How to configure the DEPART value in FCFG1 register?
Hi
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.
Best regards,
Phillip