Skip to content
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

Open
KuusamoMart opened this issue May 2, 2023 · 19 comments
Open

DrewTech MoongoosePro adapter, No J2534-libraries found #61

KuusamoMart opened this issue May 2, 2023 · 19 comments

Comments

@KuusamoMart
Copy link

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.

@Comer352L
Copy link
Owner

Comer352L commented May 2, 2023 via email

@KuusamoMart
Copy link
Author

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).
Log file attached.
FreeSSM_32_Bit_log.txt

@Comer352L
Copy link
Owner

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.

There's no difference with regards to communication between release and debug builds.
The log indicates that there was a short interference on the ISO-14230 bus line, but that alone can't be the reason for your problem.
If it happens again, I suggest to check your interface/cable/wiring and create another log (that will hopefully contain the failing communication).

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.

The reason for this is that the ECU refuses to read the VIN.
The reason is still unknown and I will most likely not be able to fix this in the near future, so I decided to disable VIN reading for these ECUs.
Update to the latest code and communication should work.

I tried connecting to each control unit, all of which failed to communicate correctly (ignore the TCU, the car is manual). Log file attached.

That's expected. ABS and A/C controllers of your model are not supported.
Your car doesn't have a Cruise Control ECU (CC is integrated in the Engine ECU).

@Comer352L
Copy link
Owner

Which model and year is it ?

@KuusamoMart
Copy link
Author

It's a UKDM Legacy Diesel 2010.
I'll go and log some more data and will check that I'm using the latest code sources.

@KuusamoMart
Copy link
Author

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.

@KuusamoMart
Copy link
Author

Rebuilt from latest sources as of May 8th. Debug version built correctly (thanks!).
Captured several attempts to communicate with ECU, log file attached.
freessm_Subaru_Legacy_diesel_2010_log.txt

@Comer352L
Copy link
Owner

Comer352L commented May 10, 2023 via email

@KuusamoMart
Copy link
Author

That works in normal operation, but again only if I used debug build, the release build fails the interface test.
In test mode (fuse inserted in unmarked fuseholder on a BR/ BM), the interface test passes, but the connection to the ECU fails.
Log files for normal and test modes attached.
FreeSSM_debug_10-05-23_sources_Legacy_Diesel_2010_Normal.txt
FreeSSM_debug_10-05-23_sources_Legacy_Diesel_2010_Diag-mode.txt

@Comer352L
Copy link
Owner

Comer352L commented May 16, 2023 via email

@KuusamoMart
Copy link
Author

I do hear actuators going on and off, I need to see if the cooling fan is also operating.

@Comer352L
Copy link
Owner

Comer352L commented May 20, 2023 via email

@Comer352L
Copy link
Owner

0001-DEBUGGING-PATCH-1.txt

[Rename from .txt to .patch]

@Comer352L
Copy link
Owner

Please ignore the previous patch and try this one instead:
0001-DEBUGGING-PATCH-1-V2.txt

@KuusamoMart
Copy link
Author

OK, patch included with the 11th May build (hopefully). Ran with the diagnostic link installed in the fusebox and looged the output from debug.
FreeSSM_Patch_Suabru_Legacy_Diesel_2010_Diagnostic_mode_log.TXT

@Comer352L
Copy link
Owner

Looks like the patch wasn't applied properly.

Instead, reset your local repository and replace src/SSMprotocol2.cpp with the following file:
SSMprotocol2.txt
[NOTE: rename to .cpp]

@KuusamoMart
Copy link
Author

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.
Tried to connect with the car in diagnostic mode, captured the log. Something I did notice was that, as soon as I try to connect to the Engine Control Unit, the actuator cycling stops immediately; repeating the test confirmed it was repeatable.
log.txt

@Comer352L
Copy link
Owner

Interesting log.
Please send me an email (see "About" section in the software).
Attaching zip-files here is nasty...

@KrisK63
Copy link

KrisK63 commented Sep 16, 2023

Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants