infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 4 of 4

Thread: Error while building the code from the TC234 Motor Control Kit

  1. #1
    New Member New Member Ali.Terro.11 is on a distinguished road
    Join Date
    May 2019
    Posts
    2
    Points
    35

    Error while building the code from the TC234 Motor Control Kit

    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 <id>
    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

  2. #2
    Advanced Advanced HIGHTEC.henk-piet.glas is on a distinguished road
    Join Date
    May 2017
    Posts
    87
    Points
    1672.5

    Hi Ali,


    Quote Originally Posted by Ali.Terro.11 View Post
    <snip> <snip> I want to know what can i do to solve this Problem. <snip> <snip>
    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):
    Code:
    <example>\0_Src\4_McHal\Tricore\Compilers
    And open CompilerTasking.h. Next check the definition of IFXCOMPILER_COMMON_LINKER_SYMBOLS. If it reads:
    Code:
    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:
    Code:
    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

  3. #3
    New Member New Member Ali.Terro.11 is on a distinguished road
    Join Date
    May 2019
    Posts
    2
    Points
    35
    It worked.
    Thank you for your help!

  4. #4
    Advanced Advanced HIGHTEC.henk-piet.glas is on a distinguished road
    Join Date
    May 2017
    Posts
    87
    Points
    1672.5

    Hi Ali,

    Quote Originally Posted by Ali.Terro.11 View Post
    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

+ Reply to Thread

Tags for this Thread

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.