IsoTp ISO 15765-2 in rusEFI

It's all about the code!
Post Reply
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

IsoTp ISO 15765-2 in rusEFI

Post by AndreyB »

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
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
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: IsoTp ISO 15765-2 in rusEFI

Post by AndreyB »

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
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: IsoTp ISO 15765-2 in rusEFI

Post by AndreyB »

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
User avatar
Dron_Gus
contributor
contributor
Posts: 450
Joined: Wed Nov 13, 2013 1:11 pm
Location: S-Pb
Github Username: dron0gus

Re: IsoTp ISO 15765-2 in rusEFI

Post by Dron_Gus »

AndreyB wrote:
Sun Dec 05, 2021 8:56 pm
One day maybe https://en.wikipedia.org/wiki/XCP_(protocol)
OpenBLT uses XCP over CAN. And may be over some other interfaces too.
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: IsoTp ISO 15765-2 in rusEFI

Post by AndreyB »

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 :)
image.png
image.png (142.32 KiB) Viewed 25101 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
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: IsoTp ISO 15765-2 in rusEFI

Post by AndreyB »

Kirby says remove both labels. two screws back, two screws front
image.png
image.png (1.22 MiB) Viewed 25093 times
image.png
image.png (1.09 MiB) Viewed 25093 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
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: IsoTp ISO 15765-2 in rusEFI

Post by AndreyB »

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 :)
image.png
image.png (222.96 KiB) Viewed 25076 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
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: IsoTp ISO 15765-2 in rusEFI

Post by AndreyB »

@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.
image.png
image.png (335.36 KiB) Viewed 25018 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
User avatar
Dron_Gus
contributor
contributor
Posts: 450
Joined: Wed Nov 13, 2013 1:11 pm
Location: S-Pb
Github Username: dron0gus

Re: IsoTp ISO 15765-2 in rusEFI

Post by Dron_Gus »

Details?
What about update rate?
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: IsoTp ISO 15765-2 in rusEFI

Post by AndreyB »

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
image.png
image.png (4.7 KiB) Viewed 24883 times
I've downloaded windows-USB2CAN-fw-tools but USB2CAN_DFU.exe tool does nothing silently on my Windows 11.
image.png
image.png (6.28 KiB) Viewed 24883 times
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
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: IsoTp ISO 15765-2 in rusEFI

Post by AndreyB »

Update:

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
Next step
objcopy --input-target=ihex --output-target=binary pcan_canable_hw.hex code00.bin
Now moment of truth...
image.png
image.png (42.57 KiB) Viewed 24877 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
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: IsoTp ISO 15765-2 in rusEFI

Post by AndreyB »

Found boot0 pad. To enable USB DFU power device while applying VCC 3v to boot0 pad.

Device is read out protected so I have voided warranty. This is now a PCAN device thanks to https://github.com/rusefi/rusefi_external_utils/blob/master/CAN/pcan_canable_hw.hex backup of https://github.com/moonglow/pcan_cantact

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
IMG_20211218_150946.jpg (323.1 KiB) Viewed 24871 times
Korlan-back-side.png
Korlan-back-side.png (1.16 MiB) Viewed 24871 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
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: IsoTp ISO 15765-2 in rusEFI

Post by AndreyB »

Just fixed a bug and got rusEFI console to work via PCAN.
image.png
image.png (27.81 KiB) Viewed 24855 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
JRD McLAREN
contributor
contributor
Posts: 434
Joined: Mon Mar 04, 2019 10:19 pm
Location: Slovakia

Re: IsoTp ISO 15765-2 in rusEFI

Post by JRD McLAREN »

Nice ... ;)
.. some Proteus and microRusEFI for sale in Europe ..
kjn260
Posts: 9
Joined: Sun Nov 07, 2021 10:59 pm

Re: IsoTp ISO 15765-2 in rusEFI

Post by kjn260 »

AndreyB wrote:
Sat Dec 18, 2021 8:13 pm
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
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?
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: IsoTp ISO 15765-2 in rusEFI

Post by AndreyB »

kjn260 wrote:
Fri Feb 18, 2022 11:25 pm
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?
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
kjn260
Posts: 9
Joined: Sun Nov 07, 2021 10:59 pm

Re: IsoTp ISO 15765-2 in rusEFI

Post by kjn260 »

AndreyB wrote:
Sat Feb 19, 2022 12:56 am
kjn260 wrote:
Fri Feb 18, 2022 11:25 pm
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?
really depends on what kind of USB2CAN you have with what MCU
Same one that I took photos of above.
https://rusefi.com/forum/viewtopic.php?p=43523#p43523
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: IsoTp ISO 15765-2 in rusEFI

Post by AndreyB »

Just pushed socketcan_connector.sh script into bundle bin folder https://github.com/rusefi/rusefi/commit/bb5fc7fcee97081c70bafc418729e4a6859a964d

If anyone has SocketCAN hardware and rusEFI please try and report! https://github.com/rusefi/rusefi/issues/4277
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
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: IsoTp ISO 15765-2 in rusEFI

Post by AndreyB »

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
kjn260
Posts: 9
Joined: Sun Nov 07, 2021 10:59 pm

Re: IsoTp ISO 15765-2 in rusEFI

Post by kjn260 »

Tested this with my "ECAN" peak adapter - works with P-CAN viewer.

Unfortunately I got connection errors from TS.

Code: Select all

Microsoft Windows [Version 10.0.19044.1826]
(c) Microsoft Corporation. All rights reserved.

C:\snapshot_20220702_093903_proteus_h7_rusefi\console>java -jar rusefi_console.jar pcan_connector
I 220722 210047.838 [main] Launcher - rusEFI UI console 20220629
I 220722 210047.859 [main] Launcher - Compiled Thu Jan 01 10:00:00 AEST 1970
I 220722 210047.859 [main] Launcher -


I 220722 210047.983 [main] PCanIoStream - Hello PCAN!
I 220722 210048.010 [main] IsoTpConnector - -------sendBytesToCan 7 byte(s):
I 220722 210048.010 [main] IsoTpConnector - 00 01 53 20 60 EF C3
I 220722 210048.020 [PCAN reader1] PCanIoStream - Skipping non 102 packet: EF50000
I 220722 210048.021 [PCAN reader1] PCanIoStream - Skipping non 102 packet: EF50000
I 220722 210048.024 [main] CANConnectorStartup - Got [rusEFI 2022.07.02.proteus_h7.2628651506 ] signature via com.rusefi.io.stream.PCanIoStream@497470ed
I 220722 210048.045 [main] BinaryProtocolServer - ServerSocket 29001 created. Feel free to point TS at IP Address 'localhost' port 29001
I 220722 210048.059 [PCAN reader1] PCanIoStream - Skipping non 102 packet: EF50000
I 220722 210048.109 [PCAN reader1] PCanIoStream - Skipping non 102 packet: EF50000
I 220722 210048.159 [PCAN reader1] PCanIoStream - Skipping non 102 packet: EF50000
I 220722 210048.209 [PCAN reader1] PCanIoStream - Skipping non 102 packet: EF50000
I 220722 210048.259 [PCAN reader1] PCanIoStream - Skipping non 102 packet: EF50000
I 220722 210048.309 [PCAN reader1] PCanIoStream - Skipping non 102 packet: EF50000
I 220722 210048.320 [proxy1] BinaryProtocolServer - Accepting binary protocol proxy port connection on 29001
I 220722 210048.334 [[[proxy]] TCP reader1] ByteReader - [[proxy]] Running TCP connection loop
I 220722 210048.335 [proxy2] BinaryProtocolProxy - Responding to GET_PROTOCOL_VERSION with 001
I 220722 210048.359 [PCAN reader1] PCanIoStream - Skipping non 102 packet: EF50000
I 220722 210048.409 [PCAN reader1] PCanIoStream - Skipping non 102 packet: EF50000
I 220722 210048.459 [PCAN reader1] PCanIoStream - Skipping non 102 packet: EF50000
I 220722 210048.509 [PCAN reader1] PCanIoStream - Skipping non 102 packet: EF50000
Exception in thread "PCAN reader1" java.lang.ArrayIndexOutOfBoundsException
        at java.lang.System.arraycopy(Native Method)
        at peak.can.basic.TPCANMsg.setData(TPCANMsg.java:120)
        at peak.can.basic.PCANBasic.Read(Native Method)
        at com.rusefi.io.stream.PCanIoStream.readOnePacket(PCanIoStream.java:101)
        at com.rusefi.io.stream.PCanIoStream.lambda$setInputListener$0(PCanIoStream.java:93)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
I 220722 210048.572 [proxy2] BinaryProtocolProxy - Relaying client command HELLO
I 220722 210048.572 [proxy2] IsoTpConnector - -------sendBytesToCan 2 byte(s):
I 220722 210048.573 [proxy2] IsoTpConnector - 00 01
I 220722 210048.574 [proxy2] IsoTpConnector - -------sendBytesToCan 1 byte(s):
I 220722 210048.576 [proxy2] IsoTpConnector - 53
I 220722 210048.577 [proxy2] IsoTpConnector - -------sendBytesToCan 4 byte(s):
I 220722 210048.577 [proxy2] IsoTpConnector - 20 60 EF C3
I 220722 210053.579 [proxy2] IncomingDataBuffer - [PCAN] readShort: timeout 5000ms. Got only 0 while expecting 2
E 220722 210053.579 [proxy2] BinaryProtocolProxy - BinaryProtocolProxy::run java.io.EOFException: Timeout in readShort
E 220722 210053.583 [[[proxy]] TCP reader1] ByteReader - TcpIoStream: End of connection java.net.SocketException: Socket closed
I 220722 210057.886 [proxy1] BinaryProtocolServer - Accepting binary protocol proxy port connection on 29001
I 220722 210057.889 [[[proxy]] TCP reader2] ByteReader - [[proxy]] Running TCP connection loop
I 220722 210057.890 [proxy3] BinaryProtocolProxy - Relaying client command HELLO
I 220722 210057.890 [proxy3] IsoTpConnector - -------sendBytesToCan 2 byte(s):
I 220722 210057.891 [proxy3] IsoTpConnector - 00 01
I 220722 210057.892 [proxy3] IsoTpConnector - -------sendBytesToCan 1 byte(s):
I 220722 210057.893 [proxy3] IsoTpConnector - 53
I 220722 210057.894 [proxy3] IsoTpConnector - -------sendBytesToCan 4 byte(s):
I 220722 210057.895 [proxy3] IsoTpConnector - 20 60 EF C3
E 220722 210102.390 [[[proxy]] TCP reader2] ByteReader - TcpIoStream: End of connection java.io.IOException: TcpIoStream: End of input?
I 220722 210102.896 [proxy3] IncomingDataBuffer - [PCAN] readShort: timeout 5000ms. Got only 0 while expecting 2
E 220722 210102.898 [proxy3] BinaryProtocolProxy - BinaryProtocolProxy::run java.io.EOFException: Timeout in readShort
Attachments
Screenshot 2022-07-22 210517.png
Screenshot 2022-07-22 210517.png (1.79 MiB) Viewed 21236 times
Screenshot 2022-07-22 210344.png
Screenshot 2022-07-22 210344.png (62.77 KiB) Viewed 21236 times
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: IsoTp ISO 15765-2 in rusEFI

Post by AndreyB »

ArrayIndexOutOfBoundsException is a red flag https://github.com/rusefi/rusefi/issues/4370

it's somewhere inside PCAN native stuff, open question if their PCAN-Basic has enough source code for us to troubleshoot this further.

I would suggest addressing the unexpected CAN traffic first and testing once iso-tp is the only activity on the bus. If iso-tp would work by itself we would move to adding understandable CAN traffic in addition to iso-tp next ut as is it's just too much weird at the same time.
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
kjn260
Posts: 9
Joined: Sun Nov 07, 2021 10:59 pm

Re: IsoTp ISO 15765-2 in rusEFI

Post by kjn260 »

AndreyB wrote:
Fri Jul 22, 2022 11:13 am
ArrayIndexOutOfBoundsException is a red flag https://github.com/rusefi/rusefi/issues/4370

it's somewhere inside PCAN native stuff, open question if their PCAN-Basic has enough source code for us to troubleshoot this further.

I would suggest addressing the unexpected CAN traffic firts and testing once iso-tp is the only activity on the bus. If iso-tp would work by itself we would move to adding understandable CAN traffic in addition to iso-tp next ut as is it's just too much weird at the same time.
understood. I will check out these strange frames first and report back!
kjn260
Posts: 9
Joined: Sun Nov 07, 2021 10:59 pm

Re: IsoTp ISO 15765-2 in rusEFI

Post by kjn260 »

The strange CAN frames are fixed as of PR#4376

Happy to report that TS Via CAN (ISOTp 157650-2) works.
There is alot of debug in the console window due to filtering of verbose and the wbo2 messages.
I think this makes the CAN Tx/Rx a quite laggy, which in turn makes TS laggy.
However I was able to see the gauges update and change settings successfully via TS.

Attached is the debug log.

Please let me know if you need anymore testing.

NB: 0xEF50000 is the Wbo2 voltage and engine running frame at approximately 20Hz, 0xEF51234 is a test lua frame at approx 1Hz.
Attachments
can.txt
(329.03 KiB) Downloaded 192 times
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: IsoTp ISO 15765-2 in rusEFI

Post by AndreyB »

I am not sure how much console debug (or connector debug) would affect throughput, maybe it in fact plays a negative role.

Would you be interested to look further into it? try TS without console running? Try with custom firmware and/or custom java connector with debug statements removed from the source code?
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
kjn260
Posts: 9
Joined: Sun Nov 07, 2021 10:59 pm

Re: IsoTp ISO 15765-2 in rusEFI

Post by kjn260 »

AndreyB wrote:
Mon Jul 25, 2022 9:36 am
I am not sure how much console debug (or connector debug) would affect throughput, maybe it in fact plays a negative role.

Would you be interested to look further into it? try TS without console running? Try with custom firmware and/or custom java connector with debug statements removed from the source code?

Happy to.

TS via usb/serial is at this point much qucker.

I will have a look at the java connector/bridge and compilation steps to see if I can try and remove the debug print and see if there is any improvement.
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: IsoTp ISO 15765-2 in rusEFI

Post by AndreyB »

Finally a demo on a real vehicle!

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
mck1117
running engine in first post
running engine in first post
Posts: 1493
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: IsoTp ISO 15765-2 in rusEFI

Post by mck1117 »

AndreyB wrote:
Thu Aug 11, 2022 5:02 pm
Finally a demo on a real vehicle!
What's the data rate in TS like?
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: IsoTp ISO 15765-2 in rusEFI

Post by AndreyB »

it's not amazing around 10 hz :(

It's low enough for me to wonder what layer is broken. https://github.com/rusefi/rusefi/issues/4203 is somewhat relevant
image.png
image.png (121.86 KiB) Viewed 20647 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
User avatar
Dron_Gus
contributor
contributor
Posts: 450
Joined: Wed Nov 13, 2013 1:11 pm
Location: S-Pb
Github Username: dron0gus

Re: IsoTp ISO 15765-2 in rusEFI

Post by Dron_Gus »

AndreyB wrote:
Thu Aug 11, 2022 9:26 pm
it's not amazing around 10 hz :(

It's low enough for me to wonder what layer is broken. https://github.com/rusefi/rusefi/issues/4203 is somewhat relevant

image.png
Time to implement "Full optimized - High speed" protocol? But it look like limited with 8192 (12 bits) maximum offset...
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: IsoTp ISO 15765-2 in rusEFI

Post by AndreyB »

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
Post Reply