gbcwbz

Results 28 comments of gbcwbz

@sirop No, I installed EtherCAT master manually, maybe that's the reason. Thanks.

@shameless I reverted commit 7b1e4bb This commit changed make file, and used linuxcnc's Makefile.modinc, which maybe not correct in your system.

@shameless You only need to revert that single commit. How did you install linuxcnc ? I installed by a debian package in linuxcnc forum [Ubuntu PPA Repository](https://forum.linuxcnc.org/9-installing-linuxcnc/34998-ubuntu-ppa-repository#115262)

- The reason is the order of libraries in the link line. - In [Makefile.modinc](https://github.com/machinekit/machinekit-hal/blob/09405ced2a782751107012fab3eb27291264e99c/src/Makefile.modinc.in#L115), ```c $(Q)$(CC) -shared -Bsymbolic $(LDFLAGS) -Wl,--version-script,$*.ver -o $@ $^ $(EXTRA_LDFLAGS) ``` `LDFLAGS` includes `-llinuxcnchal -...

我看了下代码,这个 issue 里面提到的发送失败 continue 的问题已经改掉了,你遇到的也许是其他地方导致的, 比如驱动

我以前用的stm32f10x的bsp,好像也没有实现这个功能

- 定时器是面向HWTIMER设备的,所以就不讨论定时器ARR了,只讨论时间 - canfestival 中 `getElapsedTime` 的注释是Get the time elapsed since latest timer occurence,就是上次定时器触发到现在的时间,所以 getElapsedTime 不包含两次 SetAlarm 之间的时间 - rt_device_read 读取 HWTIMER 读到的是“自定时器开始 (rt_device_write) 之后的运行时”