-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DrewTech MoongoosePro adapter, No J2534-libraries found #61
Comments
FreeSSM parses the Windows registry for registered interfaces (as
described in SAE-J2534 and DrewTech).
If your interface isn't found, it most likely has not been registered
properly by the interfaces installer.
You say the "drivers" are 64bit ?
Note that
1) the SAE-J2534 API is actually specified for 32bit + Windows only,
everything else is out of scope
2) Windows maintains different registries for 32 and 64 bit applications
I suspect you interface library is actually a 32bit library.
To find out, build a 32bit application and check if it detects the
interface.
See README.TXT section 4.2.
|
So I rebuilt the application as 32 bit, this did detect the interface but it failed the interface test. I then rebuilt as a debug version, this was able to successfully pass the interface test. When I connected to the car, it was able to pull some information from the ECU, but it then gave a 'Failed to communicate' error. I tried connecting to each control unit, all of which failed to communicate correctly (ignore the TCU, the car is manual). |
There's no difference with regards to communication between release and debug builds.
The reason for this is that the ECU refuses to read the VIN.
That's expected. ABS and A/C controllers of your model are not supported. |
Which model and year is it ? |
It's a UKDM Legacy Diesel 2010. |
Tried to build both release and debug versions from the latest sources. Release built correctly but debug failed to build. I will raise new issue for this. |
Rebuilt from latest sources as of May 8th. Debug version built correctly (thanks!). |
Fixed, try again.
|
That works in normal operation, but again only if I used debug build, the release build fails the interface test. |
Are actuator tests started automatically in test mode ?
E.g. cooling fan goes ON-OFF-ON... when ignition is switched on ?
No idea at the moment why the interface test should fail in release mode
but work in debug mode.
|
I do hear actuators going on and off, I need to see if the cooling fan is also operating. |
Can you please try the attached patch and post me the debugging output ?
Init will take +10s and don't expect the patch to fix the issue.
|
[Rename from .txt to .patch] |
Please ignore the previous patch and try this one instead: |
OK, patch included with the 11th May build (hopefully). Ran with the diagnostic link installed in the fusebox and looged the output from debug. |
Looks like the patch wasn't applied properly. Instead, reset your local repository and replace src/SSMprotocol2.cpp with the following file: |
Getting a build error when it starts processing SSMprotocol2.cpp, Looking at the SSMprotocol2.cpp source file in QT Creator, it gives the error "use of undeclared identifier 'sleep'" (all in lower case). Changed to 'Sleep', building now completes without error. |
Interesting log. |
Any updates? |
Compiled the April 16th source release as a 64 bit executable. under Windows 11. Was unable to locate the interface, however the J2534 Toolbox supplied by DrewTech can connect to the adapter and configure it. Recompiled the code as a debug version and it produces the error message "No J2534-libraries found". The 64 bit MongoosePro drivers are installed.
Note:
DrewTech do offer some sample code sources which is intended to permit DLL discovery by parsing registry settings to locate the DLLs.
The text was updated successfully, but these errors were encountered: