Re: [etherlab-users] e1000e driver freeze on kernel 4.9.80 rtai 5.1

2018-09-25 Thread René Reimann
Hello, we are experiencing the same problem with rtai 5.1 kernel 4.9.80 and rtai 5.0 kernel. The system freezes randomly after several minutes with the e1000e and the unofficial patches. Does somebody have an idea how to fix this? Best Regards René Reimann On 23.09.2018 22:29, Gianluca

Re: [etherlab-users] e1000e driver freeze on kernel 4.9.80 rtai 5.1

2018-09-25 Thread Gavin Lambert
One of the first things you should try is to triage the patches by rolling them back and then adding them one at a time and testing until you find which patch appears to introduce the problem (or whether it exists in the baseline without any patches). In most cases you can then try skipping

Re: [etherlab-users] Read from/write to the slave's object dictionary using SDOs

2018-09-25 Thread Gavin Lambert
There’s a number of different ways to do it, depending on why and how you want to do it. If this is a configuration setting (especially if it needs to be re-sent every time the slave reboots) that you can write (without needing to read anything), then you should use one of the

Re: [etherlab-users] API for enabling/disabling sync managers of a slave

2018-09-25 Thread Gavin Lambert
You typically don’t need to explicitly disable a sync manager; you simply don’t refer to it or any PDOs it contains, and then it will not be included in the domain’s data. Alternatively, you can configure the sync manager but then list zero PDOs for it, to explicitly set the PDO Assign

Re: [etherlab-users] API for enabling/disabling sync managers of a slave

2018-09-25 Thread Mohsen Alizadeh Noghani
Thanks Gavin. 1- Would ecrt_slave_config_sync_manager(sc, 2, EC_DIR_OUTPUT, EC_WD_ENABLE ) enable Sync Manager 2 of slave sc? 2- How can I disable it then? I doesn't seems the function provides an option to enable/disable. Best, Mohsen On Tue, Sep 25, 2018 at 2:40 AM, Gavin Lambert wrote: >

[etherlab-users] Read from/write to the slave's object dictionary using SDOs

2018-09-25 Thread Mohsen Alizadeh Noghani
Hello everyone. How can I read from or write to an entry of a slave's object dictionary using SDO? I'm going to do this before my real-time task. For example, I would like to set the value of 0x6040 to 15 before my cyclic task. Best, Mohsen ___