SavvyCAN
SavvyCAN copied to clipboard
J2534 (passthrucan) connection does not stay connected #208
Discussed in https://github.com/collin80/SavvyCAN/discussions/560
Originally posted by Tmod700 January 2, 2023
I got x64 Build 208 to show the port selections when choosing a passthru connection but it connects and then disconnects itself just a few seconds later. I am using Tactrix Openport 2.0 and Win10x64 and downloaded the 208 CIBuild.
I tried 207 compiled for 32bit and it connects and stays connected fine.
Any ideas as to why it auto disconnects?
Using Visual Studio 2022 to examine the V208 source files. Connections module\Canbus.cpp appears to contain our default bus speed of 250Kbts. Statements that follow appear to set the operating parameters. Not yet the C++ expert, I wonder about the last two statements, which are identical except for the const keyword which specifies that the object or variable isn't modifiable. Is the final statement without the const keyword an error? Should it have been deleted? PS: I didn't notice the bit shift function difference, one left, one right.
Since I experienced a recurring default to 250Kbts , a work around (for 500Kbts) might be to change the default 250000 to 500000?
Hi guys I have OpenPort 2.0 clone from China and I was able to compile 32bit version with hardcoded 500kb/s speed for "passthrough" connection and it worked like a charm while i send debug frames from my desktop PC. But the same compiled binary running on my laptop behaves exactly like Collin said - connection drops in a few seconds after it was "Connected". Both devices are running Windows 10 x64, both have the same 32bit OpenPort driver. I feel the main difference is that laptop have no Qt SDK installed and binary uses some included lib. Anyway i'll try to investigate that deeply and who knows maybe i'll find a solution for that
EDIT: Nevermind. I just reinstalled OpenPort driver (i believe exactly the same driver was installed, strange thing) and now my adapter remains connected. Now it fully covers my needs, Thank you for a great application!
@macbaze Any chance you could share the complied 32bit version with the 500kb/s hardcoded? Thanks.
@macbaze Any chance you could share the complied 32bit version with the 500kb/s hardcoded? Thanks.
Try this one: https://github.com/amiralnar/SavvyCAN/releases/download/continuous/SavvyCAN-Windows_x32_CIBuild.zip
Legend! Thanks. That's working a treat with the Tactrix OpenPort 2.0 👍