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.

Generate error AM335x EtherCAT sources using Beckhoff SSC Tool.

Other Parts Discussed in Thread: SYSBIOS

hi.

development Environment.

- Code Composer Studio Version: 5.4.0.00091

- sdk : AM335x SYSBIOS Industrial SDK 01.00.00.08

- target : AM335x IDK( EtherCAT Slave )

 

Building Full Feature EtherCAT Application. I'm test complete.

 

However. Generating AM335x EtherCAT sources using Beckhoff SSC Tool problem occurred.

in SDK user guide :

1. Save the project >> No problem.

2. Click "Project->Create new Salve Files" - This generate the ETherCAT Source files for TI AM335x device. >> No problem.( Generate source files )

3. Now apply the patch file on top of the generated source file. On successful patch process, the source now includes all TI specific changes and can be used to build a full featured EtherCAT application. >> Applying a patch file problem.

 

CMD window message:

C:\software\lasted\patch-2.5.9-7-bin\bin>patch.exe -i C:\software\lasted\TIAM335 x_SSC_xml_patch_1_7\TI_ESC_Patch.patch -d C:\software\lasted\TIAM335x_SSC_xml_pa tch_1_7\Src

patching file bootmode.c

patching file ecat_def.h

patching file ecatappl.c

patching file ecateoe.c

patching file ecatslv.c

patching file ecatslv.h

patching file eoeappl.c

patching file tiescappl.c

Hunk #1 FAILED at 87.

Hunk #2 FAILED at 734.

Hunk #3 FAILED at 753.

3 out of 3 hunks FAILED -- saving rejects to file tiescappl.c.rej

bulid link error occurred.

However "SSC Tool" if not used, build succesed.

C:\software\lasted\patch-2.5.9-7-bin\bin>patch.exe -i C:\ti\am335x_sysbios_ind_s dk_1.0.0.8\sdk\protocols\ethercat_slave\ecat_appl\patch\TI_ECAT.patch -d C:\soft ware\lasted\SSC_V5i01\SlaveFiles\src

patching file bootmode.c

patching file cia402appl.c

patching file coeappl.c

patching file ecat_def.h

patching file ecatappl.c

patching file ecateoe.c

patching file ecatslv.c

patching file ecatslv.h

patching file eoeappl.c

patching file EtherCATSampleLibrary.h

patching file sdoserv.c

 

 I do not know the cause of the problem.

thank you.

Chae.