Read / Write on the internal flash of the S32K344

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

Read / Write on the internal flash of the S32K344

Jump to solution
2,817 Views
JoDo
Contributor III

Hello,

I am looking for an example how to write/read the internal flash of the S32K344. I found already an example in the S32DS that uses the Fee and Fls library.

Are there other ways or library (non Autosar) to get access to the NVM peripheral?

0 Kudos
1 Solution
2,770 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @JoDo,

Regarding the emulated EEPROM, it can be done by SW only:

danielmartynek_0-1636715583363.png

danielmartynek_1-1636715668875.png

AN13414 S32K1 to S32K3 Migration Guidelines

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

The FEE driver is in the Autosar high level layer

danielmartynek_2-1636715904005.png

 

Regards,

Daniel

 

 

View solution in original post

3 Replies
2,796 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello JoDo,

There are Autosar level drivers (like FEE, FLS) and non-Autosar drivers (like C40).

There are these examples in the RTD package:

Example_S32K3xx_DS_C40 (in RTD 0.9.0)

C40_Ip_Example_S32K344 (in RTD 1.0.0)

 

Regards,

Daniel

0 Kudos
2,777 Views
JoDo
Contributor III

Hello @danielmartynek ,

thank you very much for the answer. I have tried both ways and they work as they should. Thanks for the hint.

Is there also the possibility to work with an EEPROM emulation or is there a software driver for this?

Regards,

JoDo

0 Kudos
2,771 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @JoDo,

Regarding the emulated EEPROM, it can be done by SW only:

danielmartynek_0-1636715583363.png

danielmartynek_1-1636715668875.png

AN13414 S32K1 to S32K3 Migration Guidelines

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

The FEE driver is in the Autosar high level layer

danielmartynek_2-1636715904005.png

 

Regards,

Daniel