This forum covers PCAN-Linux and Linux development issues concerning our products
-
aguan.zhang
- Posts: 18
- Joined: Thu 18. Jun 2020, 05:11
Post
by aguan.zhang » Mon 18. Sep 2023, 02:34
Hi All,
The following error will be reported when replay the blf canlog on Ubuntu 16 for 10 minutes:
Code: Select all
can.CanError: Transmit buffer full
My Pcan Device: PCAN-USB Pro(IPEH-004061 19193)
Setting CAN device up commands:
Code: Select all
ifconfig can0 txqueuelen 1000
ip link set can0 up type can bitrate 500000 sample-point 0.75 dbitrate 2000000 dsample-point 0.75 fd on restart-ms 100
Sending raw message commands by calling python-can packages as follows:
Code: Select all
bus.send(raw_message, timeout=0.5)
Do you have any suggestions to avoid the Transmit buffer full?
Thanks
BRs
aguan.zhang
-
PEAK-Support
- Sales & Support

- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Post
by PEAK-Support » Mon 18. Sep 2023, 09:55
We do not support blf Format - so you use a software which is not from our company. We also do not support in 2023 a Ubuntu Version from 2016...sorry...
Looks like you use socket CAN - please post cat/proc/pcan
Even if we don't know the software you are using here I would say that with an error "Transmit buffer full" the transmit buffer can't be processed.
This indicates that your CAN controller can not really transmit (no ACK from another station, which can have different reasons).
Please check if you have setup the Bitrate correct, that a second active CAN Node is connected and that your network is well terminated (2 x 120 Ohm)
Also do not overload the CAN-Bus ! Check the physical BUSLOAD (using a layer 1 Tool,m that also include Error Frames in the BUSLOAD measuring like our PCAN-Diag Devices)
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------