*******************************************************************************
The purpose of this demo application is to present a usage of the
MEM_InFls MCAL Driver for the S32K3x1 MCU.
The example uses MEM_InFls driver to write 128 bytes to FLASH memory address 0x48_0000 .
------------------------------------------------------------------------------
* Test HW: S32K31XEVB-Q100
* MCU: S32K311
* Compiler: S32DS3.5
* SDK release: RTD 3.0.0
* Debugger: PE micro
* Target: internal_FLASH
********************************************************************************
Dinesh_Guleria_10-1718262446033.png
Results :--
Dinesh_Guleria_16-1718263876906.png
Ram location where FLASH writing erase code is placed :--
I placed the code at 256 byte below the MAX address of the RAM size
0x20407DAA = 541097386
Dinesh_Guleria_9-1718262320234.png
Dinesh_Guleria_11-1718262540163.png
Size of RAM need to save the flashing routine, as per the MAP & linker file :--
0x00406ff0 - 0x00406f78 = 120 bytes
Dinesh_Guleria_13-1718262996275.png
Dinesh_Guleria_12-1718262857245.png
Dinesh_Guleria_15-1718263483054.png
S32K3 FLASH Memory Terminology :--
Dinesh_Guleria_6-1718262156510.png
Dinesh_Guleria_14-1718263200136.png
Dinesh_Guleria_8-1718262156415.png