All of lore.kernel.org
 help / color / mirror / Atom feed
* m_can error/overrun frames on high speed
@ 2021-03-28  6:31 Belisko Marek
  2021-03-31  8:37 ` Marc Kleine-Budde
  0 siblings, 1 reply; 10+ messages in thread
From: Belisko Marek @ 2021-03-28  6:31 UTC (permalink / raw)
  To: linux-can

Hi,

I have a beaglebone based board and I'm performing some tests. I
discovered that when set bitrate to 500k during replaying can file
from PC to board ip detect 4-5 error/overrun frames. When comparing
the original file with received one few lines in candump are missing.
When decreased can speed to 125KB replaying the same file no
error/overruns are detected and files are the same. I'm not can expert
thus I'm asking for some advice on how to debug such phenomena. I'm
using mainline 4.12 kernel which shows this symptom. I compared
changes with the latest mainline kernel and there are few patches only
which seems can influence can behavior (others are only cosmetical). I
took :

3cb3eaac52c0f145d895f4b6c22834d5f02b8569 - can: c_can: c_can_poll():
only read status register after status IRQ
23c5a9488f076bab336177cd1d1a366bd8ddf087 - can: c_can: D_CAN:
c_can_chip_config(): perform a sofware reset on open
6f12001ad5e79d0a0b08c599731d45c34cafd376 - can: c_can: C_CAN: add bus
recovery events

I know most of the answers for such issues is to try latest kernel
(i'm in process trying 5.10).

Thanks and BR,

marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-04-28  8:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-28  6:31 m_can error/overrun frames on high speed Belisko Marek
2021-03-31  8:37 ` Marc Kleine-Budde
2021-04-01  9:04   ` Belisko Marek
2021-04-01  9:23     ` Marc Kleine-Budde
2021-04-01  9:36       ` Belisko Marek
2021-04-02 19:27     ` Marc Kleine-Budde
2021-04-05 17:31       ` Belisko Marek
2021-04-05 19:41         ` Belisko Marek
2021-04-28  8:18           ` Belisko Marek
2021-04-28  8:20             ` Marc Kleine-Budde

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.