【问题标题】:How do I implement a userspace implementation of the character device for EtherCAT master?如何为 EtherCAT 主站实现字符设备的用户空间实现?
【发布时间】:2017-09-22 22:36:33
【问题描述】:

我正在从事一个个人项目,并想尝试在用户空间而不是内核空间中实现字符设备。我正在使用这个 github 项目https://github.com/ningfei/ethercat。我知道这真的很详尽,因为我需要用模拟表示替换所有 linux 内核系统调用。有人可以给我一个想法吗?

下图展示了ethercat的架构。Ethercat architecture

【问题讨论】:

    标签: c linux-kernel kernel driver ethercat


    【解决方案1】:

    换句话说,您希望 EtherLAB 主控的所有部分都在用户空间中运行, 然后试试http://fh-soft.de/src/ethercat-userspace.html

    请记住,纯用户空间版本的 EtherLAB master 意味着更高的延迟和更低的循环频率。

    【讨论】:

      猜你喜欢
      • 2012-12-12
      • 1970-01-01
      • 2018-04-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-10-21
      相关资源
      最近更新 更多