On Fri, Aug 6, 2010 at 12:16 PM, Benny B. Simonsen <[email protected]> wrote:
> Hi,

Hi,

> problems. Missing frames, out of order frames and incorrect frames (wrong ID
> wrong payload)

Missing frames and out of order ones can happen. The former are
usually a consequence of slow SPI drivers (that use workqueues or such
for example) at low can speeds (on a s3c2440 with a decent SPI driver
(not the mainline one) I have no packet loss till 250 kbit/s). I have
no idea about OMAP SPI driver, I'll have a look at it when possible.
Out of order frames could be a result of the fact that we are using
two RX buffer and I guess there can be scenarios when we empty them in
wrong order. What is absolutely not acceptable are errors in frames.

> (1281087025.345513) can0 000#0000000000000000

I guess we should check what happens here. Looks like all zero were
read from the MCP251x. I would check with a printk if this is a bug in
the driver or we are really just reading zeros from the device (in
which case the SPI driver should be checked).


-- 
Christian Pellegrin, see http://www.evolware.org/chri/
"Real Programmers don't play tennis, or any other sport which requires
you to change clothes. Mountain climbing is OK, and Real Programmers
wear their climbing boots to work in case a mountain should suddenly
spring up in the middle of the computer room."
_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to