May 16, 2019
08:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 16, 2019
08:24 AM
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
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
4 Replies
May 16, 2019
10:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 16, 2019
10:40 AM
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
May 17, 2019
12:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 17, 2019
12:52 AM
It worked.
Thank you for your help!
Thank you for your help!
May 17, 2019
02:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 17, 2019
02:06 AM
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
Feb 18, 2021
04:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 18, 2021
04:24 PM
How Great!!!!
This widget could not be displayed.