Hey there,
I have the MPC5777C project, in which I've modified the linker script of the project.
egeonurg_0-1654666451945.png
my sections can be shown above. I have configured linker scripts of the core projects as follows to create a 32KB x 2 shared RAM area and 256 K Calibration Area.
egeonurg_1-1654666587331.png
Then I've created a structure which is placed in the s_ram1 section as follows for both projects.
As expected, the structure is in the same place for both projects.
egeonurg_2-1654666656004.png
After those operations, I see some garbage value inside of the created structure, in my debugger for both projects.
egeonurg_3-1654666805638.png
Probably I am missing something related to the initialization. Is there any other force way to zero init ram variables via GCC or somewhat?
Best Wishes
Ege