Igh related:Small Bug And Notes Record.

Write at the top

My computer got some silly problem with the typing software that my Chinese IM does't work again. So I'll try to record the things happened in English.

If any error,DM me plz.

BUGs

BUG1

Undefined symbol Identifier "CLOCK_MONOTONIC"

Undefined symbol Identifier "TIMER_ABSTIME"

Solution

In your main cpp file, add this in the first line:
#define _GNU_SOURCE

Notes

Command Line Notes

  1. 0x1c12(SM2)
    0x1c12 is SM2 Related Index , Specially used in EtherCAT over the CANOpen.
    Aimed to set the RPDO settings.

sudo ethercat upload -t int8 -p 3 -a 0 0x1c12 00

0x01 1

sudo ethercat upload -t int16 -p 3 -a 0 0x1c12 01

0x1600 5632
sudo ethercat upload -t int16 -p 3 -a 0 0x1c12 31

SDO transfer aborted with code 0x06090011: Subindex does not exist
sudo ethercat upload -t int16 -p 3 -a 0 0x1c12 30

0x1621 5665

Index SubIndex Size Default Value
0x1c12 00 int8 0x01
0x1c12 01 int16 0x1600(5632)
0x1c12 02 int16 0x1601(5634)
... ... ... ...
0x1c12 29 int16 0x1620(5664)
0x1c12 30 int16 0x1621(5665)
Index SubIndex Size Default Value
0x1600 00 int8 0x03
0x1600 01 int32 0x607a0020(1618608160)
0x1600 02 int32 0x60fe0120(1627259168)
0x1600 03 int32 0x60400010(1614807056)

2.0x1c13(SM3)

Index SubIndex Size Default Value
0x1c13 00 int8 0x01
0x1c13 01 int16 0x1a00(6656)
0x1c13 02 int16 0x1a01(6657)
... ... ... ...
0x1c13 33 int16 0x1a24(6692)
0x1c13 34 int16 0x1a26(6694)
0x1c13 35 int16 0x0000(0)

Set 0x1c12 0 to 0

Then set it to the true number

Set 0x1600 0 to 0

Then set it to the true number 1

Set 0x1601 0 to 0

Then set it to the true number 1

相关推荐
mftang14 天前
EtherCAT协议:从“飞读飞写”机制到分布式时钟同步的实时以太网架构深度解析
分布式·架构·ethercat·分布式时钟·从站控制器
hlpinghcg25 天前
HPM CIA402工程融合FOE
ota·ethercat·hpm·foe·先辑
嵌入式科普1 个月前
嵌入式科普(57) 各类MCU/MPU的以太网功能详细对比
以太网·ethercat·profinet·gmac
企鹅的蚂蚁1 个月前
LubanCat RK3588 实时 Linux 开发实战(十四):EtherCAT 主站方案选择与 Full SDK 准备
rk3588·lubancat·嵌入式linux·ethercat·full sdk
@嵌入式扫地僧1 个月前
国产 RISC-V 机器人关节 MCU 量产落地解析:硬件 EtherCAT 支持与进口替代完整指南
机器人·risc-v·ethercat·国产化替代·机器人关节mcu
北京盟通科技官方账号1 个月前
高通 IQ-9075 部署 EC-Master 实战指南:环境构建与实时 Linux (RT) 系统烧录
人工智能·机器人·yocto·ethercat·ecmaster·盟通科技·rt kernel
hlpinghcg2 个月前
HPM Twincat Inputs全为0解决方法
ethercat·hpm
方芯半导体2 个月前
EtherCAT 从站方案中 MAC、PHY 与 MII 的层级关系与实现解析
网络·人工智能·单片机·macos·ethercat
hlpinghcg2 个月前
HPM(先辑) ESC相关配置
ethercat·hpm·先辑
方芯半导体2 个月前
国产EtherCAT从站控制器+Cortex-M4内核MCU:方芯FCM4E2353芯片及开发板介绍
网络·人工智能·单片机·嵌入式硬件·ethercat·esc