Daniel Schnell wrote:
Hi,
I am struggling with Xenomai latest SVN and RT-Socket-CAN on a MPC5200B with MSCAN driver inside a Denx 2.4.25 kernel. Does anybody have this configuration actively running ? How do you use

Yes.

the provided rtcansend/rtcanreceive functions, so they actually transfer data over the wires ? I was doing the following:
rtcanconfig rtcan0 -b 125000 start
rtcansend rtcan0 -i 0 0x1 0x0
(returns)
rtcansend rtcan0 -i 0x1 0x0
(hangs, never comes back)
Actually the first rtcansend command does not seem to work, because a connected CAN IO unit doesn't show any reaction.

The first message seems not to go out to the wire and the second send blocks because the TX done interrupt of the first message has not yet occured (no TX hardware slot free). Is there a CAN node able to receive the message?

Any ideas ?

Likely, you have a problem with your clock setting, TX/RX routing or cabeling (termination etc.).

Wolfgang.


_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to