Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CAN support #2

Closed
spth opened this issue Jan 6, 2016 · 3 comments
Closed

CAN support #2

spth opened this issue Jan 6, 2016 · 3 comments

Comments

@spth
Copy link

spth commented Jan 6, 2016

Support for using the bootloader via CAN would be useful.
However support for CAN drivers is not available universally in operating systems, so maybe this would be implemented for Linux only? It seems the current dominant API is SocketCAN by Volkswagen. But I noticed mention of older, character-based APIs, too.

Philipp

@gicking
Copy link
Owner

gicking commented Jan 9, 2016

maybe I was a bit too quick proposing CAN support. Basically I was only thinking about the STM8 side of the communication, not the PC side. Any idea which HW and SW-API would be sensible? Surely not bitbang mode, no it has to be some kind of embedded adapter like CANoe or Arduino with CAN shield...? Surely possible but I guess it's a long shot! Therefore I propose to focus on the other points, first...?

@spth
Copy link
Author

spth commented Jan 9, 2016

On Linux, SocketCAN is the standard API, which works with drivers for the hardware. According to http://fabiobaltieri.com/2013/07/23/hacking-into-a-vehicle-can-bus-toyothack-and-socketcan/ there were already 5 USB-to-CAN interfaces supported by Linux drivers backin 2013.
Other OSes don't seem to have support yet, but I guess if they ever do they will follow Linux.

Philipp

@gicking
Copy link
Owner

gicking commented Aug 29, 2017

moved to stm8gal repo issues

@gicking gicking closed this as completed Aug 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants