Giter VIP home page Giter VIP logo

Comments (3)

hartkopp avatar hartkopp commented on August 18, 2024

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.

zzincubus avatar zzincubus commented on August 18, 2024

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.

hartkopp avatar hartkopp commented on August 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.