S32K EEPROM CONFIGURATION

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

S32K EEPROM CONFIGURATION

950 Views
SivaB
Contributor III

1. How to mass erase to restore the partition of flash to configure 2KB flexRAM as EEPROM.
2.Share the example which have following features.

       - EEE image loaded into RAM,

        - Records read directly from RAM. No EEE operation.

         - Records written directly to RAM. Image automatically synchronized with EEE flash.

         

0 Kudos
Reply
1 Reply

924 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

It is needed to perform program partition command once (for blank new device or with performed mass erase operation). There is an example code in S32DS (flash_partitioning_s32k1..).

For any other use, it is needed to perform flash_partitioning operation according user configuration. Pay attention to AN11983 - Using the S32K1xx EEPROM Functionality:
https://www.nxp.com/docs/en/application-note/AN11983.pdf

EEPROM portion of FlexNVM will be accesses over FlexRAM memory address space.
Data flash portion of FlexNVM will be accesses ordinary way i.e. reading of flash address directly and erasing/programming of flash address.

Regarding mass erase, pay attention here:
https://community.nxp.com/t5/S32K/data-flash-partition/m-p/1073360

0 Kudos
Reply