canlab-cz / triple Goto Github PK
View Code? Open in Web Editor NEWLinux SocketCAN driver for USB2CAN Triple from Canlab s.r.o.
Home Page: http://www.rs.canlab.cz/?q=cs/node/123
License: GNU General Public License v3.0
Linux SocketCAN driver for USB2CAN Triple from Canlab s.r.o.
Home Page: http://www.rs.canlab.cz/?q=cs/node/123
License: GNU General Public License v3.0
tripled_64
is crashing when setting user defined bittiming.
sudo ./tripled_64 ttyACM0 -s0x09:0x0A:0x21 -c10:6:1:1:10:6:1:1:0:0:2 -ncan0:can1:canfd2
Neoprávněný přístup do paměti (SIGSEGV)
With debugging prints:
sudo ./tripled_64 ttyACM0 -s0x09:0x0A:0x21 -c10:6:1:1:10:6:1:1:0:0:0 -ncan0:can1:canfd2
str=10, num=10
str=6, num=6
str=1, num=1
str=1, num=1
Neoprávněný přístup do paměti (SIGSEGV)
First problem is, that user_speed
should have 11 items, not only 10:
Line 91 in 4aa706b
Second problem is with tmp
, which should also have 11 items:
Line 107 in 4aa706b
Both are used in this loop:
Lines 166 to 167 in 4aa706b
I'm using Fedora 35 with kernel 5.16.11, but unfortunately, driver
does not compile with this kernel version. I tried to fix it (see commit 97d4bc0), and I fixed compilation problems, but when executing candump
, the whole system froze, so there is some other problem as well.
I'm missing predefined speeds with equal nominal and data baud rates. Would it be possible to add them?
Currently I'm setting 500/500 kb/s with -c10:6:1:1:10:6:1:1:0:0:0
, is it correct?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.