Hi,
I got the source code of the etherCAT full Stack from ETG site.
And I tried to run the patch utility followed "the AM335x SYSBIOS Industrial SDK 01.00.00.03 User Guide".
But I got some fails as the below.
------------------------------------
D:\Downloaded\patch-2.5.9-7-bin\bin>patch.exe -i C:\ti\am335x_sysbios_ind_sdk_1.0.0.3\sdk\protocols\ethercat\ecat_appl\patch\TI_ECAT.patch -d C:\ti\am335x_sysbios_ind_sdk_1.0.0.3\sdk\protocols\ethercat\ecat_appl\srcpatching file coeappl.cHunk #1 succeeded at 107 (offset 6 lines).patching file ecat_def.hHunk #1 FAILED at 21.Hunk #2 succeeded at 53 (offset 2 lines).Hunk #3 succeeded at 84 (offset 2 lines).Hunk #4 FAILED at 102Hunk #5 FAILED at 119.Hunk #6 succeeded at 183 (offset 2 lines).Hunk #7 succeeded at 446 (offset 2 lines).Hunk #8 succeeded at 494 (offset 2 lines).Hunk #9 FAILED at 520.Hunk #10 FAILED at 549.Hunk #11 FAILED at 570.Hunk #12 FAILED at 588.7 out of 12 hunks FAILED -- saving rejects to file ecat_def.h.rejpatching file ecatappl.cHunk #1 succeeded at 97 (offset 4 lines).Hunk #2 succeeded at 1078 (offset -35 lines).patching file ecatslv.cHunk #1 FAILED at 171.Hunk #2 FAILED at 1662.Hunk #3 FAILED at 1672.Hunk #4 FAILED at 1700.Hunk #5 succeeded at 1935 (offset -95 lines).4 out of 5 hunks FAILED -- saving rejects to file ecatslv.c.rejpatching file ecatslv.h
---------------------------------------
Please let me know how to solve this issue.
Best regards,
Michi
Dear Michi,
what version of ESC did you try? SDK 1.0.0.3 only supports SSC 5.0 as far as I know.
Regards.
Sorry, typo:
What version of SSC did you try?
Dear Frank-san,
Thank you for your reply.
I downloaded EtherCAT SSC v5.01. And I use SDK1.0.0.3.
Is v5.01 not supported by SDK1.0.0.3? Is SSC v5.0 still downloaded from ETG site?
Please advise me.
Michi-san,
the SDK 1.0.0.3 became available before SSC 5.01. So the patch is not compatible. Internally we are also using SSC 5.01 now but the next release is only planned in a few weeks time. So you need to get SSC 5.0 from ETG. I heard an update of the web site is planned to get to old releases. But for now I suggest you contact them directly.
Once you have a working patched 5.0 you can compare the two SSC versions. Any bug fixes not related to TI low level can be easily merged I think. Otherwise you need to wait for our next release.
Thank you for your adivice.
I will ask to ETG directly to get the previous SSC5.0.
Same issue.
I've asked ETG via email the previous stack version.
Hope Texas align its library: these version related issues are frustrating....
When will the new sdk be available? The users guide is even released.