Example MCAL S32K312 MEM_InFls DS3.5 RTD300

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

Example MCAL S32K312 MEM_InFls DS3.5 RTD300

Example MCAL S32K312 MEM_InFls DS3.5 RTD300

*******************************************************************************

 The purpose of this demo application is to present a usage of the
MEM_InFls MCAL Driver for the S32K3xx MCU.

 The example uses MEM_InFls driver to write 128 bytes to FLASH memory address  0x50_0000 .


 ------------------------------------------------------------------------------
* Test HW: S32K3X2EVB-Q172
* MCU: S32K312
* Compiler: S32DS3.5
* SDK release: RTD 3.0.0
* Debugger: PE micro
* Target: internal_FLASH
********************************************************************************

Dinesh_Guleria_0-1715852390344.png


Results :--

Dinesh_Guleria_1-1715852435648.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
0x20417DAA = 541162922

Dinesh_Guleria_4-1715852864835.png

 

Dinesh_Guleria_3-1715852777286.png

 


Size of RAM need to save the flashing routine, as per the MAP & linker file :--
0x00407e64 - 0x00407e38 = 44 bytes

Dinesh_Guleria_2-1715852737622.png

 

Dinesh_Guleria_5-1715852986217.png

 

 S32K3 FLASH Memory Terminology :--

Dinesh_Guleria_0-1715853503848.png

Dinesh_Guleria_2-1715853660788.png

Dinesh_Guleria_3-1715853699814.png

 

 

Attachments
No ratings
Version history
Last update:
‎06-13-2024 12:07 AM
Updated by: