Erik Calissendorff wrote:
> Hi I have tried to get the mcp251x driver to work with the Overo
> Gumstix for sometime now.
> 
> I finally got the driver and the SPI communication to work with kernel
> 2.6.31 and was thereafter able to use iproute to initiate the bitrate,
> which didn't work with previous kernel versions. But I still can't see

Hm, could you please be more precise? What did not work which what
version of the kernel, iproute2 and Socket-CAN?

> any data sent or received on the can0 interface. I have inserted print
> statements in the module to be able to debug it but I'm still stuck.
> If someone could point me in the right direction it would be highly
> appreciated. I'm running the modules from SVN rev 1064.

I suspect either a electrical problem on the CAN bus or with the SPI
transfer. Chris already commented on that latter. Here just some useful
commands for debugging:

- Run "candump any,0:0,#ffffffff" to check if messages are received.
  including error messages.

- The "ip" program has some nice statistics information:

  "ip -d -s link show can0"

Wolfgang.

_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to