Partition Flash for Emulated EEPROM FlexNVM via MBDT

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Partition Flash for Emulated EEPROM FlexNVM via MBDT

1,912 次查看
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

标记 (3)
2 回复数

1,632 次查看
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 项奖励
回复

1,632 次查看
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 项奖励
回复