Skip to contentSkip to conversation

system crushed using igh ethercat master 1.52

Xenomai 使用系统默认昵称 3 participants 3 messages Nov 13, 2015

lore
Share & tools
lore
#0 lore raw

hi,we modified and complied the examples/xenomai/ example program. and run it in x86 and ARM(beagleboard black) board to drive a servo. the linux system can drive a servo, but get crushed in 1-2 hours on x86 platform. however, the cross-complied program crushed at starting it on ARM platform.

we complied the realtime program and can run without problem. however, it cruched when we add the igh ethercat APIs.

our environment:
a) x86 intel 3GHz CPU+linux 3.14+xenomai2.6.4+igh 1.52
b) beagleboard black with 1Ghz TI A8 CPU+ linux 3.8 +xenomai 2.6.3+ igh 1.52

we are fllowing the instruction of both igh and xenomai to complied the paths. and now have no idea of solving the problem.

please help, we have working on this problem for 2 weeks.

thank,

#1 lore raw
Quoted 9 lines · 使用系统默认昵称

hi,we modified and complied the examples/xenomai/ example program. and run it in x86 and ARM(beagleboard black) board to drive a servo. the linux system can drive a servo, but get crushed in 1-2 hours on x86 platform. however, the cross-complied program crushed at starting it on ARM platform.

we complied the realtime program and can run without problem. however, it cruched when we add the igh ethercat APIs.

I suggest you direct your question to igh then.

Signature · 2 lines
					    Gilles.
https://click-hack.org
#2 lore raw
Quoted 8 lines · Gilles Chanteperdrix
Quoted 7 lines · 使用系统默认昵称

hi,we modified and complied the examples/xenomai/ example program. and run it in x86 and ARM(beagleboard black) board to drive a servo. the linux system can drive a servo, but get crushed in 1-2 hours on x86 platform. however, the cross-complied program crushed at starting it on ARM platform.

Quoted 5 lines
Quoted 2 lines

we complied the realtime program and can run without problem. however, it cruched when we add the igh ethercat APIs.

I suggest you direct your question to igh then.

where is the code that you are using to drive the servo?

I am driving a Grove servo [1] using Xenomai3 and the following driver [2] to generate the PWM with one of the available GPIOs - maybe you want to give it a go if you are also using a gpio pin?

[1] http://www.seeedstudio.com/depot/Grove-Servo-p-1241.html
[2]
http://git.xenomai.org/xenomai-jro.git/commit/?h=hikey&id=7a9e0b853fd3f51699220c78cb7543c1f5723ce3

Signature · 1 line
jro