Comments (3)
Can you send a candump log (candump -L canX) output?
Are you using the CAN_ISOTP_FORCE_TXSTMIN flag in the can_isotp_options ?
from can-isotp.
The CAN_ISOTP_FORCE_TXSTMIN flag was not set, and the below shows some debug from the module, can get raw can log next week if required.
Feb 12 11:19:39 LINUX11 kernel: [ 112.102963] peak_usb 1-14:1.0 can0: setting BTR0=0x01 BTR1=0x1c
Feb 12 11:19:39 LINUX11 kernel: [ 112.115672] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
Feb 12 11:19:39 LINUX11 kernel: [ 112.118186] can: isotp protocol (rev 20200115 alpha)
Feb 12 11:20:50 LINUX11 kernel: [ 182.881660] peak_usb 1-14:1.0 can0: setting BTR0=0x01 BTR1=0x1c
Feb 12 11:24:26 LINUX11 kernel: [ 399.055074] CIFS: Attempting to mount //S-BIR3341-V1/linux
Feb 12 11:28:23 LINUX11 kernel: [ 636.310910] barcode_mgr (6358) used greatest stack depth: 5544 bytes left
Feb 12 11:28:24 LINUX11 kernel: [ 637.647914] peak_usb 1-14:1.0 can0: setting BTR0=0x01 BTR1=0x1c
Feb 12 11:28:24 LINUX11 kernel: [ 637.665909] can: isotp protocol (rev 20200115 alpha)
Feb 12 11:30:01 LINUX11 kernel: [ 734.251611] peak_usb 1-14:1.0 can0: setting BTR0=0x01 BTR1=0x1c
Feb 12 11:30:01 LINUX11 kernel: [ 734.266233] can: isotp protocol (rev 20200212 alpha)
Feb 12 11:31:15 LINUX11 kernel: [ 808.730185] peak_usb 1-14:1.0 can0: setting BTR0=0x01 BTR1=0x1c
Feb 12 11:31:15 LINUX11 kernel: [ 808.748593] can: isotp protocol (rev 20200212 alpha)
Feb 12 11:32:16 LINUX11 kernel: [ 869.442777] peak_usb 1-14:1.0 can0: setting BTR0=0x01 BTR1=0x1c
Feb 12 11:32:23 LINUX11 kernel: [ 876.646818] can-isotp: isotp_sendmsg: starting txtimer for fc
Feb 12 11:32:23 LINUX11 kernel: [ 876.649901] can-isotp: isotp_rcv_fc: FC frame: FS 0, BS 0, STmin 0x00, tx_gap 4448256
Feb 12 11:32:23 LINUX11 kernel: [ 876.649905] can-isotp: isotp_rcv_fc: starting txtimer for sending
Feb 12 11:32:23 LINUX11 kernel: [ 876.654510] can-isotp: isotp_tx_timer_tsklet: next pdu to send.
Feb 12 11:32:23 LINUX11 kernel: [ 876.654529] can-isotp: isotp_tx_timer_tsklet: we are done
Feb 12 11:32:24 LINUX11 kernel: [ 877.189778] can-isotp: isotp_sendmsg: starting txtimer for fc
Feb 12 11:32:24 LINUX11 kernel: [ 877.192186] can-isotp: isotp_rcv_fc: FC frame: FS 0, BS 0, STmin 0x00, tx_gap 4448256
Feb 12 11:32:24 LINUX11 kernel: [ 877.192187] can-isotp: isotp_rcv_fc: starting txtimer for sending
Feb 12 11:32:24 LINUX11 kernel: [ 877.196637] can-isotp: isotp_tx_timer_tsklet: next pdu to send.
Feb 12 11:32:24 LINUX11 kernel: [ 877.201089] can-isotp: isotp_tx_timer_tsklet: next pdu to send.
Feb 12 11:32:24 LINUX11 kernel: [ 877.205539] can-isotp: isotp_tx_timer_tsklet: next pdu to send.
Feb 12 11:32:24 LINUX11 kernel: [ 877.209991] can-isotp: isotp_tx_timer_tsklet: next pdu to send.
Feb 12 11:32:24 LINUX11 kernel: [ 877.214478] can-isotp: isotp_tx_timer_tsklet: next pdu to send.
Feb 12 11:32:24 LINUX11 kernel: [ 877.219101] can-isotp: isotp_tx_timer_tsklet: next pdu to send.
Feb 12 11:32:24 LINUX11 kernel: [ 877.223693] can-isotp: isotp_tx_timer_tsklet: next pdu to send.
Feb 12 11:32:24 LINUX11 kernel: [ 877.228266] can-isotp: isotp_tx_timer_tsklet: next pdu to send.
Feb 12 11:32:24 LINUX11 kernel: [ 877.232738] can-isotp: isotp_tx_timer_tsklet: next pdu to send.
Feb 12 11:32:24 LINUX11 kernel: [ 877.237366] can-isotp: isotp_tx_timer_tsklet: next pdu to send.
Feb 12 11:32:24 LINUX11 kernel: [ 877.241843] can-isotp: isotp_tx_timer_tsklet: next pdu to send.
Feb 12 11:32:24 LINUX11 kernel: [ 877.246562] can-isotp: isotp_tx_timer_tsklet: next pdu to send.
Feb 12 11:32:24 LINUX11 kernel: [ 877.251272] can-isotp: isotp_tx_timer_tsklet: next pdu to send.
Feb 12 11:32:24 LINUX11 kernel: [ 877.255978] can-isotp: isotp_tx_timer_tsklet: next pdu to send.
Feb 12 11:32:24 LINUX11 kernel: [ 877.260647] can-isotp: isotp_tx_timer_tsklet: next pdu to send.
Feb 12 11:32:24 LINUX11 kernel: [ 877.265344] can-isotp: isotp_tx_timer_tsklet: next pdu to send.
Feb 12 11:32:24 LINUX11 kernel: [ 877.269969] can-isotp: isotp_tx_timer_tsklet: next pdu to send.
Feb 12 11:32:24 LINUX11 kernel: [ 877.274664] can-isotp: isotp_tx_timer_tsklet: next pdu to send.
Feb 12 11:32:24 LINUX11 kernel: [ 877.279358] can-isotp: isotp_tx_timer_tsklet: next pdu to send.
Feb 12 11:32:24 LINUX11 kernel: [ 877.283843] can-isotp: isotp_tx_timer_tsklet: next pdu to send.
Feb 12 11:32:24 LINUX11 kernel: [ 877.288516] can-isotp: isotp_tx_timer_tsklet: next pdu to send.
from can-isotp.
When you provide the struct can_isotp_options with the CAN_ISOTP_OPTS sockopt there is a field for frame_txtime.
I assume that you pass the '4448256' value here - maybe through an uninitialized memory.
from can-isotp.
Related Issues (20)
- use read() function and add notify function. HOT 18
- ERRNO 84 on recv() HOT 2
- FlowControl: isotp vs. "real" OBD2 adapter behavior HOT 4
- how to send > 4095 isotp message HOT 3
- wait_tx_done does not seem to be working [RPi + python-can-isotp] HOT 31
- MAX_MSG_LENGTH to 66000 commit is missing from this repo HOT 1
- When trying to read 8K messages on ISO-TP socket using Classic CAN receive back -1 with errno 110 ETIMEDOUT HOT 5
- FlowControl frame address tx_id vs. rx_id - 8? HOT 2
- Unrecoverable error when using python socket with CAN_ISOTP. HOT 8
- Sending rate cannot be faster than 300us HOT 12
- unstable transmission of data: sequence number of consecutive frames get messed up HOT 3
- MSG_CMSG_COMPAT set by the kernel for `recvmsg` HOT 7
- Compiling of branch mainline-5.4+ HOT 2
- IP over CAN ISO-TP multi-host HOT 2
- Address extension in one direction but not the other HOT 2
- ISOTP module does not ignore the priority bits (high 3 bits of extended ID) HOT 4
- read: Network is down HOT 2
- missing feedback on expired timer for first flow control (FC) frame HOT 2
- best way to programatically test if the module is installed? HOT 6
- make fails and I can't figure out why. Hoping someone can help out HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from can-isotp.