Open spaceKelan opened 9 months ago
Dear all,
I added this to stackoverflow, a while ago as I thought it might be an issue on my side : https://stackoverflow.com/questions/76763697/why-does-candump-of-can-utils-flag-sent-frames-as-rx-instead-of-tx
raspberry pi sends messages:
On that device I have two terminals open:
to look at candump -x any expecting TX messages
candump -x any
to send messages cansend can0 <ID>#<data>
cansend can0 <ID>#<data>
device B receives the messages sent by raspberry pi.
However, raspberry pi displays the "RX" flag, even though socketcan is setup explicitly with loopback off.
loopback off
The candump on the TX side is malicious:
The frame counters increase correctly: I am confident the "TX" messages are falsely displayed with "RX" flag.
Did anybody else experience that bug or knows what the issue is?
I worked with candump of the can-utils toolbox two weeks ago and it worked fine. I did not update the toolbox since then.
candump
can-utils
When I turned loopback on, I received two messages with RX
loopback on
I rebooted both systems, reinstalled can-utils and still receive the same behavior.
Which CAN controller are you using on the raspi? ip --details -s -s -s link show can0
ip --details -s -s -s link show can0
Which Kernel version are you using? uname -a
uname -a
Dear all,
I added this to stackoverflow, a while ago as I thought it might be an issue on my side : https://stackoverflow.com/questions/76763697/why-does-candump-of-can-utils-flag-sent-frames-as-rx-instead-of-tx
raspberry pi sends messages:
On that device I have two terminals open:
to look at
candump -x any
expecting TX messagesto send messages
cansend can0 <ID>#<data>
device B receives the messages sent by raspberry pi.
However, raspberry pi displays the "RX" flag, even though socketcan is setup explicitly with
loopback off
.The candump on the TX side is malicious:
The frame counters increase correctly: I am confident the "TX" messages are falsely displayed with "RX" flag.
Did anybody else experience that bug or knows what the issue is?
I worked with
candump
of thecan-utils
toolbox two weeks ago and it worked fine. I did not update the toolbox since then.When I turned
loopback on
, I received two messages with RXI rebooted both systems, reinstalled
can-utils
and still receive the same behavior.