fenugrec / freediag

OBD2 scantool
GNU General Public License v3.0
329 stars 73 forks source link

Freediag cannot connect to Mazda 6 #55

Closed Fojtik closed 4 years ago

Fojtik commented 4 years ago

Freediag cannot connect to Mazda 6 GY.

But another tool can communicate without any problem: DiagConnected

M:\ProgramFiles\freediag-1.08-win32>freediag.exe
diag_os_gethrt() resolution <= 0us, avg ~0us
diag_os_getms() resolution: ~15ms.
Calibrating timing, this will take a few seconds...
Calibration done.
freediag version 1.08
interface is now DUMB
Note concerning generic (dumb) interfaces : there are additional
options which can be set with "set dumbopts". By default
"K-line only" and "MAN_BREAK" are set.
freediag: Type HELP for a list of commands
freediag: Type SCAN to start ODBII Scan
freediag: Then use MONITOR to monitor real-time data
freediag: **** IMPORTANT : this is beta software ! Use at your own risk.
freediag: **** Remember, "debug all -1" displays all debugging info.
interface is now ELM
port set to: \\.\COM10
freediag: Settings loaded from freediag.ini

freediag> scan

Trying SAEJ1850-VPW:
diag_l0_elm.c:410:  Sending ATI to ELM32x at 38400...
Clone ELM found, v1.5. Expect inferior performance
L2 connection OK; trying to add SAE J1979 layer...
diag_l2.c:546: Read/Write timeout.
diag_l3.c:321: Read/Write timeout.
diag_l3.c:234: Read/Write timeout.
diag_l3_saej1979.c:750: Read/Write timeout.
diag_l3_saej1979.c:789:  J1979 Keepalive failed ! Try to disconnect and reconnect.
diag_l3_saej1979.c:791: Read/Write timeout.
diag_l3.c:119: Read/Write timeout.
Failed to enable SAEJ1979 mode

Trying ISO14230_SLOW:
diag_l0_elm.c:410:  Sending ATI to ELM32x at 38400...
Clone ELM found, v1.5. Expect inferior performance
Note : explicit bus init not available on clones. Errors here are ignored.
diag_l0_elm.c:681:  got error while forcing init: ERR
diag_l0_elm.c:682: Unspecified Error.
diag_l0_elm.c:889: Unspecified Error.
diag_l2.c:648: Unspecified Error.
diag_l2_iso14230.c:755: Unspecified Error.
diag_l2.c:439: Unspecified Error.
scantool.c:721:  l2_common_start: l2_StartComm failed
scantool.c:788: Unspecified Error.
ISO14230_SLOW Failed!
scantool.c:1541: Unspecified Error.
Connection to ECU failed
Please check :
        Adapter is connected to PC
        Cable is connected to Vehicle
        Vehicle is switched on
        Vehicle is OBDII compliant
fenugrec commented 4 years ago

The main issue is that your car uses CANbus. ELM supports this of course, but not freediag. There is no CAN support in freediag, and none planned (by me), sorry.