s32k312 flash

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

s32k312 flash

1,844 Views
fengba_360
Contributor III

Hello, I'm currently using the mem_43_INFLS driver to operate the flash on the s32k312. I have a few points I'd like to consult about:

1. Can I use this driver to erase the pflash under boot mode so that I can update the app program?

2. Can I use this driver to operate the Dflash to simulate EEPROM? If so, are there any corresponding example routines for reference? Thank you!

0 Kudos
Reply
3 Replies

1,818 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @fengba_360,

1. Yes

2. For the SW emulated EEPROM, there is the RTD FEE driver.

danielmartynek_0-1726126306161.png

 

Regards,

Daniel

0 Kudos
Reply

1,804 Views
fengba_360
Contributor III
What's the difference between FEE and Mem_43_INFLS? I'm quite confused. Could you please guide me further? I have two requirements: one is to erase and write app programs during boot, and the other is to simulate EEPROM under the app.
0 Kudos
Reply

1,802 Views
danielmartynek
NXP TechSupport
NXP TechSupport

As I said, FLS is for programming / erasing the flash, FEE is used to emulate the EEPROM.

Refer to the User Manual and Integration Manual of the drivers that can be found in the installation directory of the RTD.

Or have a look at Autosar documentation:

https://www.autosar.org/fileadmin/standards/R22-11/CP/AUTOSAR_SWS_FlashEEPROMEmulation.pdf

 

Regards,

Daniel

0 Kudos
Reply