Partition Flash for Emulated EEPROM FlexNVM via MBDT

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

Partition Flash for Emulated EEPROM FlexNVM via MBDT

1,416 Views
andrewweiss
Contributor II

I'm attempting to partition the memory on the S32K142 using the initialization call trigger.   If the processor hasn't been partitioned yet for FlexNVM, I would like the code to execute the partitioning command and be then able to write NVM data to data addresses through power cycles.   I have attempted to follow the reference manual and the 

I have attached Simulink code (Matworks 2019a) with the MBD toolbox from NXP.   Software builds and executes without issue, but I still can't write to memory.  

Does anyone know if this is possible to execute in this way?    If so, what am I doing wrong in software to not allow this to happen?  

THANKS!

Andy

pastedImage_1.png

pastedImage_2.png

2 Replies

1,136 Views
mariuslucianand
NXP Employee
NXP Employee

Hello andrewweiss‌,

Also, maybe you can find it useful to have a look at these links:

Example: S32K144 EEEPROM usage 

S32K144 FLASH Partitioning 

https://www.nxp.com/docs/en/application-note/AN11983.pdf 

Hope this helps,

Marius

0 Kudos

1,136 Views
constantinrazva
NXP Employee
NXP Employee

Hello andrewweiss,

Unfortunately we don't have any expertise on the NVM in our team and we can not help you in this regard. If you have working code for partitioning and you know where you want to insert it - then we can help you achieve your goal. I suggest you ask on https://community.nxp.com/community/s32/s32k community first - there you'll find the answers regarding the flexNVM drivers.

Kind regards,

Razvan.

0 Kudos