Hi,
Greetings for the day...!!!
This is regarding the Linker scripts for the S32K342 series controller ,
The Memory section as per the Datasheet is as follows:
a) PFLASH : 2MB , DFlash : 128 kB
b) SRAM : 256 kB including 192 kB of TCM .
The following FLASH memory as mentioned above gets reflected in the linker script once the project is created, but not the same for the SRAM the allocated memory is only 27kB .
I would like you to clarify why is that only 27kB is allocated as a default memory.
Also If any changes in the linker script In the memory section will that affect the execution of the code ?
PS : Attached the block diagram and the generated linker script for the S32K.
Hello @Ganesh_Pawar,
The S32K342 part has
S32K3xx_memory_map.xlsx
And the linker file already uses the whole SRAM (64KB)
The default linker file is just an example, it can be modified as needed,
Regards,
Daniel