Replies: 2 comments 12 replies
-
Hello, KickCAT rely on the eeprom configuration on each slaves to determine which ressources (SyncManager, FMMU) to use. The crash you encountered seems to be due to a eeprom that do not have a sync manager section fully described. You can check this with the printInfo() after the bus initialization. For instance this is what I get with a working device (CANOpen):
Be sure to have SM and FFMU entries for logical accesses (Input/Output, not mailbox). |
Beta Was this translation helpful? Give feedback.
-
Hello Kapil, The patch was merged today so you should be able to start the bus now. However you still need to adapt the easycat_example to suit your slaves configuration (slave 0 and 3 have no inputs nor outputs and 1 has only one byte input). If you don't adapt the example, the code will crash on output access (177 and 181). |
Beta Was this translation helpful? Give feedback.
-
Hello,
I came across this library and I am testing it on my BeckHoff EtherCat devices. When I executed the easycat example, it discovers the 3 slaves on the bus but when it tries to call bus.createMapping(io_buffer), it gives an segmentation fault error. The error seems at line 562 in bus.cc file. Has anyone came across this issue? Any help appreciated!!
Beta Was this translation helpful? Give feedback.
All reactions