EEVblog Electronics Community Forum

Electronics => Open Source Hardware => Topic started by: dav888 on February 12, 2021, 08:49:48 pm

Title: CAN-FD open source software (host) stacks
Post by: dav888 on February 12, 2021, 08:49:48 pm
Checking in if anyone have experience with CAN-FD and what open source software libraries that are out there..!?

As most USB to CAN FD bridges are $300+ and come with proprietary windows apps, there isn't much available (afaik) in the linux/c-libs/python space...!? Anyone with experience?
Title: Re: CAN-FD open source software (host) stacks
Post by: JPortici on February 12, 2021, 10:53:39 pm
The good ones are usually supported by busmaster, which is free and open source, and as such lacking in (some) features
Title: Re: CAN-FD open source software (host) stacks
Post by: mon2 on February 13, 2021, 07:27:42 pm
https://circuitdigest.com/news/open-source-usb-can-can-fd-and-single-wire-can-support-debugging-or-hacking-vehicle-components
Title: Re: CAN-FD open source software (host) stacks
Post by: mattselectronics on March 18, 2021, 11:12:39 pm
The good ones are usually supported by busmaster, which is free and open source, and as such lacking in (some) features

Busmaster is discontinued and also the GitHub seems to be deserted. I doubt, that it has support for CAN-FD.
Title: Re: CAN-FD open source software (host) stacks
Post by: JPortici on March 19, 2021, 02:48:56 pm
The good ones are usually supported by busmaster, which is free and open source, and as such lacking in (some) features

Busmaster is discontinued and also the GitHub seems to be deserted. I doubt, that it has support for CAN-FD.

I think that CAN-FD support lies in the interface driver, so it's independent of busmaster?
Anyway, do you know of a free / low cost alternative to it?
Title: Re: CAN-FD open source software (host) stacks
Post by: mattselectronics on March 22, 2021, 01:20:19 pm
When it comes to functionality, CANoe from Vector is still the best by a long shot. But it is not cheap (multiple k€), requires the approperiate hardware interface and runs only under Windows.
It can do far more than only monitor. There is also CANalyzer, if you want to monitor only.
CANoe is basically the industry standard and if you have to work with car/truck OEMs or there suppliers, you have to have it.

For the cheaper option, there is https://www.peak-system.com/PCAN-USB-FD.365.0.html?&L=1 (https://www.peak-system.com/PCAN-USB-FD.365.0.html?&L=1) for 245€
They offer a Linux driver, but the Monitoring application seems to be Windows only.
It also seems to be supported by busmaster so this might be an option.

Unfortunately, I'm no expert with anything other then CANoe, becaus that is what we use...

Title: Re: CAN-FD open source software (host) stacks
Post by: JPortici on March 22, 2021, 04:19:19 pm
I understand, we mainly do reverse engineering and wanted to evaluate that vector solution. From what we saw we would gain almost zero functionality over busmaster.
Simulators written in busmaster run just fine, i would like to have the GUI functionality back but whatever, that's free..
Title: Re: CAN-FD open source software (host) stacks
Post by: rvalente on March 30, 2021, 01:37:00 am
Check kvaser stuff