AnsweredAssumed Answered

Canbus utilities (canutils) on Sabrelite

Question asked by Giovanni Parodi on Jun 20, 2014
Latest reply on Jun 22, 2014 by Giovanni Parodi

Hello everybody.

I'm using a sabrelite revision D device, date 5/9/12 in order to test can interface.

I configured can on kernel and rebuilt canutils for my target application.

My problem is related to canutils.

While trying to dump data from can interface, I used the following commands

 

canconfig can0 bitrate 500000

ifconfig can0 up

./candump can0 -L

 

and everything works fine.

 

However when I try playing back  data to can0, using the command (the setup lines concerning canconfig  have already been performed):

     ./cansend can0 0CF00203#CC0000FFF00000EF

 

 

I receive the message:

write: No buffer space available

 

Furthermore I receive no message on the connected device (this is a working unit used for can sniffing, I'm sure it is ok).

Any help about what to check on the unit setup will be really appreciated.

Giovanni

Outcomes