On 05/18/2011 02:59 PM, Mark Slicker wrote:
> Marc,
> 
> Thanks for your quick response. I reverted to my old kernel/file
> system and did a simple test just to make sure there are no hardware
> problems, everything seems ok, and the single packet is received. But
> with the new configuration, no packet is received. I did the following
> command to set up the can:
> 
> /sbin/ip link set can0 type can bitrate 500000

you have to use "ifconfig can0 up" afterwords... :)

> And then I run my application, which listens for a message, and on my
> pc I send a single packet. Actually in ifconfig now it shows no
> packets received or transmitted and no errors, not sure what caused
> the errors before, but I can be certain that it is a software problem
> now.

What happens if you send a single CAN frame on the at91? Are you
properly switching on any transceivers in you board file?

regards, Mar

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to