-
Notifications
You must be signed in to change notification settings - Fork 648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with ec_init_redundant #98
Comments
What software are you running? Version, port... |
Version:
Git: SHA 712fac0
On Win10 32Bit,
WinPCap: 4.1.3
Am 11.04.2017 um 15:46 schrieb nakarlsson:
…
What software are you running? Version, port...
Sounds like a thread/interface issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#98 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYwJ99zugMOambykj_sSvN7BFwi_UZ2Lks5ru4QcgaJpZM4M6EsJ>.
--
|
Check if extending the timeouts improve the situation as mentioned in, #52 If it doesn't improve it seems like a threading issue and I'd appreciate if you could troubleshoot it to narrow it down. |
Any luck, can it be closed? |
Sorry,
System is running with slow startup.
During installations I had no time till now to test your tips. Have to
do a last installation next week. Will test with more threads in two weeks.
Am 05.05.2017 um 08:02 schrieb nakarlsson:
…
Any luck, can it be closed?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#98 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYwJ96X0rc6HLTtVTIp3BWDm6_UMxF_tks5r2ruAgaJpZM4M6EsJ>.
|
I can second this issue. We use Ubuntu 14.04 and rt preempt patch and latest soem version from github. |
To clarify, you experience the issue in redundant? Can you provide more input? wireshark logs? |
No, sorry, we use Here is the verbose log from successful run (wireshark log: ethercat_startup_success_wireshark.pcapng.zip):
And here is the log of a failed run:
As you can see, the Isize of the failed run is 0 for slave 2. |
Is this information you need or do you need other logs? |
It is a good start, I get back to you case I need more. |
@mirkow I think it is a SOEM timeout tuning issue in combination with a bad behaving slave. Somewhere you need to find the optimal soultion for your system, how many tasks can you run in parallel and at what timeouts. The Error log is just a result of two many tasks running at to low timeouts at the same time. |
With the suggestion from your link above to set EC_TIMEOUTRET to 5000 we didn't encounter any failure so far. |
I close this since it is probably a timeout issue, we recommend using 1 config thread , if more used re tuning is needed to compensate for parallel access. Pull to default to 1 config thread. #112 |
Tested yesterday increasing timeout does not solve the problem.
Sent by Mailwise – Your emails, with style.:)
…-------- Originalnachricht --------
Betreff: Re: [OpenEtherCATsociety/SOEM] Problems with ec_init_redundant (#98)
Von: nakarlsson <notifications@github.com>
An: OpenEtherCATsociety/SOEM <SOEM@noreply.github.com>
Cc: NilsLo <lohmann@strauss-pack.com>,Author <author@noreply.github.com>
I close this since it is probably a timeout issue, we recommend using 1 config thread , if more used re tuning is needed to compensate for parallel access. Pull to default to 1 config thread. #112
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#98 (comment)
|
Reopen if you can provide more input, otherwise it is hard to help you. |
If I use ec_init, all bus participants are correctly initialized.
By unsing ec_init_redundant init I get messages wrong input configuration.
If #define EC_MAX_MAPT 1 is used, the participants are initialized correct.
The text was updated successfully, but these errors were encountered: