S32G2 bootloader

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32G2 bootloader

400 次查看
PXH1
Contributor I

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

PXH1_0-1720078742219.png

 

0 项奖励
回复
3 回复数

306 次查看
chenyin_h
NXP Employee
NXP Employee

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

0 项奖励
回复

380 次查看
chenyin_h
NXP Employee
NXP Employee

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

0 项奖励
回复

379 次查看
PXH1
Contributor I

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

PXH1_0-1720162897224.png

PXH1_1-1720162904567.png

PXH1_2-1720162911364.png

PXH1_3-1720162919731.png

PXH1_4-1720162951557.png

 

0 项奖励
回复