Flex NVM Partition

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

Flex NVM Partition

1,119 Views
PARVATHY
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
4 Replies

411 Views
V19Anjali
Contributor I

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?

0 Kudos

1,082 Views
namnguyenviet
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

1,116 Views
PARVATHY
Contributor I

How to configure the DEPART value in FCFG1 register? 

0 Kudos

1,112 Views
kmh48301
Contributor IV

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