* Clear errorframe
@ 2016-07-19 14:12 Laurenz
2016-07-20 8:38 ` Wolfgang Grandegger
0 siblings, 1 reply; 4+ messages in thread
From: Laurenz @ 2016-07-19 14:12 UTC (permalink / raw)
To: linux-can
Hi,
when I "cansend can0 000#" and no device is attached to my bus, "candump
-e any,#FFFFFFFF" will print a no-acknowledgement-on-tx errorframe forever.
Is there a way to clear the error?
Cheers
Laurenz
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Clear errorframe
2016-07-19 14:12 Clear errorframe Laurenz
@ 2016-07-20 8:38 ` Wolfgang Grandegger
2016-07-20 8:49 ` Laurenz
0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Grandegger @ 2016-07-20 8:38 UTC (permalink / raw)
To: Laurenz, linux-can
Hello,
Am 19.07.2016 um 16:12 schrieb Laurenz:
> Hi,
>
> when I "cansend can0 000#" and no device is attached to my bus, "candump
> -e any,#FFFFFFFF" will print a no-acknowledgement-on-tx errorframe forever.
>
> Is there a way to clear the error?
That is *normal* behaviour. It's the hardware retrying to send out the
message. Is it necessary to send such an error message for each retry?
Well, that's discussable. What CAN controller are you using?
Wolfgang.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Clear errorframe
2016-07-20 8:38 ` Wolfgang Grandegger
@ 2016-07-20 8:49 ` Laurenz
2016-07-20 12:27 ` Wolfgang Grandegger
0 siblings, 1 reply; 4+ messages in thread
From: Laurenz @ 2016-07-20 8:49 UTC (permalink / raw)
To: Wolfgang Grandegger, linux-can
Hi Wolfgang,
> What CAN controller are you using?
This was an Ixxat USB-to-CAN V2.
I tested with an PCAN-USB and it sends one
controller-problem{rx-error-warning,tx-error-warning} followed by one
controller-problem{rx-error-passive,tx-error-passive} in the same test.
So I can just ignore the repeated error? I will write to Ixxat support,
maybe they can change it.
Thanks
Laurenz
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Clear errorframe
2016-07-20 8:49 ` Laurenz
@ 2016-07-20 12:27 ` Wolfgang Grandegger
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Grandegger @ 2016-07-20 12:27 UTC (permalink / raw)
To: Laurenz, linux-can
Hello Laurenz,
Am 20.07.2016 um 10:49 schrieb Laurenz:
> Hi Wolfgang,
>
>> What CAN controller are you using?
> This was an Ixxat USB-to-CAN V2.
>
> I tested with an PCAN-USB and it sends one
> controller-problem{rx-error-warning,tx-error-warning} followed by one
> controller-problem{rx-error-passive,tx-error-passive} in the same test.
The exact message depends on the CAN controller.
> So I can just ignore the repeated error? I will write to Ixxat support,
> maybe they can change it.
Yes, you could change your error message mask in case you are not
interested in such messages.
In general, it might be a better policy to treat such errors like bus
errors allowing to enabled them on demand.
Wolfgang.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-07-20 12:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-19 14:12 Clear errorframe Laurenz
2016-07-20 8:38 ` Wolfgang Grandegger
2016-07-20 8:49 ` Laurenz
2016-07-20 12:27 ` Wolfgang Grandegger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).