iLLD Linking problem – Tasking

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
nsyed
Level 5
Level 5
5 likes given 100 sign-ins 50 sign-ins
Dear Forum Members,

I downloaded below version of iLLD package from Infineon (version 1.11.0) and trying to port the example to Tasking compiler and I am running into below error.

- iLLD_1_0_1_11_0__TC37A
- iLLD_1_0_1_11_0__TC3xx_Demos/GtmAtomPwmHlDem

I am using TC377TP MCU and want to port ATOM demo to tasking compiler (Version: 6.3r1).
I have chosen to use the startup files included in “iLLD_1_0_1_11_0__TC37A” instead of generating the startup files from Tasking. I prefer to use the startup files from Infineon instead of Tasking for my application.

I am able to compile all the files correctly, however I am running into below linking problem.
I reviewed the linker file of Tasking and the symbol names are different. Does anyone have the linker file that works with this configuration ?

ltc E106: unresolved external: __USTACK0 - (Ifx_Ssw_Tc0.o)
ltc E106: unresolved external: __CSA0 - (Ifx_Ssw_Tc0.o)
ltc E106: unresolved external: __ISTACK0 - (Ifx_Ssw_Tc0.o)
ltc E106: unresolved external: __CSA0_END - (Ifx_Ssw_Tc0.o)
ltc E106: unresolved external: __START1 - (Ifx_Ssw_Tc0.o)
ltc E106: unresolved external: __TRAPTAB_CPU0 - (Ifx_Ssw_Tc0.o)
ltc E106: unresolved external: __INTTAB_CPU0 - (Ifx_Ssw_Tc0.o)
ltc E106: unresolved external: __USTACK1 - (Ifx_Ssw_Tc1.o)
ltc E106: unresolved external: __TRAPTAB_CPU1 - (Ifx_Ssw_Tc1.o)
ltc E106: unresolved external: __INTTAB_CPU1 - (Ifx_Ssw_Tc1.o)
ltc E106: unresolved external: __ISTACK1 - (Ifx_Ssw_Tc1.o)
ltc E106: unresolved external: __INTTAB_CPU2 - (Ifx_Ssw_Tc2.o)
ltc E106: unresolved external: __CSA1 - (Ifx_Ssw_Tc1.o)
ltc E106: unresolved external: __CSA1_END - (Ifx_Ssw_Tc1.o)
ltc E106: unresolved external: __START2 - (Ifx_Ssw_Tc1.o)
ltc E106: unresolved external: __USTACK2 - (Ifx_Ssw_Tc2.o)
ltc E106: unresolved external: __TRAPTAB_CPU2 - (Ifx_Ssw_Tc2.o)
ltc E106: unresolved external: __ISTACK2 - (Ifx_Ssw_Tc2.o)
ltc E106: unresolved external: __CSA2 - (Ifx_Ssw_Tc2.o)
ltc E106: unresolved external: __CSA2_END - (Ifx_Ssw_Tc2.o)
1 Solution
User20639
Level 3
Level 3
First solution authored 10 replies posted 5 replies posted
Do you have the right linker file? "Lcf_Tasking_Tricore_Tc.lsl"? Or Lcf_Tasking.lsl?

You should be able to download the "Base Frameworks" for each of the Tricore CPUs from the Infineon Collaboration platform, those include the default linkers for each compiler and for each core config.

I tried to upload it for you here, but I'm not allowed. Just go and download one of the Starter Kit code, it should be in there.

View solution in original post

4 Replies
User20639
Level 3
Level 3
First solution authored 10 replies posted 5 replies posted
Do you have the right linker file? "Lcf_Tasking_Tricore_Tc.lsl"? Or Lcf_Tasking.lsl?

You should be able to download the "Base Frameworks" for each of the Tricore CPUs from the Infineon Collaboration platform, those include the default linkers for each compiler and for each core config.

I tried to upload it for you here, but I'm not allowed. Just go and download one of the Starter Kit code, it should be in there.
nsyed
Level 5
Level 5
5 likes given 100 sign-ins 50 sign-ins
Thank you so much for your help !!! Appreciate it.

I was trying to use the linker file generated by Tasking (generated when creating a new project), thanks for pointing to the correct linker file.
I integrated "Lcf_Tasking_Tricore_Tc.lsl" to my project and above linker errors are resolved.
0 Likes
JoJo_1
Level 2
Level 2
25 sign-ins 5 questions asked 10 replies posted

I am also facing the same issue, can you tell me how you resolved the same?

0 Likes
Wang2
Level 1
Level 1
First reply posted First like given Welcome!

I am also facing the same issue, can you tell me how you resolved it?

0 Likes