*******************************************************************************
The purpose of this demo application is to place variables in DTCM memory for the S32K3xx MCU.
------------------------------------------------------------------------------
* Test HW: S32K3X4EVB-Q172
* MCU: S32K312
* Compiler: S32DS3.5
* SDK release: RTD 3.0.0
* Debugger: PE Micro
* Target: internal_FLASH
********************************************************************************
ZERO table : is for bss segment variables : contains RAM start & end address of BSS section which need to be initialized with ZER).
Init_table : is for DATA segment variables : contains RAM start address of DATA section & START & end address of ROM address where the initialization values of the variables are stored.
Startup file startup_cm7.s call function init_data_bss() . Inside this function uses these section :--
Variables declared :--
Linker file changes :--
startup_cm7.s file changes :--
MAP file :--
Debug window results :--
https://www.kernel.org/doc/html/v5.9/arm/tcm.html
Due to being embedded inside the CPU, the TCM has a Harvard-architecture, so there is an ITCM (instruction TCM) and a DTCM (data TCM).
The DTCM can not contain any instructions, but the ITCM can actually contain data.
TCM is used for a few things: