Dron has just implemented OpenBLT for some boards including MRE F4 and both Proteus Fx builds.
A lot to be figured out but we have something now!
https://github.com/rusefi/rusefi/pull/3430 is the PR
https://github.com/rusefi/rusefi/wiki/Firmware-update-via-CAN are the limited notes.
A million of open questions as of today:
Would random "USB transfer CAN isolation canable open source CANDO interface card debug CAN box bus analyzer" from aliexpress work?
Are there existing JLCPBC fab files for https://canable.io/ or would anyone be interested to contribute?
While stm32f042 are not very available those are somewhat available. Also worst case we can swap stm32f042 for pretty available stm32f407
The big picture is having a more water proof rusEFI ECU eventually. Considering that USB is not ideal at the moment we have code to update firmware via CAN and tune via Ethernet. Maybe one day we will find a way to tune via CAN but that's kind of a separate topic more relevant for https://github.com/rusefi/rusefi/issues/3361
Firmware update via CAN using OpenBLT
- AndreyB
- Site Admin
- Posts: 14327
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Firmware update via CAN using OpenBLT
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Firmware update via CAN using OpenBLT
pretty available on jlcpcb is GD32F103C8T6 or GD32C103TBU6
curious, what's inside those canable firmwares? from my understanding, this should be something like a serial to can bridge? or it is trickier, and PC software uses some proprietary usb-based protocol?
curious, what's inside those canable firmwares? from my understanding, this should be something like a serial to can bridge? or it is trickier, and PC software uses some proprietary usb-based protocol?
- Dron_Gus
- contributor
- Posts: 455
- Joined: Wed Nov 13, 2013 1:11 pm
- Location: S-Pb
- Github Username: dron0gus
Re: Firmware update via CAN using OpenBLT
Cando adapter https://aliexpress.ru/item/4001164534407.html from Ali tested and works just fine under Linux.
Code: Select all
[47948.958899] usb 2-1.8.3.2: new full-speed USB device number 21 using ehci-pci
[47949.070248] usb 2-1.8.3.2: New USB device found, idVendor=1d50, idProduct=606f
[47949.070253] usb 2-1.8.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[47949.070256] usb 2-1.8.3.2: Product: Cando
[47949.070258] usb 2-1.8.3.2: Manufacturer: ABF
[47949.070260] usb 2-1.8.3.2: SerialNumber: 758A9B970C52
Re: Firmware update via CAN using OpenBLT
is it open source (cando thingy I mean)? I wish there were source codes - just curious how difficult would it be to make a similar one, say, out of a blue pill + canbus shield.
- Dron_Gus
- contributor
- Posts: 455
- Joined: Wed Nov 13, 2013 1:11 pm
- Location: S-Pb
- Github Username: dron0gus
Re: Firmware update via CAN using OpenBLT
You can use open hw compatible with this FW https://github.com/moonglow/pcan_cantact .
- AndreyB
- Site Admin
- Posts: 14327
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware update via CAN using OpenBLT
https://github.com/moonglow/pcan_cantact/issues/5Dron_Gus wrote: ↑Wed Nov 10, 2021 9:27 amYou can use open hw compatible with this FW https://github.com/moonglow/pcan_cantact .
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Firmware update via CAN using OpenBLT
Thanks!
I looked through the code, so, from my understanding, it's not just a plain usb-serial interface inside, but rather a fully-featured usb device.
As for blue pill - I've heard of successful implementation of usb AND can at the same time, but first, that's way tricky, and the resources are limited.
I looked through the code, so, from my understanding, it's not just a plain usb-serial interface inside, but rather a fully-featured usb device.
As for blue pill - I've heard of successful implementation of usb AND can at the same time, but first, that's way tricky, and the resources are limited.
- AndreyB
- Site Admin
- Posts: 14327
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware update via CAN using OpenBLT
OpenBLT has commercial add-ons https://www.feaser.com/en/addons.php and online quote generation tool
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- Dron_Gus
- contributor
- Posts: 455
- Joined: Wed Nov 13, 2013 1:11 pm
- Location: S-Pb
- Github Username: dron0gus
Re: Firmware update via CAN using OpenBLT
Which option does RusEFI need?
- AndreyB
- Site Admin
- Posts: 14327
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware update via CAN using OpenBLT
Myself I am interested only in update via CAN.
Mark might be curious about firmware encryption in addition to that update via CAN.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14327
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware update via CAN using OpenBLT
Made some progress but does not work with my Proteus so far
https://github.com/rusefi/rusefi/commit/dca64a6b4e3de51b3fb1887088bc55b58db125e4
https://github.com/rusefi/rusefi/commit/dca64a6b4e3de51b3fb1887088bc55b58db125e4
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- Dron_Gus
- contributor
- Posts: 455
- Joined: Wed Nov 13, 2013 1:11 pm
- Location: S-Pb
- Github Username: dron0gus
Re: Firmware update via CAN using OpenBLT
CANable Z PRO was tested with MRE. Still under Linux only.
Windows testers are welcome.
See https://github.com/rusefi/rusefi/issues/3483
Windows testers are welcome.
See https://github.com/rusefi/rusefi/issues/3483