OpenEtherCATsociety / SOEM

Simple Open Source EtherCAT Master
Other
1.24k stars 653 forks source link

Soem running on zynq(ARM based) getting "Bind error: Cannot assign requested address" #743

Closed WillyTuring closed 9 months ago

WillyTuring commented 9 months ago

Hi all,

I have migrated my code from a desktop linux machine to a zynq-chip based xilinx zybo board, after compiling it successfully for ARM architecture, i tried to run the executable on the board but get the error of "Bind error : Cannot assign requested address".

Here is the full print out display: 1. "test_01:~/controller$ sudo ./controller eth0 4000 SOEM (Simple Open EtherCAT Master) Redundancy test Bind error : Cannot assign requested address" 2. "eth0 Link encap:Ethernet HWaddr 00:0A:35:00:1E:53 inet addr:192.168.1.7 Bcast:0.0.0.0 Mask:255.255.255.0 inet6 addr: fe80::20a:35ff:fe00:1e53/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:160 dropped:0 overruns:0 frame:160 TX packets:160 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:51144 (49.9 KiB) Interrupt:39 Base address:0xb000"

macb e000b000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off

Does anyone have any thoughts, thanks in advance.