Skip to content
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

some improvement on FoE (large mailboxes, busy answer, firmware_update) #56

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ghost
Copy link

@ghost ghost commented Aug 26, 2016

No description provided.

@mheden
Copy link
Collaborator

mheden commented Aug 26, 2016

CLA received.

@mheden
Copy link
Collaborator

mheden commented Sep 9, 2016

Sorry for the delay, I'll look over this as soon as my schedule permits.

@@ -57,8 +57,6 @@
#include "ethercatmain.h"
#include "ethercatfoe.h"

#define EC_MAXFOEDATA 512
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep EC_MAXFOEDATA and set it to EC_MAXMBX

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll commit the change in ethercatfoe with my comment, the changes in firmware we'll leave out.

@gralpli
Copy link

gralpli commented May 2, 2020

This pull request solves a problem for me! Why hasn’t this been accepted yet?

firm_update.c from the master branch always failed with status code -3. Wireshark revealed that the FoE response from the slave contained gibberish. (aFOEp->MbxHeader.mbxtype & 0x0f) evaluated to 0x0a.

I will investigate further what the actual problem was and why this pull request solved it.

@nakarlsson
Copy link
Contributor

Some minor updates of the PR for FoE, and I think the update of fimrware update should be handled in a seperate PR. Perhaps you can finish the started work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants