Git Product home page Git Product logo

Comments (5)

riodda avatar riodda commented on July 28, 2024

I tested with cantin wich is another slcan usb and i had no issue, therfore i fear the problem is not in the slcand but in the cantact firmware.
thanks.

from cantact-fw.

normaldotcom avatar normaldotcom commented on July 28, 2024

I have encountered some performance issues with cantact-fw on high bus load applications and when sending/receiving rapidly. I've been recommending the candlelight firmware to people with canable/cantact recently for high bus load applications on Linux--it works quite well.

https://github.com/HubertD/candleLight_fw

from cantact-fw.

riodda avatar riodda commented on July 28, 2024

Unfortunately there is no support on openwrt for gs_usb therfore no candlelight for me !
I have no need of receiving any frame i just need to send, is it there a way to set a filter with socketcan/slcan or in the firmware ?
thanks!

from cantact-fw.

riodda avatar riodda commented on July 28, 2024

I fear the problem is not in the firmware but in the hw, i guess i have some noise coming in when i receive frames, is that possible Ethan ? Thanks.

from cantact-fw.

snir-levi avatar snir-levi commented on July 28, 2024

I'm having the same issue here.
Using Cantact v1.0
I tried about everything:

  • Tried different bitrates on slcand with the cantact original firmware
  • Tried to transmit without intervals
  • Tried on bare metal linux with x86 kernel
  • Tried on Raspberry Pi 2 system with arm kernel
  • Flashed candleLight_fw and tried to use with it. same issue.

as @riodda said, i fear the issue is the hw.
The reason is that i tried 2 firmwares, and also tried this expermint:
One edge connected with usb to my computer and the other does not connected to the OBD2 (to figure out if it is the can bus issue and not the hw side)
I transmitted the messages manually with cansend, and looking at the statistics, after 3 messages i couldn't transmit anymore:

95: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 10
link/can promiscuity 0
can state ERROR-PASSIVE restart-ms 0
bitrate 500000 sample-point 0.875
tq 125 prop-seg 6 phase-seg1 7 phase-seg2 2 sjw 1
gs_usb: tseg1 1..16 tseg2 1..8 sjw 1..4 brp 1..1024 brp-inc 1
clock 48000000
re-started bus-errors arbit-lost error-warn error-pass bus-off
0 0 0 4 1 0
RX: bytes packets errors dropped overrun mcast
128 16 0 0 0 0
TX: bytes packets errors dropped carrier collsns
24 3 0 0 0 0

Any ideas?

from cantact-fw.

Related Issues (14)

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.