IsoTp ISO 15765-2 in rusEFI
- AndreyB
- Site Admin
- Posts: 12800
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
IsoTp ISO 15765-2 in rusEFI
Central thread for IsoTp ISO 15765-2 in rusEFI
On the one hand we have 15765-2 implementation in firmware and ELM327/15765-2 console TS proxy, on the other hand open question if anything with real RS232 on the path would ever work specifically with TS protocol? does TS protocol NOT help if RS232 is on the path?
See https://rusefi.com/forum/viewtopic.php?f=13&t=2209
See https://github.com/rusefi/rusefi/issues/3655#issuecomment-986166603
On the one hand we have 15765-2 implementation in firmware and ELM327/15765-2 console TS proxy, on the other hand open question if anything with real RS232 on the path would ever work specifically with TS protocol? does TS protocol NOT help if RS232 is on the path?
See https://rusefi.com/forum/viewtopic.php?f=13&t=2209
See https://github.com/rusefi/rusefi/issues/3655#issuecomment-986166603
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: 12800
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: IsoTp ISO 15765-2 in rusEFI
One day maybe https://en.wikipedia.org/wiki/XCP_(protocol)
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: 12800
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: IsoTp ISO 15765-2 in rusEFI
https://rusefi.com/forum/viewtopic.php?f=13&t=2209 is disappointing
https://legacy.uavcan.org/Implementations/Pyuavcan/Tutorials/1._Setup/ has some pointers maybe at nicer hardware
https://legacy.uavcan.org/Implementations/Pyuavcan/Tutorials/1._Setup/ has some pointers maybe at nicer hardware
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: 327
- Joined: Wed Nov 13, 2013 1:11 pm
- Location: S-Pb
- Github Username: dron0gus
Re: IsoTp ISO 15765-2 in rusEFI
OpenBLT uses XCP over CAN. And may be over some other interfaces too.
- AndreyB
- Site Admin
- Posts: 12800
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: IsoTp ISO 15765-2 in rusEFI
Just ordered Korlan https://shop.8devices.com/index.php?route=product/product&path=67&product_id=89 this one looks amazing! Also cool that those are designed in Lithuania.
Will totally try to run https://github.com/moonglow/pcan_cantact on it
Will totally try to run https://github.com/moonglow/pcan_cantact on it

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: 12800
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: IsoTp ISO 15765-2 in rusEFI
Kirby says remove both labels. two screws back, two screws front
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: 12800
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: IsoTp ISO 15765-2 in rusEFI
Another option maybe https://www.aliexpress.com/item/1005003493448473.html Vag V2 VAG B03-ST V20.41
Someone would have to design a case for it
Someone would have to design a case for it

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: 12800
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: IsoTp ISO 15765-2 in rusEFI
@andreika has just fixed one last bug and ISO-TP PCAN connector works! We connect TS to ISO-TP via a TCP bridge in rusEFI console binary. At the moment only tested on Windows, might need additional packaging magic should eventually work under Linux.
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: 327
- Joined: Wed Nov 13, 2013 1:11 pm
- Location: S-Pb
- Github Username: dron0gus
Re: IsoTp ISO 15765-2 in rusEFI
Details?
What about update rate?
What about update rate?
- AndreyB
- Site Admin
- Posts: 12800
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: IsoTp ISO 15765-2 in rusEFI
Got my Korlan USB2CAN and so far I am unable to switch it into DFU mode
On Windows 11 I have it displayed nicely in Device Manager
I've downloaded windows-USB2CAN-fw-tools but USB2CAN_DFU.exe tool does nothing silently on my Windows 11.
They also mention a linux way in documentation https://www.8devices.com/media/products/usb2can_korlan/downloads/Korlan_USB2CAN_User_Guide.pdf
On Windows 11 I have it displayed nicely in Device Manager
I've downloaded windows-USB2CAN-fw-tools but USB2CAN_DFU.exe tool does nothing silently on my Windows 11.
They also mention a linux way in documentation https://www.8devices.com/media/products/usb2can_korlan/downloads/Korlan_USB2CAN_User_Guide.pdf
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: 12800
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: IsoTp ISO 15765-2 in rusEFI
Update:
downloaded _another_ package and it has _another_ version of usb2can_dfu.exe which works - it does switch device into DFU mode.
Next step
downloaded _another_ package and it has _another_ version of usb2can_dfu.exe which works - it does switch device into DFU mode.
Code: Select all
C:\Users\Dell2019\Downloads\windows-USB2CAN-fw-tools>dfu-util.exe -a 0 -s 0x8008000:leave -D usb2can_v23.bin
dfu-util 0.8
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 257f:0004
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 1024
DfuSe interface name: "Internal Flash "
Downloading to address = 0x08008000, size = 20064
Download [=========================] 100% 20064 bytes
Download done.
File downloaded successfully
Error during download get_status
Now moment of truth...objcopy --input-target=ihex --output-target=binary pcan_canable_hw.hex code00.bin
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: 12800
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: IsoTp ISO 15765-2 in rusEFI
Found boot0 pad. Device is read out protected so I have voided warranty. This is now a PCAN device thanks to https://github.com/moonglow/pcan_cantact/releases/download/v1.5/pcan_canable_hw.hex
Middle LED looks to be PD2, further away LED looks to be PC12 - one day we might make a custom version of https://github.com/moonglow/pcan_cantact/blob/master/Src/pcan_led.c
Middle LED looks to be PD2, further away LED looks to be PC12 - one day we might make a custom version of https://github.com/moonglow/pcan_cantact/blob/master/Src/pcan_led.c
- Attachments
-
- IMG_20211218_150946.jpg (323.1 KiB) Viewed 2855 times
-
- Korlan-back-side.png (1.16 MiB) Viewed 2855 times
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: 12800
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: IsoTp ISO 15765-2 in rusEFI
Just fixed a bug and got rusEFI console to work via PCAN.
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
-
- contributor
- Posts: 374
- Joined: Mon Mar 04, 2019 10:19 pm
- Location: Slovakia
Re: IsoTp ISO 15765-2 in rusEFI
Hey Andrey. I will try this too on my spare USB2CAN adapter. Is it just a matter of pulling Boot0 to ground and then running the DFU unit will the PCAN_CANABLE_HW?AndreyB wrote: ↑Sat Dec 18, 2021 8:13 pmFound boot0 pad. Device is read out protected so I have voided warranty. This is now a PCAN device thanks to https://github.com/moonglow/pcan_cantact/releases/download/v1.5/pcan_canable_hw.hex
Middle LED looks to be PD2, further away LED looks to be PC12 - one day we might make a custom version of https://github.com/moonglow/pcan_cantact/blob/master/Src/pcan_led.c
- AndreyB
- Site Admin
- Posts: 12800
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: IsoTp ISO 15765-2 in rusEFI
really depends on what kind of USB2CAN you have with what MCU
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: IsoTp ISO 15765-2 in rusEFI
Same one that I took photos of above.
https://rusefi.com/forum/viewtopic.php?p=43523#p43523