Flex NVM Partition

cancel
Showing results for 
Search instead for 
Did you mean: 

Flex NVM Partition

155 Views
Contributor I

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

Labels (1)
0 Kudos
3 Replies

118 Views
NXP Employee
NXP Employee

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

 

0 Kudos

152 Views
Contributor I

How to configure the DEPART value in FCFG1 register? 

0 Kudos

148 Views
Contributor III

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

0 Kudos