hello,
We encountered a problem in creating the S32G2 bootloader project, after compiling the ld file syntax error, but the ld file is from
\NXP\Integration_Reference_Examples_S32G2_2023_06\code\framework\realtime\swc\bootloader\platforms\S32G2XX\build\lin Copied from kfiles, is my project where is not correctly configured?
Look forward to your help
error:
c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v9.2/gcc-9.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/9.2.0/../../../../arm-none-eabi/bin/real-ld.exe:C:/Users/www30/workspaceS32DS.3.5/S32G2_Boot_2/link/autosar_intram.ld:30: syntax error
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:61: S32G2_Boot_2.elf] Error 1
Hello, @PXH1
I feel very sorry for the delay.
Since you have run it without issues during debug, you may try the value 0x34700000 as the ram start pointer.
BR
Chenyin
Hello, @PXH1
Thanks for the question.
May I know if you are building the bootloader example for S32G2(Bootloader_S32G2XX_ASR_4.4_M7) from Integration_Reference_Examples_S32G2_2023_06?
Have you done any modifications on the default example?
Best Regards
Chenyin
hello,
The above problem has been solved, now I have encountered a new problem, we are using the S32DS sample program, in order to ensure the normal operation of the boot loader program, I added the lighting program, debug everything is normal, but the download to norflash can not start.
Here's how I set up the IVT