408b7f8b
408b7f8b
I forked the repository and did a fix for us, which could be taken as a possible solution. https://github.com/research-virtualfortknox/nopoll/commit/026638d832d4140d8209fd89c7824d8a8af216e4
I'd put a single outcommented define via the CMakeLists.txt, like "add_compile_definitions(NO_FLEXIBLE_METHOD)", that may be activated. The new methods are available in all current OpenSSL versions (1.0.2 and 1.1.0), and as...
Excuse me, I meant 1.0.2q and 1.1.0j.
I had the time to dig a little bit further. The callback line for the sdoWriteRequests `EcUtilities.CheckErrorCode(this.Context, EcUtilities.SdoWrite(this.Context, slaveIndex, sdoWriteRequest.Index, sdoWriteRequest.SubIndex, sdoWriteRequest.Dataset), nameof(EcHL.SdoWrite));` in EcMaster.cs fails with the buffer overflow...
The SdoWrite-Method in EcUtilities.cs also works fine, values aren't mangled up there either, so I guess its happening somewhere in the SOEM lib.
I think I found the error, though I am not sure if it actually is an error, because I do not know the code's logic well enough. SOEM_wrapper in SOEM_wrapper.c,...
I can have a further look into the issue tomorrow and try to understand the logics. Is line 1030 in SOEM_wrapper.c the right approach with running ecx_SDOwrite with Complete Access...
The totalByteCount is calculated as 2, which should be correct? I don't have any idea how to setup a real tooling/debug chain for this, so I can only abuse the...
> Since a few years now I was dreaming of a pure C# EtherCAT master so that we get rid of these kind of errors but other duties come into...