Other Parts Discussed in Thread: SEGGER
Tool/software: Code Composer Studio
Dear TI-Team,
I just created a plain project for the TM4C129ENCPDT in CCSv8. I jusr added an while(1) in the main.
Using the actual GNU compiler (v7.2.1 Linaro) and the default linker script.
Now i want to shrink my FLASH in the linkerscript.
FLASH (RX) : ORIGIN = 0x00004000, LENGTH = 0x000FC000
and set
PROVIDE (_intvecs_base_address = 0x00004000);
Why is GNU filling the flash until the 0x00004000 address with 0x00? I know the default fillingoption for sections starting with '.' of the gnu linker is 0x00, but why is there code previous of the 0x00004000 address?
This basic question appeared since the TI compiler is leaving this space as it is and therefore isn't overwriting for e.g a bootloader.
Can you help me to understand this behaviour? Thanks in advance.
regards
Lukas