Hi,
Now I am making the sample app for S32k144 and choosing the option Position Independent Code as below the picture
I don't know when I chose it, the app applied PIC or still not and need to choose another option.
and why the *.bin file when I choose PIC has a big mass (~524KB)
Hi @Billi2110 ,
For a better understanding, you can refer the following example on how to create Position Independent Code using the S32DS ARM 2.2 tools: EXAMPLE S32K144 Position Independent Code - NXP Community
Additionally, for detailed information you can consult the following blog: Position-Independent Code with GCC for ARM Cortex-M | MCU on Eclipse
BR,
IsaulO.
Hi @IsaulO
I fixed this error by using S32k144_64_ram.ld when I built the project. But it still does not define the RAM_START and RAM_END because it is defined in S32k144_64_flash.ld
So how to fix this error?
please help me solve it
Hi @Billi2110,
The project is already set up you just need to change the path for the restore gbd command to your project.bin location (see picExample_Debug_RAM_PNE_fpic Debug configuration) and start a debug session.
Also, if you just want to build the project, you can try selecting the Debug_RAM option.
BR,
IsaulO.