Comments (4)
Note that writing multiple frames doesn't help. If I attach a timeout to the write call, I get a continual stream of "transmit frame: write can0: I/o timeout" until a frame is transmitted by another device on the bus, and then everything starts working again.
from can-go.
This is possibly due to a "bus off" condition. If the bus is completely disconnected, it will hang, but if I even have a device monitoring the bus, it seems to turn back on.
from can-go.
Hi @johnnyb,
One of the prerequisites of the CAN protocol is that there must be at least two devices listening on the bus for correct communication (i.e. two devices must be "bus on"). Trying to transmit on a bus with only one device is not possible.
from can-go.
I would think there would need to be something that happened besides "hang indefinitely" but since this is known and I have found a workaround for myself I'll close this out.
from can-go.
Related Issues (16)
- question on DBC file parsing HOT 2
- Add support for CAN FD HOT 1
- missing signals handling for large dbc files. j1939
- Marshall DBC frame for sending HOT 2
- DBC file parse error: expected token: ";", found: Int (0) (parse)
- Minus sign should not be treated as invalid char
- Generate code only for specific message HOT 1
- generate from dbc err
- go.mod content error HOT 3
- discussions and searchability HOT 2
- values with spaces generate invalid code
- bool mux types handling: cannot use 0 (type untyped int) as type bool
- potential bug/typo
- generating dbc file for obd2 fails HOT 2
- Not understanding the SetBit operations for Big Endian HOT 1
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-go.