IsoTp ISO 15765-2 in rusEFI
- AndreyB
- Site Admin
- Posts: 14352
- 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: 14352
- 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: 14352
- 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: 456
- 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: 14352
- 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: 14352
- 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: 14352
- 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: 14352
- 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: 456
- 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: 14352
- 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: 14352
- 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: 14352
- 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. 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
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 (323.1 KiB) Viewed 37867 times
-
- Korlan-back-side.png (1.16 MiB) Viewed 37867 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: 14352
- 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: 435
- 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: 14352
- 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
- AndreyB
- Site Admin
- Posts: 14352
- 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 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
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14352
- 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://github.com/rusefi/rusefi/wiki/CAN links to https://github.com/rusefi/rusefi/wiki/TS-over-CAN now
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
Tested this with my "ECAN" peak adapter - works with P-CAN viewer.
Unfortunately I got connection errors from TS.
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 (1.79 MiB) Viewed 34232 times
-
- Screenshot 2022-07-22 210344.png (62.77 KiB) Viewed 34232 times
- AndreyB
- Site Admin
- Posts: 14352
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: IsoTp ISO 15765-2 in rusEFI
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.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: IsoTp ISO 15765-2 in rusEFI
understood. I will check out these strange frames first and report back!AndreyB wrote: ↑Fri Jul 22, 2022 11:13 amArrayIndexOutOfBoundsException 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.
Re: IsoTp ISO 15765-2 in rusEFI
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.
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 213 times
- AndreyB
- Site Admin
- Posts: 14352
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: IsoTp ISO 15765-2 in rusEFI
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?
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: IsoTp ISO 15765-2 in rusEFI
AndreyB wrote: ↑Mon Jul 25, 2022 9:36 amI 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.
- AndreyB
- Site Admin
- Posts: 14352
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: IsoTp ISO 15765-2 in rusEFI
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14352
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: IsoTp ISO 15765-2 in rusEFI
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
It's low enough for me to wonder what layer is broken. https://github.com/rusefi/rusefi/issues/4203 is somewhat relevant
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: 456
- Joined: Wed Nov 13, 2013 1:11 pm
- Location: S-Pb
- Github Username: dron0gus
Re: IsoTp ISO 15765-2 in rusEFI
Time to implement "Full optimized - High speed" protocol? But it look like limited with 8192 (12 bits) maximum offset...AndreyB wrote: ↑Thu Aug 11, 2022 9:26 pmit'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
- AndreyB
- Site Admin
- Posts: 14352
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: IsoTp ISO 15765-2 in rusEFI
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