I use the S32DS 3.5 with IAR to complier and debug my project. now I meet the complier and link issue as below show:
17:32:55 **** Incremental Build of configuration Debug for project proj6179_p3_stripe_s32k148 ****
Info: Internal Builder is used for build
ilinkarm -f "C:\\workspace\\workspaceS32DS.3.5_linton_linepix\\proj6179_p3_stripe_s32k148\\Debug\\ilinkCommandLine_proj6179_p3_stripe_s32k148.xcl"
IAR ELF Linker V8.22.1.15669/W32 for ARM
Copyright 2007-2018 IAR Systems AB.
Error[Lp002]: relocation failed: value out of range or illegal: 0x134c
Kind : R_ARM_THM_ALU_PREL_11_0[0x35]
Location: 0x000060b2
"APLAY_enuPushDescriptor" + 0x1a
Module: C:\workspace\workspaceS32DS.3.5_linton_linepix\proj6179_p3_stripe_s32k148\Debug\src\01-APP\aplay\APLAY_prg.o
Section: 11 (.text)
Offset: 0xb2
Target : 0x00007400
"aku8SceneFlashUser"
Module: C:\workspace\workspaceS32DS.3.5_linton_linepix\proj6179_p3_stripe_s32k148\Debug\src\01-APP\aplay\APLAY_prg.o
Section: 11 (.text)
Offset: 0x1400
66 982 bytes of readonly code memory
52 bytes of readwrite code memory
26 470 bytes of readonly data memory
43 319 bytes of readwrite data memory
I am sure the RAM size and ROM size is big enough. because my MCU is S32K148 100PINs
so I export my project according to the guideline as below:
then create the IAR project to complier and link it. it success!!!
what cause this problem??, two projects use the same .icf file. S32K148_256_flash.icf(it is in attached file).
and I check the two projects .map file, they are also different(they are in attached file).
Hi,
I'm going through the backlog, did you solved your linker issue?
@ lukaszadrapa could you have a look for this issue., Thanks