Yes - I'm receiving all the messages I expect correctly.

I just looked a little closer, and it turns out I'm actually receiving the
error frame just BEFORE the correct frame.  In other words, if I send frame
0 1 2 3 4 5 to CAN ID 0 from my tester, candump prints:

 can0  20000004  [8] 00 01 00 00 00 00 00 00   ERRORFRAME
 can0    0  [6] 00 01 02 03 04 05

in that order (the ERRORFRAME first).  According to candump, I get one of
these ERRORFRAMEs (always the same) before each valid frame.


On Sun, Feb 20, 2011 at 6:22 AM, Wolfgang Grandegger <[email protected]>wrote:

> On 02/18/2011 11:19 PM, Joseph Kubicky wrote:
> > The message rate is low (about 25 frames/s).  I've stopped all periodic
> > frames and just sent single frames manually (from the Kvaser software)
> and I
> > still get the same error frame after each [correct] reception.
>
> Yes, and you seem to receive all messages correctly, without misses, I
> mean!?
>
> > Here's the output of that command:
> >
> > root:/> ip -d -s link show can0
> > 2: can0: <NOARP,UP,LOWER_UP,40000> mtu 16 qdisc pfifo_fast state UNKNOWN
> > qlen 10
> >     link/[280]
> >     can state STOPPED restart-ms 0
> >     bitrate 500000 sample-point 0.800
> >     tq 400 prop-seg 1 phase-seg1 2 phase-seg2 1 sjw 1
> >     bfin_can: tseg1 1..16 tseg2 1..8 sjw 1..4 brp 4..1024 brp-inc 1
> >     clock 125000000
> >     re-started bus-errors arbit-lost error-warn error-pass bus-off
> >     0          0          0          0          0          0
> >     RX: bytes  packets  errors  dropped overrun mcast
> >     20342390   2565939  1282969 0       1282969 0
>
> It seems, that you get an overrun error for every second event.
>
> Wolfgang.
>
_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to