Error while building the code from the TC234 Motor Control Kit

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

cross mob
User17121
Level 1
Level 1
Dear Readers,

i am using a Motor Control kit with the AURIX TC234 that Comes with it's own demo Code and i am a rookie with AURIX microcontrollers.
When i build the Code in eclipse i always get the same error:

astc E118: ["2_Out/Tasking/0_Src/4_McHal/Tricore/Cpu/CStart/IfxCpu_CStart0.src" 10] expected
astc W201: ["2_Out/Tasking/0_Src/4_McHal/Tricore/Cpu/CStart/IfxCpu_CStart0.src" 283] local symbol "_SMALL_DATA_" not defined in this module; made external
astc W201: ["2_Out/Tasking/0_Src/4_McHal/Tricore/Cpu/CStart/IfxCpu_CStart0.src" 286] local symbol "_LITERAL_DATA_" not defined in this module; made external
astc W201: ["2_Out/Tasking/0_Src/4_McHal/Tricore/Cpu/CStart/IfxCpu_CStart0.src" 289] local symbol "_A8_DATA_" not defined in this module; made external
astc W201: ["2_Out/Tasking/0_Src/4_McHal/Tricore/Cpu/CStart/IfxCpu_CStart0.src" 292] local symbol "_A9_DATA_" not defined in this module; made external
make[1]: *** [2_Out/Tasking/0_Src/4_McHal/Tricore/Cpu/CStart/IfxCpu_CStart0.o] Error 1
make[1]: *** Waiting for unfinished jobs....

i am using the TASKING Compiler Version 6.2r2.
i want to know what can i do to solve this Problem.

Best Regards
Ali Terro
0 Likes
4 Replies
User13290
Level 5
Level 5
First like received First solution authored

Hi Ali,


Ali.Terro.11 wrote:
I want to know what can i do to solve this Problem.

I remember a similar case from several years ago. Although I can't be sure, these are the steps to find out. Goto the following iLLD folder (path may be off by the way):
\0_Src\4_McHal\Tricore\Compilers

And open CompilerTasking.h. Next check the definition of IFXCOMPILER_COMMON_LINKER_SYMBOLS. If it reads:
asm("\t .extern (DATA) _SMALL_DATA_, _LITERAL_DATA_, _A8_DATA_, _A9_DATA_");

Then you must remove the (DATA) cast because as far as I know this is invalid assembler syntax for TASKING. So instead it must be substituted with the follow valid equivalent:
asm("\t .extern _SMALL_DATA_, _LITERAL_DATA_, _A8_DATA_, _A9_DATA_");

Let me know how this works out.

Best regards,

Henk-Piet Glas

Technical Product Specialist
Embedded Software
0 Likes
User17121
Level 1
Level 1
It worked.
Thank you for your help!
0 Likes
User13290
Level 5
Level 5
First like received First solution authored

Hi Ali,

Ali.Terro.11 wrote:
It worked. Thank you for your help!


That's brilliant. Happy to help and good luck with your project.

Best regards,


Henk-Piet Glas
Principal Technical Specialist
Embedded Systems

0 Likes
User21093
Level 1
Level 1
How Great!!!!
0 Likes