cedricp / ddt4all

OBD tool
GNU General Public License v3.0
1.18k stars 233 forks source link

unable to connect DDT4all correctly #791

Closed Chnord59 closed 1 year ago

Chnord59 commented 1 year ago

Hy guys,

I try to connect DDT4ALL (last release) under windows 10 in BT mode with an ELM 327 CHIP PIC18F25K80). It seems to work but when I try to write in expert mode, nothing happens. The messages are :

Initialisation ELM a la vitesse 115200... Tentative d'ouverture du portCOM7 @ 115200 V├®rfication vitesse de port: 38400 Vitesse port communication : 38400 1581 ECU charg├®es en base de donn├®e. RadNav v1.5 Audio QLayout: Cannot add null widget to QHBoxLayout/ QLayout: Cannot add null widget to QHBoxLayout/

and in the window at the bottom of the screen :

UCE utilise diagnostic session 1003 Envoie requête :StartDiagnosticSession.Extended Delay 0 ms Changement de mode session 10 03 Envoie requête :DataWrite.RadNav Configuration 1.1 Requête abandonée (verifiez les parametres en rouges): NO DATA

Any idea to fix that problem ?

To go on : here are the errors when I start test ELM

Tentative d'ouverture du portCOM7 @ 115200 V├®rfication vitesse de port: 38400 Vitesse port communication : 38400 Traceback (most recent call last): File ".\ddt4all.py", line 1201, in check_elm res = elm.elm_checker(port, speed, self.logview, core.QCoreApplication) File "C:\Program Files (x86)\ddt4all\elm.py", line 1333, in elm_checker print cm[2] + " " + res.strip() File "C:\Program Files (x86)\ddt4all\Python27\lib\codecs.py", line 369, in write data, consumed = self.encode(object, self.errors) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 25: ordinal not in range(128)

Thank you

AndyIreland commented 1 year ago

what year is your Renault car - could it be that the OBD port has security gateway firewall - the later Renaults all have gateway so you cannot change parameters until you unlock gateway with token

Chnord59 commented 1 year ago

26/12/2016, megane gt 1,6 205 hp

Envoyé depuis l'application Mail Orange ----------------De : Andy Robus @.>Envoyé : vendredi 17 mars 2023 16:00À : cedricp/ddt4all @.>Cc : Chnord59 @.>; Author @.>Objet : Re: [cedricp/ddt4all] unable to connect DDT4all correctly (Issue #791) what year is your Renault car - could it be that the OBD port has security gateway firewall - the later Renaults all have gateway so you cannot change parameters until you unlock gateway with token

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

AndyIreland commented 1 year ago

ah right I should not think 2016 car blocked by security gateway then - did you do a search for all ECU's in your car with the DDT4ALL magnifying glass first yes? You could also try increasing the CAN timeout to 600ms too and see if that helps

Chnord59 commented 1 year ago

I will try How to do to increase the CAN timeout ?

AndyIreland commented 1 year ago

image

Chnord59 commented 1 year ago

Ok thank you I did it Here are the results

first test with 0 ms

Initialisation ELM a la vitesse 115200... Tentative d'ouverture du portCOM7 @ 115200 V├®rfication vitesse de port: 500000 Pas de r├®ponse ELM 1581 ECU charg├®es en base de donn├®e. Warning, address 5D is not mapped Scanning ECU INSULATOR Scanning ECU ACC Scanning ECU IDM Scanning ECU BCM/UCH Scanning ECU UPC-EMM Scanning ECU 4WS Scanning ECU CSHV Scanning ECU HVAC Warning, address 404 is not mapped Warning, address 403 is not mapped Warning, address 401 is not mapped Warning, address 400 is not mapped Warning, address 408 is not mapped Warning, address 40A is not mapped Scanning ECU Audio Skipping CAN extended address (not supported yet) 2D Scanning ECU UBP Scanning ECU R RE Scanning ECU ADP Scanning ECU FRRAD Scanning ECU Airbag Scanning ECU Additional Heater Scanning ECU MIU Scanning ECU Navigation Skipping CAN extended address (not supported yet) 16 Scanning ECU Cluster/TDB Scanning ECU Tacho Scanning ECU DLOCK Scanning ECU 4WD Scanning ECU TCU Scanning ECU WCGS Scanning ECU CAN Adapter Scanning ECU VSP Scanning ECU AAU Scanning ECU C Box Scanning ECU Suspension pilotee Scanning ECU ABS/ESC Scanning ECU EMCU Scanning ECU HLS Scanning ECU Power steering Scanning ECU TPMS Scanning ECU MC HEV FSCM Scanning ECU EPS Scanning ECU SVS Scanning ECU SU Scanning ECU SCRCM Scanning ECU SCCM Skipping CAN extended address (not supported yet) E1 Skipping CAN extended address (not supported yet) E0 Skipping CAN extended address (not supported yet) E3 Skipping CAN extended address (not supported yet) E2 Warning, address EE is not mapped Scanning ECU Audio Scanning ECU TCASE Scanning ECU TPAD Scanning ECU HU Scanning ECU HFCK Scanning ECU Frein de parking electrique Scanning ECU Aide au parking Scanning ECU S-DCDC Skipping CAN extended address (not supported yet) 60 Scanning ECU AVM Scanning ECU FCAM Scanning ECU SL Scanning ECU SOW Right Scanning ECU VCCU Scanning ECU BCB Scanning ECU PEB Scanning ECU HFM Scanning ECU LBC (HEV) Scanning ECU LBC (EV) Scanning ECU (H) EVC Scanning ECU PLC/PLGW Scanning ECU ADAS-Sub Scanning ECU BSW Warning, address 6C is not mapped Skipping CAN extended address (not supported yet) 15 Scanning ECU AT Scanning ECU LDCM Scanning ECU Magic Folding-RDCM Skipping CAN extended address (not supported yet) 18 Skipping CAN extended address (not supported yet) DF Warning, address DD is not mapped Scanning ECU BCB-OBC_29b Skipping CAN extended address (not supported yet) DB Warning, address DC is not mapped Skipping CAN extended address (not supported yet) DA Skipping CAN extended address (not supported yet) 7B Scanning ECU ECM/Injection Scanning ECU Engineering Scanning ECU SR Scanning ECU LKS Skipping CAN extended address (not supported yet) 41 Scanning ECU DDCM Scanning ECU PBD Scanning ECU LBC2 Scanning ECU DCM Renault Skipping CAN extended address (not supported yet) 73 Scanning ECU SCU Scanning ECU HSG - LNG Scanning ECU DCM Warning, address 48 is not mapped Skipping CAN extended address (not supported yet) D6 Skipping CAN extended address (not supported yet) D2 Scanning ECU UDM/UPCU Warning, address 5D is not mapped

second one with 600 ms

Scanning ECU INSULATOR Scanning ECU ACC Scanning ECU IDM Scanning ECU BCM/UCH Scanning ECU UPC-EMM Scanning ECU 4WS Scanning ECU CSHV Scanning ECU HVAC Warning, address 404 is not mapped Warning, address 403 is not mapped Warning, address 401 is not mapped Warning, address 400 is not mapped Warning, address 408 is not mapped Warning, address 40A is not mapped Scanning ECU Audio Skipping CAN extended address (not supported yet) 2D Scanning ECU UBP Scanning ECU R RE Scanning ECU ADP Scanning ECU FRRAD Scanning ECU Airbag Scanning ECU Additional Heater Scanning ECU MIU Scanning ECU Navigation Skipping CAN extended address (not supported yet) 16 Scanning ECU Cluster/TDB Scanning ECU Tacho Scanning ECU DLOCK Scanning ECU 4WD Scanning ECU TCU Scanning ECU WCGS Scanning ECU CAN Adapter Scanning ECU VSP Scanning ECU AAU Scanning ECU C Box Scanning ECU Suspension pilotee Scanning ECU ABS/ESC Scanning ECU EMCU Scanning ECU HLS Scanning ECU Power steering Scanning ECU TPMS Scanning ECU MC HEV FSCM Scanning ECU EPS Scanning ECU SVS Scanning ECU SU Scanning ECU SCRCM Scanning ECU SCCM Skipping CAN extended address (not supported yet) E1 Skipping CAN extended address (not supported yet) E0 Skipping CAN extended address (not supported yet) E3 Skipping CAN extended address (not supported yet) E2 Warning, address EE is not mapped Scanning ECU Audio Scanning ECU TCASE Scanning ECU TPAD Scanning ECU HU Scanning ECU HFCK Scanning ECU Frein de parking electrique Scanning ECU Aide au parking Scanning ECU S-DCDC Skipping CAN extended address (not supported yet) 60 Scanning ECU AVM Scanning ECU FCAM Scanning ECU SL Scanning ECU SOW Right Scanning ECU VCCU Scanning ECU BCB Scanning ECU PEB Scanning ECU HFM Scanning ECU LBC (HEV) Scanning ECU LBC (EV) Scanning ECU (H) EVC Scanning ECU PLC/PLGW Scanning ECU ADAS-Sub Scanning ECU BSW Warning, address 6C is not mapped Skipping CAN extended address (not supported yet) 15 Scanning ECU AT Scanning ECU LDCM Scanning ECU Magic Folding-RDCM Skipping CAN extended address (not supported yet) 18 Skipping CAN extended address (not supported yet) DF Warning, address DD is not mapped Scanning ECU BCB-OBC_29b Skipping CAN extended address (not supported yet) DB Warning, address DC is not mapped Skipping CAN extended address (not supported yet) DA Skipping CAN extended address (not supported yet) 7B Scanning ECU ECM/Injection Scanning ECU Engineering Scanning ECU SR Scanning ECU LKS Skipping CAN extended address (not supported yet) 41 Scanning ECU DDCM Scanning ECU PBD Scanning ECU LBC2 Scanning ECU DCM Renault Skipping CAN extended address (not supported yet) 73 Scanning ECU SCU Scanning ECU HSG - LNG Scanning ECU DCM Warning, address 48 is not mapped Skipping CAN extended address (not supported yet) D6 Skipping CAN extended address (not supported yet) D2 Scanning ECU UDM/UPCU

AndyIreland commented 1 year ago

what parameters are you specifically trying to change on your car?

does your ECUS show up ok here after searching with the magnifying glass?

image

and are the read parameters in red or not?

Chnord59 commented 1 year ago

20230317_180853(2) I select

Chnord59 commented 1 year ago

i select XFB MEGANE IV I try to activate the Race mode

Chnord59 commented 1 year ago

Is that the good way to select the car ?

AndyIreland commented 1 year ago

no, did you choose that radnav v1.5 manually? - i would not do that. all those read parameters are in red - I would not try changing any parameters where the read in is red! - you could end up bricking ECU if you not careful

AndyIreland commented 1 year ago

Plus have you got a specially wired up obd2 cable or rewired ELM327 cable so that you can read radio/nav through the OBD2 socket of the car???

Chnord59 commented 1 year ago

Yes I choose manually I follow a specific tutorial on the french website "au bon coin du Rlink" I have no specific cable

KarelSvo commented 1 year ago

Show the files elm_ddt and ecu_ddt. Show the link of the used ddt4all version. Radnav transmits on Vehicle Can. No adapter cable necessary.

Chnord59 commented 1 year ago

image

Chnord59 commented 1 year ago

where are these two files ?

Chnord59 commented 1 year ago

I've no files with ddt extension

Chnord59 commented 1 year ago

I have elm.py and elm.pyc and ecu.py and ecu.pyc

Chnord59 commented 1 year ago

elm_ecu.zip

KarelSvo commented 1 year ago

ddt4all/logs/elm_ddt ddt4all/logs/ecu_ddt

Chnord59 commented 1 year ago

logs.zip

Chnord59 commented 1 year ago

good version is here, don't use the previous one logs.zip

KarelSvo commented 1 year ago

Your Elm interface is not suitable for this software.

Chnord59 commented 1 year ago

which one can I use ? Where is the error in the files ? Thank you

AndyIreland commented 1 year ago

you have a bluetooth ELM 327 OBD2 with CHIP PIC18F25K80 ? - I would have thought it should be compatible. - unless its got PIC18F25K80 written on the outside or in the listing, but really has not got a PIC18F25K80 - is there any way you can crack open the case and see if there really is a PIC18F25K80 chip on the main circuit board?

KarelSvo commented 1 year ago

`############################################################

[03/17/23 17:31:21.131] Init CAN

############################################################

[17:31:21.131]AT WS <[0.038]AT WS ?

[17:31:21.169]AT E1 <[0.032]AT E1 ?

[17:31:21.201]AT S0 <[0.046]AT S0 ?

[17:31:21.247]AT H0 <[0.054]AT H0 ?

[17:31:21.301]AT L0 <[0.031]AT L0 ?

[17:31:21.332]AT AL <[0.016]AT AL ?

[17:31:21.348]AT CAF0 <[0.053]AT CAF0 ? ` The question marks are a negative answer to the commands for configuring your Elm interface. Which country are you from and which sales platforms do you prefer? Suitable Chinese Elm are becoming increasingly difficult to find.
http://cvtz50.info/en/elm327/ Interfaces with original firmware, such as those from the Obdlink series, are the safest.

AndyIreland commented 1 year ago

I dont know if I would be of any help @Chnord59 - but if you want me to log on remotely to your laptop over the internet while you have the OBD2 plugged into your car and see if anything jumps out at me just let me know.

Chnord59 commented 1 year ago

Thank you for your help. Is it possible for you to morrow in the morning ?

KarelSvo commented 1 year ago

To go on : here are the errors when I start test ELM

`>[16:19:11.835]ATZ <[0.914]ATZ ü

OBDII v1.5 ` Your Elm sends a non-ASCII compliant character (ü) in connection with the ATZ command. Therefore the test aborts. You can find the list of commands for testing in the elm.py file after the line cmdb = '''. In order for the test to work with your Elm, you must delete the ATZ test lines and then save the file.

AndyIreland commented 1 year ago

Thank you for your help. Is it possible for you to morrow in the morning ?

tomorrow in the afternoon after 2pm UK time I can do if any good?

Chnord59 commented 1 year ago

I've just opened it, it strongly difficult to read but it's a PIC 18F25K80

Chnord59 commented 1 year ago

Thank you for your help. Is it possible for you to morrow in the morning ?

tomorrow in the afternoon after 2pm UK time I can do if any good?

OK so 3 pm in France

Chnord59 commented 1 year ago

Thank you for your help ! I've just opened the ELM to see the chip inside : it's a PIC18F25K80 like written on the box. I'll see to morrow with Andy Ireland who will take control of my computer while connecting to the ECU.

AndyIreland commented 1 year ago

Yes thats right - if you need me to have a look just let me know. I might not be of any help though, especially if it is an incompatible ELM327 . It is bluetooth adaptor is it?

Chnord59 commented 1 year ago

yes bluetooth, and I use Windows 10 The car is a MEGANE year 2016 model 1.6 GT 205 HP

Chnord59 commented 1 year ago

Does I need to install PC anywhere ?

AndyIreland commented 1 year ago

anydesk from anydesk .com if OK

Chnord59 commented 1 year ago

it's done

KarelSvo commented 1 year ago

I've just opened the ELM to see the chip inside : it's a PIC18F25K80 like written on the box.

I had given you a link where you can see pictures with fake unsuitable PIC18F25K80. The Chinese also fake the writing on the microcontrollers.

Chnord59 commented 1 year ago

20230317_215113

I've just opened the ELM to see the chip inside : it's a PIC18F25K80 like written on the box.

I had given you a link where you can see pictures with fake unsuitable PIC18F25K80. The Chinese also fake the writing on the microcontrollers.

These chinese...

AndyIreland commented 1 year ago

amazing they go to all those lengths

Chnord59 commented 1 year ago

I just think that i won't be able to connect my PC to the wifi outside of my house. So I will use a phone to create an access in order to connect the PC, but it won't be so fast (4G)

AndyIreland commented 1 year ago

I just think that i won't be able to connect my PC to the wifi outside of my house. So I will use a phone to create an access in order to connect the PC, but it won't be so fast (4G)

ah it might be ok tethered to your phone. We shall see, if its too bad connection we might have to abort it. but I have done it before with others that have tethered to 4G and it werent too bad

KarelSvo commented 1 year ago

These chinese...

give me your elm.py file to edit.

Chnord59 commented 1 year ago

These chinese...

give me your elm.py file to edit.

elm.zip

Chnord59 commented 1 year ago

I just think that i won't be able to connect my PC to the wifi outside of my house. So I will use a phone to create an access in order to connect the PC, but it won't be so fast (4G)

ah it might be ok tethered to your phone. We shall see, if its too bad connection we might have to abort it. but I have done it before with others that have tethered to 4G and it werent too bad

I just think that i won't be able to connect my PC to the wifi outside of my house. So I will use a phone to create an access in order to connect the PC, but it won't be so fast (4G)

ah it might be ok tethered to your phone. We shall see, if its too bad connection we might have to abort it. but I have done it before with others that have tethered to 4G and it werent too bad

if it doesn't work I'll buy a 30 meters RJ 45 to connect to the box !!

AndyIreland commented 1 year ago

thats another way yep

KarelSvo commented 1 year ago

elm.zip

Replace file and run Elm test.

Chnord59 commented 1 year ago

No change...

Chnord59 commented 1 year ago

No change...

Tentative d'ouverture du portCOM7 @ 115200 V├®rfication vitesse de port: 38400 Vitesse port communication : 38400 ATWS ATWS ?

ATE1 ATE1 ?

ATL1 ATL1 ?

ATL0 ATL0 ?

ATI ATI ?

AT@1 AT@1 ?

ATRV ATRV ?

ATPPS ATPPS ?

ATS1 ATS1 ?

ATS0 ATS0 ?

ATCAF0 ATCAF0 ?

ATCFC0 ATCFC0 ?

ATH0 ATH0 ?

ATR1 ATR1 ?

ATKW0 ATKW0 ?

ATD1 ATD1 ?

ATD0 ATD0 ?

ATAL ATAL ?

ATSP 3 ATSP 3 ?

ATSP 4 ATSP 4 ?

ATIIA 01 ATIIA 01 ?

ATSI ATSI ?

ATSP 5 ATSP 5 ?

ATFI ATFI ?

ATSP 6 ATSP 6 ?

ATSP 7 ATSP 7 ?

ATSP 8 ATSP 8 ?

ATPC ATPC ?

ATSH 012 ATSH 012 ?

ATSW 96 ATSW 96 ?

ATSW 34 ATSW 34 ?

ATWM 817AF13E ATWM 817AF13E ?

ATIB 10 ATIB 10 ?

ATST FF ATST FF ?

ATCRA 012 ATCRA 012 ?

ATCRA 01234567 ATCRA 01234567 ?

ATFC SH 012 ATFC SH 012 ?

ATFC SH 00112233 ATFC SH 00112233 ?

ATFC SD 300000 ATFC SD 300000 ?

ATFC SM 1 ATFC SM 1 ?

ATAT0 ATAT0 OK

ATAT1 ATAT1 OK

ATCM 123 ATCM 123 ?

ATCM 12345678 ATCM 12345678 ?

ATCF 123 ATCF 123 ?

ATCF 12345678 ATCF 12345678 ?