1971055_en-US

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

1971055_en-US

1971055_en-US

Writing and Reading from D-Flash in NXP S32K312

Hello NXP Community,

I am currently working with the NXP S32K312 microcontroller and would like to understand how to effectively write to and read from the D-Flash memory.

Specifically, I have the following questions:

  1. How do I write data to a specific address in D-Flash?

    • Are there specific APIs or libraries I should use for this operation?
  2. How can I read data back from D-Flash?

    • What functions or methods are available for reading the values stored in D-Flash?
  3. How can I verify the changes I made in D-Flash memory?

    • Is there a way to observe the changes in the memory addresses, either through a debugger or by some other means?
  4. Could you provide any sample code for writing to and reading from D-Flash?

Any guidance or examples would be greatly appreciated!

Thank you! @NXPStar 

Re: Writing and Reading from D-Flash in NXP S32K312

1) There is an RTD driver called FLS, what is actually flash programming driver.. You can use it for this purpose.

2) It is normal memory mapped reading. Another topic would be if you would to use EEPROM emulation. Then I would point out to RTD driver called EEP.

3) Within driver there is a verify option. Or you can read it back. Of course, you can use debugger to show memory dump window, foe debugging purpose.

4) RTD example 'Mem_43_INFLS_Example_S32K3..'

Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 10:30 AM
Updated by: