This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM2434:EtherCAT EVAL 版本已过期相关

Guru**** 2393215 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1490088/am2434-ethercat-eval-version-expired-related

器件型号:AM2434

工具与软件:

大家好!

我使用的是 EtherCAT 从站简单演示、其中会话在1小时后过期。

因此、我遵循 C:src 中给出的自述文件

在执行步骤3时、我在 ETG 网站上的 EtherCAT 从站示例代码版本5.13的文件中收到错误。

C:\ti\ind_comms_sdk_am243x_09_02_00_15\source\industrial_comms\ethercat_slave\stack\patch>gmake -s -f makefile.custom-ssc ssc
makefile.am243x.r5f.ti-arm-clang:31: *** missing separator.  Stop.

C:\ti\ind_comms_sdk_am243x_09_02_00_15\source\industrial_comms\ethercat_slave\stack\patch>gmake -s -f makefile.custom-ssc ssc
building patched lib/ethercat_slave_bkhf_ssc.am243x.r5f.ti-arm-clang.release.lib
 Cleaning: ethercat_slave_bkhf_ssc.am243x.r5f.ti-arm-clang.release.lib ...
 .
unix2dos: Skipping SlaveFiles/src/., not a regular file.
unix2dos: Skipping SlaveFiles/src/.., not a regular file.
unix2dos: converting file SlaveFiles/src/aoeappl.c to DOS format...
unix2dos: converting file SlaveFiles/src/aoeappl.h to DOS format...
unix2dos: converting file SlaveFiles/src/applInterface.h to DOS format...
unix2dos: converting file SlaveFiles/src/bootloaderappl.c to DOS format...
unix2dos: converting file SlaveFiles/src/bootloaderappl.h to DOS format...
unix2dos: converting file SlaveFiles/src/bootmode.c to DOS format...
unix2dos: converting file SlaveFiles/src/bootmode.h to DOS format...
unix2dos: converting file SlaveFiles/src/cia402appl.c to DOS format...
unix2dos: converting file SlaveFiles/src/cia402appl.h to DOS format...
unix2dos: converting file SlaveFiles/src/coeappl.c to DOS format...
unix2dos: converting file SlaveFiles/src/coeappl.h to DOS format...
unix2dos: converting file SlaveFiles/src/diag.c to DOS format...
unix2dos: converting file SlaveFiles/src/diag.h to DOS format...
unix2dos: converting file SlaveFiles/src/ecataoe.c to DOS format...
unix2dos: converting file SlaveFiles/src/ecataoe.h to DOS format...
unix2dos: converting file SlaveFiles/src/ecatappl.c to DOS format...
unix2dos: converting file SlaveFiles/src/ecatappl.h to DOS format...
unix2dos: converting file SlaveFiles/src/ecatcoe.c to DOS format...
unix2dos: converting file SlaveFiles/src/ecatcoe.h to DOS format...
unix2dos: converting file SlaveFiles/src/ecateoe.c to DOS format...
unix2dos: converting file SlaveFiles/src/ecateoe.h to DOS format...
unix2dos: converting file SlaveFiles/src/ecatfoe.c to DOS format...
unix2dos: converting file SlaveFiles/src/ecatfoe.h to DOS format...
unix2dos: converting file SlaveFiles/src/ecatslv.c to DOS format...
unix2dos: converting file SlaveFiles/src/ecatslv.h to DOS format...
unix2dos: converting file SlaveFiles/src/ecatsoe.c to DOS format...
unix2dos: converting file SlaveFiles/src/ecatsoe.h to DOS format...
unix2dos: converting file SlaveFiles/src/ecat_def.h to DOS format...
unix2dos: converting file SlaveFiles/src/el9800appl.c to DOS format...
unix2dos: converting file SlaveFiles/src/el9800appl.h to DOS format...
unix2dos: converting file SlaveFiles/src/el9800hw.c to DOS format...
unix2dos: converting file SlaveFiles/src/el9800hw.h to DOS format...
unix2dos: converting file SlaveFiles/src/emcy.c to DOS format...
unix2dos: converting file SlaveFiles/src/emcy.h to DOS format...
unix2dos: converting file SlaveFiles/src/eoeappl.c to DOS format...
unix2dos: converting file SlaveFiles/src/eoeappl.h to DOS format...
unix2dos: converting file SlaveFiles/src/esc.h to DOS format...
unix2dos: converting file SlaveFiles/src/EtherCATSampleLibrary.h to DOS format...
unix2dos: converting file SlaveFiles/src/fc1100hw.c to DOS format...
unix2dos: converting file SlaveFiles/src/fc1100hw.h to DOS format...
unix2dos: Binary symbol 0x00 found at line 1
unix2dos: Skipping binary file SlaveFiles/src/fc11xxAccess.dll
unix2dos: converting file SlaveFiles/src/fc11xxAccess.h to DOS format...
unix2dos: Binary symbol 0x00 found at line 3
unix2dos: Skipping binary file SlaveFiles/src/fc11xxAccess.lib
unix2dos: converting file SlaveFiles/src/foeappl.c to DOS format...
unix2dos: converting file SlaveFiles/src/foeappl.h to DOS format...
unix2dos: converting file SlaveFiles/src/mailbox.c to DOS format...
unix2dos: converting file SlaveFiles/src/mailbox.h to DOS format...
unix2dos: converting file SlaveFiles/src/mcihw.c to DOS format...
unix2dos: converting file SlaveFiles/src/mcihw.h to DOS format...
unix2dos: converting file SlaveFiles/src/objdef.c to DOS format...
unix2dos: converting file SlaveFiles/src/objdef.h to DOS format...
unix2dos: converting file SlaveFiles/src/readme.md to DOS format...
unix2dos: converting file SlaveFiles/src/sampleappl.c to DOS format...
unix2dos: converting file SlaveFiles/src/sampleappl.h to DOS format...
unix2dos: converting file SlaveFiles/src/SampleApplicationInterface.c to DOS format...
unix2dos: converting file SlaveFiles/src/SampleApplicationInterface.h to DOS format...
unix2dos: converting file SlaveFiles/src/sdoserv.c to DOS format...
unix2dos: converting file SlaveFiles/src/sdoserv.h to DOS format...
unix2dos: converting file SlaveFiles/src/testappl.c to DOS format...
unix2dos: converting file SlaveFiles/src/testappl.h to DOS format...
unix2dos: converting file bkhf_ssc_kunbus_ssc.patch to DOS format...
patched original SSC sources
 .
 Compiling: ethercat_slave_bkhf_ssc.am243x.r5f.ti-arm-clang.release.lib: src/ssc.c
In file included from src/ssc.c:20:
In file included from C:/ti/ind_comms_sdk_am243x_09_02_00_15/source/industrial_comms/ethercat_slave/stack/patch/inc\ssc.h:33:
In file included from C:/ti/ind_comms_sdk_am243x_09_02_00_15/source/industrial_comms/ethercat_slave/stack/patch/SlaveFiles/src\objdef.h:40:
In file included from C:/ti/ind_comms_sdk_am243x_09_02_00_15/source/industrial_comms/ethercat_slave/stack/patch/SlaveFiles/src/sdoserv.h:38:
In file included from C:/ti/ind_comms_sdk_am243x_09_02_00_15/source/industrial_comms/ethercat_slave/stack/patch/SlaveFiles/src/ecatcoe.h:30:
In file included from C:/ti/ind_comms_sdk_am243x_09_02_00_15/source/industrial_comms/ethercat_slave/stack/patch/SlaveFiles/src/mailbox.h:34:
C:/ti/ind_comms_sdk_am243x_09_02_00_15/source/industrial_comms/ethercat_slave/stack/patch/SlaveFiles/src/ecat_def.h:1167:29: error:
      invalid token at start of a preprocessor expression
#if OBJ_STRUCT_PACKED_START &&OBJ_DWORD_ALIGN
                            ^
C:/ti/ind_comms_sdk_am243x_09_02_00_15/source/industrial_comms/ethercat_slave/stack/patch/SlaveFiles/src/ecat_def.h:1171:29: error:
      invalid token at start of a preprocessor expression
#if OBJ_STRUCT_PACKED_START &&OBJ_WORD_ALIGN
                            ^
In file included from src/ssc.c:24:
In file included from C:/ti/ind_comms_sdk_am243x_09_02_00_15/source/industrial_comms/ethercat_slave/stack/patch/SlaveFiles/src\applInterface.h:44:
In file included from C:/ti/ind_comms_sdk_am243x_09_02_00_15/source/industrial_comms/ethercat_slave/stack/patch/SlaveFiles/src/ecatslv.h:49:
C:/ti/ind_comms_sdk_am243x_09_02_00_15/source/industrial_comms/ethercat_slave/stack/patch/SlaveFiles/src/el9800hw.h:43:10: fatal error:
      'xc.h' file not found
#include <xc.h>
         ^~~~~~
3 errors generated.
gmake: *** [makefile.am243x.r5f.ti-arm-clang:132: ssc.obj] Error 1

请进一步指导我。

此致、
D.Jenita.

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Jenita、

    我们能够重现您发现的问题。 我们将探究补丁文件。
    同时、您可以通过跳过下面所示的修补文件来重新构建库。 这应该会生成库、而没有时间限制。

    patching file SlaveFiles/src/EtherCATSampleLibrary.h
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    2 out of 2 hunks ignored -- saving rejects to file SlaveFiles/src/EtherCATSampleLibrary.h.rej
    patching file SlaveFiles/src/aoeappl.c
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file SlaveFiles/src/aoeappl.c.rej
    patching file SlaveFiles/src/bootloaderappl.c
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file SlaveFiles/src/bootloaderappl.c.rej
    patching file SlaveFiles/src/bootmode.c
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    3 out of 3 hunks ignored -- saving rejects to file SlaveFiles/src/bootmode.c.rej
    patching file SlaveFiles/src/coeappl.c
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    16 out of 16 hunks ignored -- saving rejects to file SlaveFiles/src/coeappl.c.rej
    patching file SlaveFiles/src/ecat_def.h
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    17 out of 17 hunks ignored -- saving rejects to file SlaveFiles/src/ecat_def.h.rej
    patching file SlaveFiles/src/ecatappl.c
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    9 out of 9 hunks ignored -- saving rejects to file SlaveFiles/src/ecatappl.c.rej
    patching file SlaveFiles/src/ecatappl.h
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    5 out of 5 hunks ignored -- saving rejects to file SlaveFiles/src/ecatappl.h.rej
    patching file SlaveFiles/src/ecatfoe.h
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file SlaveFiles/src/ecatfoe.h.rej
    patching file SlaveFiles/src/ecatslv.c
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    3 out of 3 hunks ignored -- saving rejects to file SlaveFiles/src/ecatslv.c.rej
    patching file SlaveFiles/src/ecatslv.h
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    2 out of 2 hunks ignored -- saving rejects to file SlaveFiles/src/ecatslv.h.rej
    patching file SlaveFiles/src/el9800appl.h
    Reversed (or previously applied) patch detected!  Assume -R? [n]

    此致、

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    长沙:

    EtherCAT 从站的 Beckhoff 共享库对象的目的不是从 ETG 正式获取未超时的共享库超时时间? 我记得去年  (18) Ashwani Goel 的个人资料- Ashwani Goel - TI E2E 支持论坛的一个讨论  、特别是 (+) PROCESSOR-SDK-AM64X:EtherCAT 子器件:HWALLicense 任务停止、EtherCAT 子器件停止工作-处理器论坛-处理器- TI E2E 支持论坛  Beckhoff/ETG 想要跟踪所有非超时共享对象库用户。 CC:  (+) Thomas Leyrer 的个人资料- Thomas Leyrer - TI E2E 支持论坛 (TI 德国)  

    中的内容

    吉姆

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Jim Mrowca、

    有。 客户应从 EtherCAT Technology Group (ETG)正式获取 EtherCAT 子器件堆栈代码/ Beckhoff SSC 源文件、并 应具有 ETG 成员资格、以便从 ETG 网站下载这些源文件。

    工业通信 SDK 中提供的库- ethercat_slave_bkhf_ssc.amxxxx_evm_r5f.ti-arm-clang.release.lib 时间限制为1小时。 客户应该从 ETG 获取源文件而不受任何时间限制地重新 构建此库、我们提到这是重新构建库的第一步。



    在这种情况下、客户已经从 ETG 获取源文件(5.13版本)、并尝试按照 SDK 中提到的步骤重新编译库、以便在没有任何时间限制的情况下重新生成库。

    此致、

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    谢谢 Harsha、希望重新编译不会涉及 TI SDK 问题。

    我认为 TI 工业通信 SDK 应该发出[常见问题解答]、告知大家在 e2e 中需要 ETG 的 EtherCAT 共享库对象、以便于查找。

    吉姆

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Jim、您好!

    感谢您的反馈。 我们将相应地更新文档的常见问题解答。

    此致、