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
Hello andrewweiss,
Also, maybe you can find it useful to have a look at these links:
Example: S32K144 EEEPROM usage
https://www.nxp.com/docs/en/application-note/AN11983.pdf
Hope this helps,
Marius
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.