Open jingjm opened 5 months ago
A Wireshark of the start-up might help.
And if you wait a while longer the slave will probably present some SAFEOP + Error that might guide you, since it is a SSC Device you can seelk help in that documentation?
And it helps when you actually enable sync0. Now the slave is waiting for the first sync pulse that never comes.
Thank for reply. After I wait longer, it really goes to SAFE_OP + Error state.
Hello everyone!
I have read following issues carefully, but maybe I still missed sth. https://github.com/OpenEtherCATsociety/SOEM/issues/520 https://github.com/OpenEtherCATsociety/SOEM/issues/487
My slave is using LAN9252 (on a self made dev board), it can go SM-sync without any problem. But when I tried to use DC-sync, it only stay on SAFE_OP, can not goto OP state. My question is whether my understanding of master side process is right (see code below) or I should check the slave side?
I was trying strategy b) (described in issue 520) as a) seems not work for LAN9252. b) Do slave configuration and synchronisation both in pre-OP and work around some details.
My code flow as below (modified based on red_test.c):
The output just show as below.
I print out the 0x1c32 and 0x1c33, the "Synchronization Type" seems right for DC sync.