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_188.8.131.52\sdk\protocols\ethercat\ecat_appl\patch\TI_ECAT.patch -d C:\ti\am335x_sysbios_ind_sdk_184.108.40.206\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.
what version of ESC did you try? SDK 220.127.116.11 only supports SSC 5.0 as far as I know.
What version of SSC did you try?
Thank you for your reply.
I downloaded EtherCAT SSC v5.01. And I use SDK18.104.22.168.
Is v5.01 not supported by SDK22.214.171.124? Is SSC v5.0 still downloaded from ETG site?
Please advise me.
the SDK 126.96.36.199 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.
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.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.