AM2434: EtherCAT EVAL version expired related

Part Number: AM2434

Tool/software:

Hi all,

I'm using EtherCAT slave simple demo where the session got expired after 1 hour.

So, I followed the readme file given in the location C:\ti\ind_comms_sdk_am243x_09_02_00_15\source\industrial_comms\ethercat_slave\stack\patch\SlaveFiles\src

While doing step 3 I got error in the files of EtherCAT slave sample code version 5.13 from ETG website.

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

Please guide me further.

Regards,
D.Jenita.