C/C++

Can4linux Driver level Problem, Disconnection on high traffic

0 39
Using Can4linux Driver for CAN communication  with External Module, which sends large amount of data packets.
While Receiving large traffic, CAN bus get discconnected with banana pro.
This is attached output when this disconnection happens and bus stop reading in blocking mode.

As module is sending only extended frame of maximum data length 8 to banana pro, i not getting why data length 12 and 0 frames with bD and bR frames are coming in picture.
Please find CAN traffic, suspected frames are marked.

Received with ret=1:   1511351520.216527 id=194020274/0x0b9083b2
        len=8 flags=0x04 : eD  ( 8): 00 00 00 00 00 00 00 00
Received with ret=1:   1511351520.224738 id=194020274/0x0b9083b2
        len=8 flags=0x04 : eD  ( 8): 00 00 00 00 00 1e 00 00
Received with ret=1:   1511351520.241980 id=196086786/0x0bb00c02
        len=4 flags=0x04 : eD  ( 4): 4f 00 00 00
Received with ret=1:   1511351520.259214 id=194020274/0x0b9083b2
        len=8 flags=0x04 : eD  ( 8): 23 23 48 4e b5 4b 01 00
Received with ret=1:   1511351520.276450 id=194020274/0x0b9083b2
        len=8 flags=0x04 : eD  ( 8): 05 4a fe 80 00 00 00 00
Received with ret=1:   1511351520.293685 id=194020274/0x0b9083b2
        len=8 flags=0x04 : eD  ( 8): ff ff ff ff ff ff a1 05
Received with ret=1:   1511351520.310913 id=69213952/0x04201f00
        len=6 flags=0x04 : eD  ( 6): 19 56 ad 19 71 3f
Received with ret=1:   1511351520.328145 id=194020274/0x0b9083b2
        len=8 flags=0x04 : eD  ( 8): 00 00 00 00 00 00 00 00
Received with ret=1:   1511351520.345379 id=194020274/0x0b9083b2
        len=8 flags=0x04 : eD  ( 8): 00 00 00 00 00 00 00 00
Received with ret=1:   1511351520.362612 id=194020274/0x0b9083b2
        len=8 flags=0x04 : eD  ( 8): 4a fe 80 00 00 00 00 00
Received with ret=1:   1511351520.379865 id=194020274/0x0b9083b2
        len=8 flags=0x04 : eD  ( 8): 0e 00 00 00 00 00 00 9e
Received with ret=1:   1511351520.388071 id=194020274/0x0b9083b2
        len=8 flags=0x04 : eD  ( 8): 00 00 00 00 02 23 07 ff
Received with ret=1:   1511351520.397135 id=194020274/0x0b9083b2
        len=8 flags=0x04 : eD  ( 8): 00 7f 01 00 00 00 00 00
Received with ret=1:   1511351520.414372 id=194020274/0x0b9083b2
        len=8 flags=0x04 : eD  ( 8): 00 00 00 00 00 01 07 7f
Received with ret=1:   1511351520.431609 id=194020274/0x0b9083b2
        len=8 flags=0x04 : eD  ( 8): ff ff ff ff ff ff ff a0
Received with ret=1:   1511351520.431628 id=1056/0x00000420
        len=12 flags=0x01 : bR  (12):
Received with ret=1:   1511351520.431635 id=29360128/0x01c00000
        len=0 flags=0x04 : eD  ( 0):
Received with ret=1:   1511351520.431638 id=0/0x00000000
        len=0 flags=0x00 : bD  ( 0):
Received with ret=1:   1511351520.431641 id=286329744/0x11110b90
        len=14 flags=0x04 : eD  (14): 1d 90 00 00 00 00 00 00
Received with ret=1:   1511351520.465572 id=4/0x00000004
        len=0 flags=0x00 : bD  ( 0):
Received with ret=1:   1511351520.465589 id=1056/0x00000420
        len=13 flags=0x01 : bR  (13):
Received with ret=1:   1511351520.465594 id=0/0x00000000
        len=0 flags=0x05 : eR  ( 0):
Received with ret=1:   1511351520.465597 id=800/0x00000320
        len=0 flags=0x00 : bD  ( 0):
Received with ret=1:   1511351520.465804 id=48879/0x0000beef
        len=4 flags=0x04 : eD  ( 4): 06 00 00 00
Received with ret=1:   1511351520.477216 id=285442079/0x1103801f
        len=1 flags=0x04 : eD  ( 1): 00
Received with ret=1:   1511351520.498740 id=278924319/0x10a00c1f
        len=1 flags=0x04 : eD  ( 1): ac
Received with ret=1:   1511351520.510098 id=285442079/0x1103801f
        len=1 flags=0x04 : eD  ( 1): 00
Received with ret=1:   1511351520.510111 id=278924319/0x10a00c1f
        len=1 flags=0x04 : eD  ( 1): ac
Received with ret=1:   1511351520.520697 id=196116699/0x0bb080db
        len=6 flags=0x04 : eD  ( 6): 06 11 00 00 00 02
Received with ret=1:   1511351520.537934 id=303005984/0x120f8120
        len=2 flags=0x04 : eD  ( 2): 18 00
Received with ret=1:   1511351520.555159 id=196116700/0x0bb080dc
        len=8 flags=0x04 : eD  ( 8): 04 00 00 02 00 00 00 00
Received with ret=1:   1511351520.572385 id=18055428/0x01138104
        len=4 flags=0x04 : eD  ( 4): 00 00 01 01
Received with ret=1:   1511351520.625770 id=18055428/0x01138104
        len=2 flags=0x04 : eD  ( 2): 00 01
Received with ret=1:   1511351520.725136 id=17268993/0x01078101
        len=8 flags=0x04 : eD  ( 8): e9 ed 03 00 00 00 02 00
Received with ret=1:   1511351520.742390 id=452952337/0x1aff8111
        len=8 flags=0x04 : eD  ( 8): 00 20 9c 11 e6 05 00 00
Received with ret=1:   1511351520.759647 id=196090882/0x0bb01c02
        len=4 flags=0x04 : eD  ( 4): 53 00 00 00
Received with ret=1:   1511351520.831125 id=194020274/0x0b9083b2
        len=8 flags=0x04 : eD  ( 8): 00 00 00 00 02 23 07 ff
Received with ret=1:   1511351520.848353 id=309952800/0x12798120
        len=3 flags=0x04 : eD  ( 3): 12 02 01
Received with ret=1:   1511351520.930197 id=309952800/0x12798120
        len=3 flags=0x04 : eD  ( 3): 12 02 01
Received with ret=1:   1511351521.029764 id=194020274/0x0b9083b2
        len=8 flags=0x04 : eD  ( 8): 00 00 00 00 00 1e 00 00
Received with ret=1:   1511351521.047007 id=194020274/0x0b9083b2
        len=8 flags=0x04 : eD  ( 8): ff ff ff ff ff ff ff a0
Received with ret=1:   1511351521.064248 id=309952800/0x12798120
        len=3 flags=0x04 : eD  ( 3): 12 02 01
Received with ret=1:   1511351521.127865 id=194020274/0x0b9083b2
        len=8 flags=0x04 : eD  ( 8): 00 00 00 00 00 00 00 00
Received with ret=1:   1511351521.136105 id=309952800/0x12798120
        len=3 flags=0x04 : eD  ( 3): 12 02 01
Received with ret=1:   1511351521.181327 id=309952800/0x12798120
        len=3 flags=0x04 : eD  ( 3): 12 02 01
Received with ret=1:   1511351521.244385 id=194020274/0x0b9083b2
        len=8 flags=0x04 : eD  ( 8): 00 00 00 00 00 42 03 00
Received with ret=1:   1511351521.261627 id=194020274/0x0b9083b2
        len=8 flags=0x04 : eD  ( 8): 00 00 00 00 00 00 00 00
Received with ret=1:   1511351521.278854 id=309952800/0x12798120
        len=3 flags=0x04 : eD  ( 3): 12 02 01
Received with ret=1:   1511351521.360239 id=194020274/0x0b9083b2
        len=8 flags=0x04 : eD  ( 8): 6b 03 00 00 35 03 00 00
Received with ret=1:   1511351521.377481 id=196086786/0x0bb00c02
        len=4 flags=0x04 : eD  ( 4): 51 00 00 00
Received with ret=1:   1511351521.476774 id=309952800/0x12798120
        len=3 flags=0x04 : eD  ( 3): 12 02 01
Received with ret=1:   1511351521.486380 id=194020274/0x0b9083b2
        len=8 flags=0x04 : eD  ( 8): 00 00 00 00 00 00 00 00
Received with ret=1:   1511351521.521609 id=194020274/0x0b9083b2
        len=8 flags=0x04 : eD  ( 8): 00 00 00 00 00 00 00 00
Received with ret=1:   1511351521.521625 id=309952800/0x12798120
        len=3 flags=0x04 : eD  ( 3): 12 02 01
Received with ret=1:   1511351521.522263 id=194020274/0x0b9083b2
        len=8 flags=0x04 : eD  ( 8): 00 00 00 00 00 1e 00 00
Received with ret=1:   1511351521.522442 id=309952800/0x12798120
        len=3 flags=0x04 : eD  ( 3): 12 02 01
Received with ret=1:   1511351521.535729 id=48879/0x0000beef
        len=4 flags=0x04 : eD  ( 4): 07 00 00 00
Received with ret=1:   1511351521.535743 id=285442079/0x1103801f
        len=1 flags=0x04 : eD  ( 1): 00
Received with ret=1:   1511351521.560018 id=278924319/0x10a00c1f
        len=1 flags=0x04 : eD  ( 1): ac
Received with ret=1:   1511351521.560031 id=285442079/0x1103801f
        len=1 flags=0x04 : eD  ( 1): 00
Received with ret=1:   1511351521.571345 id=278924319/0x10a00c1f
        len=1 flags=0x04 : eD  ( 1): ac
Received with ret=1:   1511351521.571356 id=196116699/0x0bb080db
        len=6 flags=0x04 : eD  ( 6): 07 11 00 00 00 02
Received with ret=1:   1511351521.583158 id=303005984/0x120f8120
        len=2 flags=0x04 : eD  ( 2): 18 00
Received with ret=1:   1511351521.583171 id=196116700/0x0bb080dc
        len=8 flags=0x04 : eD  ( 8): 04 00 00 02 00 00 00 00
Received with ret=1:   1511351521.583496 id=196090882/0x0bb01c02
        len=4 flags=0x04 : eD  ( 4): 55 00 00 00
Received with ret=1:   1511351521.594881 id=18055428/0x01138104
        len=4 flags=0x04 : eD  ( 4): 00 00 01 01
Received with ret=1:   1511351521.657322 id=18055428/0x01138104
        len=2 flags=0x04 : eD  ( 2): 00 01
Received with ret=1:   1511351522.578902 id=17268993/0x01078101
        len=8 flags=0x04 : eD  ( 8): e9 ed 03 00 00 00 02 00
Received with ret=1:   1511351522.587121 id=10493185/0x00a01d01
        len=1 flags=0x04 : eD  ( 1): ac
Received with ret=1:   1511351522.596166 id=452952337/0x1aff8111
        len=8 flags=0x04 : eD  ( 8): 00 20 9c 11 e6 05 00 00
Received with ret=1:   1511351522.613386 id=452952337/0x1aff8111
        len=8 flags=0x04 : eD  ( 8): 02 00 00 00 00 00 00 00
Received with ret=1:   1511351522.613390 id=194020274/0x0b9083b2
        len=7 flags=0x04 : eD  ( 7): 00 00 00 00 00 50 25
Received with ret=1:   1511351522.622707 id=285442079/0x1103801f
        len=1 flags=0x04 : eD  ( 1): 00
Received with ret=1:   1511351522.623818 id=278924319/0x10a00c1f
        len=1 flags=0x04 : eD  ( 1): ac
Received with ret=1:   1511351522.633249 id=285442079/0x1103801f
        len=1 flags=0x04 : eD  ( 1): 00
Received with ret=1:   1511351522.633429 id=303005984/0x120f8120
        len=2 flags=0x04 : eD  ( 2): 18 00
Received with ret=1:   1511351522.643024 id=196116700/0x0bb080dc
        len=8 flags=0x04 : eD  ( 8): 04 00 00 02 00 00 00 00
Received with ret=1:   1511351522.644114 id=18055428/0x01138104
        len=4 flags=0x04 : eD  ( 4): 00 00 01 01
Received with ret=1:   1511351522.655102 id=18055428/0x01138104
        len=2 flags=0x04 : eD  ( 2): 00 01
Received with ret=1:   1511351522.681376 id=17268993/0x01078101
        len=8 flags=0x04 : eD  ( 8): e9 ed 03 00 00 00 02 00
Received with ret=1:   1511351522.698593 id=10493185/0x00a01d01
        len=1 flags=0x04 : eD  ( 1): ac
Received with ret=1:   1511351522.742932 id=452952337/0x1aff8111
        len=8 flags=0x04 : eD  ( 8): 00 20 9c 11 e6 05 00 00
Received with ret=1:   1511351522.760149 id=452952337/0x1aff8111
        len=8 flags=0x04 : eD  ( 8): 02 00 00 00 00 00 00 00
Received with ret=1:   1511351522.777401 id=309952800/0x12798120
        len=3 flags=0x04 : eD  ( 3): 12 02 01
Received with ret=1:   1511351522.848874 id=196086786/0x0bb00c02
        len=4 flags=0x04 : eD  ( 4): 54 00 00 00
Received with ret=1:   1511351522.948187 id=12/0x0000000c
        len=0 flags=0x00 : bD  ( 0):
Received with ret=1:   1511351532.295632 id=4294967295/0xffffffff
        len=2 flags=0x00 : bD  ( 2): aa 0a

You have to log in before you can reply Login | Sign Up

Points Rules