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:
How do I write data to a specific address in D-Flash?
How can I read data back from D-Flash?
How can I verify the changes I made in D-Flash memory?
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
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..'