-
Notifications
You must be signed in to change notification settings - Fork 146
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
Failed to allocate Memory #101
Comments
Looks like overflow, master->process_data_size is -120624156508160. but why... |
Could you please post the contents of your |
<masters>
<master idx="0" appTimePeriod="1000000" refClockSyncCycles="-1">
<slave idx="0" type="EK1101"/>
<!-- <slave idx="0" type="EK1100"/> -->
<slave idx="1" type="EL1008"/>
</master>
</masters> I hard coded the master->process_data_size in ethercat lib/master to sizeof(int) and it seems to work now. (until I get more slaves on the network. |
EK1100 works on our older computers running kernel 4.10 for the EK1101, but on my newer laptop I need kernel 5.10 for processor support and tried both the 1101 and 1100. (From pr #102) |
Do you use the source code from the official repo https://gitlab.com/etherlab.org/ethercat or the unofficial one https://github.com/ribalda/ethercat ? Do you use generic drivers with kernel 5.10? Did you try Hard coded slave description works until you get more slaves on the network? Do you get a core dump of lcec crash? |
If I set master->process_data_size = 2, I can have 2 slaves or less, I get unmatched datagram errors with more
|
You use https://github.com/ribalda/ethercat has some commits for 5.x, although I could find any adopted drivers for kernels newer than 4.19 . |
Looking for assistance on this one.
I see the error is actually originating from the IGH code, however the driver seems to working on their end.
I can see the master and slaves and communicate with Ethercat commands. But I can't seem to run it in LCNC
The text was updated successfully, but these errors were encountered: