Pages: 1 ... 175 176 [177] 178
Author Topic: The Volvo ME7 thread:  (Read 1014026 times)
V70user
Newbie
*

Karma: +1/-0
Offline Offline

Posts: 6


« Reply #2640 on: June 03, 2024, 09:54:20 AM »

- deleted
« Last Edit: June 03, 2024, 10:37:00 AM by V70user » Logged
V70user
Newbie
*

Karma: +1/-0
Offline Offline

Posts: 6


« Reply #2641 on: June 03, 2024, 10:35:49 AM »

Thank You prometey1982 and s60rawr!
Two successes...

1. Rear lambda
 - rear lambda sensor diagnostic   CDLSH found at 0x1800B , enable 0x01, disable 0x00
 - rear lambda heating diagnostic CDHSH found at 0x18004 , enable 0x01, disable 0x00

2. Decreasing engine fan starting temperature
      I've found such a sequence of bytes:  CC  C0     E7  D3     D9  CF starting at 0x1882A
                                                                   |      |          |      |          |      |
                                                                  on   off       on   off       on   off
      and for now I checked first two bytes CC C0 and it is TM1LF - engine temperature threshold 1 for cooling fan control step 1
CC = 204 dec  (204*0.75)-48 = 105 C deg - fan starts
C0 = 192 dec (192 *0.75)-48 = 96 C deg - fan stops

     I've changed these two bytes onto:
BF = 191 dec, it gives starting fan temperature = 95.25 C deg. In testing car fan started exactly at 96 C deg
B8 = 184 dec it is stoping fan temperature = 90 C deg. Fan stoped at 90 C deg .
        and the sequence is:   BF  B8     E7  D3     D9  CF
So...I experimentally checked the operation of these settings. Analogically temperature can be increased if sb want to...

It should work for the rest bytes from this sequence , but I didn't check the other two pairs of bytes

It looks like CC C0 is a TM1LF and fan works at 25% speed,
I suspect that lower value bytes pair D9 CF is a TM2LF (50 % fan speed) and  higher E7 D3  is a TM3LF (100% fan speed)

In this MY fan has 3 gears acording to ViDA, and it is matchig at least theoretically as it is written above

All these changes refers to software 20FWHJ from testing car V70 B5244T3 200hp, AT, 2WD, 2000 MY


                   


« Last Edit: June 03, 2024, 11:59:45 AM by V70user » Logged
s60rawr
Full Member
***

Karma: +19/-1052
Offline Offline

Posts: 160



« Reply #2642 on: June 04, 2024, 06:57:45 PM »

Thank You prometey1982 and s60rawr!
Two successes...

1. Rear lambda
 - rear lambda sensor diagnostic   CDLSH found at 0x1800B , enable 0x01, disable 0x00
 - rear lambda heating diagnostic CDHSH found at 0x18004 , enable 0x01, disable 0x00

2. Decreasing engine fan starting temperature
      I've found such a sequence of bytes:  CC  C0     E7  D3     D9  CF starting at 0x1882A
                                                                   |      |          |      |          |      |
                                                                  on   off       on   off       on   off
      and for now I checked first two bytes CC C0 and it is TM1LF - engine temperature threshold 1 for cooling fan control step 1
CC = 204 dec  (204*0.75)-48 = 105 C deg - fan starts
C0 = 192 dec (192 *0.75)-48 = 96 C deg - fan stops

     I've changed these two bytes onto:
BF = 191 dec, it gives starting fan temperature = 95.25 C deg. In testing car fan started exactly at 96 C deg
B8 = 184 dec it is stoping fan temperature = 90 C deg. Fan stoped at 90 C deg .
        and the sequence is:   BF  B8     E7  D3     D9  CF
So...I experimentally checked the operation of these settings. Analogically temperature can be increased if sb want to...

It should work for the rest bytes from this sequence , but I didn't check the other two pairs of bytes

It looks like CC C0 is a TM1LF and fan works at 25% speed,
I suspect that lower value bytes pair D9 CF is a TM2LF (50 % fan speed) and  higher E7 D3  is a TM3LF (100% fan speed)

In this MY fan has 3 gears acording to ViDA, and it is matchig at least theoretically as it is written above

All these changes refers to software 20FWHJ from testing car V70 B5244T3 200hp, AT, 2WD, 2000 MY


                   





Great work!
Logged


There is a free flash suite in progres
keichi
Full Member
***

Karma: +10/-2
Offline Offline

Posts: 72


« Reply #2643 on: June 11, 2024, 03:59:32 AM »


2. Decreasing engine fan starting temperature
      I've found such a sequence of bytes:  CC  C0     E7  D3     D9  CF starting at 0x1882A
                                                                   |      |          |      |          |      |
                                                                  on   off       on   off       on   off
      and for now I checked first two bytes CC C0 and it is TM1LF - engine temperature threshold 1 for cooling fan control step 1
CC = 204 dec  (204*0.75)-48 = 105 C deg - fan starts
C0 = 192 dec (192 *0.75)-48 = 96 C deg - fan stops

     I've changed these two bytes onto:
BF = 191 dec, it gives starting fan temperature = 95.25 C deg. In testing car fan started exactly at 96 C deg
B8 = 184 dec it is stoping fan temperature = 90 C deg. Fan stoped at 90 C deg .
        and the sequence is:   BF  B8     E7  D3     D9  CF
So...I experimentally checked the operation of these settings. Analogically temperature can be increased if sb want to...

It should work for the rest bytes from this sequence , but I didn't check the other two pairs of bytes

It looks like CC C0 is a TM1LF and fan works at 25% speed,
I suspect that lower value bytes pair D9 CF is a TM2LF (50 % fan speed) and  higher E7 D3  is a TM3LF (100% fan speed)

In this MY fan has 3 gears acording to ViDA, and it is matchig at least theoretically as it is written above

All these changes refers to software 20FWHJ from testing car V70 B5244T3 200hp, AT, 2WD, 2000 MY

Its not that simple Smiley

You got TM1LF, TM2LF, TM3LF, TM6LF, TM7LF, TM8LF following byte constants starting from 0x1882A

First 3 bytes are for fan step1, byte 4 for step2, byte 5 for step3.
But its not only factor for fan control.
Algorithm for fan control is actually quite complicated because it combine engine temperature control/air conditioning condenser temperature/EGT control/safety features/ECU temperature (yes! its for cooling processor like in ordinary PC somehow also, but don't ask me how and why, ask BOSCH engineers Wink
There are way more constants and conditions (vehicle speed constants, A/C pressure constants, calculated EGT constants, many timers - from engine start, after engine stop, ECU temperature! and more...).
One of the interesting parameters is temperature hysteresis DTMLF at 0x18781 (1byte)

Fan rpm at steps 1/2/3 is also not constant. Actually its unknown Smiley
ECU Doesn't set fan rpm but PWM signal to fan control module. PWM value depends on battery voltage. Its for example 50%@10V or 30%@14V to get fan step1.
Maps for fan PWM are KLTVLFx (x=1/2/3)
KLTVLF1 is at 0x1879C - 1dim table, axis right before data.

For basic tune (simple stage1/2, daily usage car) all that matters is just TM1LF and TM2LF and maybe DTMLF. Just lower TM1/2 a bit like 5deg less and that's it.
« Last Edit: June 11, 2024, 10:53:15 AM by keichi » Logged
V70user
Newbie
*

Karma: +1/-0
Offline Offline

Posts: 6


« Reply #2644 on: June 12, 2024, 03:55:13 AM »


For basic tune (simple stage1/2, daily usage car) all that matters is just TM1LF and TM2LF and maybe DTMLF. Just lower TM1/2 a bit like 5deg less and that's it.

...and that is what I've done in testing car.
Logged
prometey1982
Sr. Member
****

Karma: +70/-59
Offline Offline

Posts: 312



WWW
« Reply #2645 on: July 01, 2024, 10:06:33 PM »

Попытка убрать ошибку по несоответствию контрольной суммы. Идеей является то, что мы можем посчитать контрольную сумму, но не отдавать ее CEM. Для этого необходимо убрать установку бита готовности контрольной суммы. Вот код из 50WRHJ:

Code:
ROM:00056618                 movb    rl1, byte_30152A
ROM:0005661C                 jnb     r1.6, loc_566A2
ROM:00056620                 mov     r12, chkstart_l_0
ROM:00056624                 mov     r13, chkstarth_w_0_0
ROM:00056628                 mov     r14, chkstop_l_0
ROM:0005662C                 mov     r15, chkstoph_w_0_0
ROM:00056630                 calls   5, sub_599B4
ROM:00056634                 addb    chksecm, rl4
ROM:00056638                 mov     r12, chkstop_l_0
ROM:0005663C                 mov     r13, chkstoph_w_0_0
ROM:00056640                 sub     r12, chkstop_l
ROM:00056644                 subc    r13, chkstoph_w_0
ROM:00056648                 jmpr    cc_NZ, loc_56666
ROM:0005664A                 movbz   r12, byte_30152A
ROM:0005664E                 and     r12, #0FFBFh
ROM:00056652                 mov     r1, r12
ROM:00056654                 movb    byte_30152A, rl1
ROM:00056658                 movbz   r12, rl1
ROM:0005665A                 or      r12, #10h // replace this line with two nop operations: 76 FC 10 00 -> CC 00 CC 00
ROM:0005665E                 mov     r2, r12
ROM:00056660                 movb    byte_30152A, rl2
ROM:00056664                 jmpr    cc_UC, loc_566A2

На машине еще не проверял, возможно будет ругань от CEM на то, что контрольная сумма не посчитана. Но, мне кажется, ругаться не должно. Это же длительная операция и ответ в срок не гарантируется.
« Last Edit: July 01, 2024, 10:09:07 PM by prometey1982 » Logged

Россия - Великая страна!
https://youtu.be/fup5GzIFdXk
prj
Hero Member
*****

Karma: +1054/-444
Offline Offline

Posts: 5909


« Reply #2646 on: July 02, 2024, 08:26:24 AM »

It's much simpler. Record the correct sum and inject it at end of calculation.
Logged

PM's will not be answered, so don't even try.
Log your car properly.
prometey1982
Sr. Member
****

Karma: +70/-59
Offline Offline

Posts: 312



WWW
« Reply #2647 on: July 03, 2024, 12:04:59 AM »

It's much simpler. Record the correct sum and inject it at end of calculation.
Good advice. Can be done by copying variable from the memory. And even if checksum is lost it can be found in 256 iterations. Need to log the bounds of checksum calculations.
Logged

Россия - Великая страна!
https://youtu.be/fup5GzIFdXk
prometey1982
Sr. Member
****

Karma: +70/-59
Offline Offline

Posts: 312



WWW
« Reply #2648 on: July 06, 2024, 11:24:51 AM »

Хак не помог. CEM ругается на ошибку отсутствия ответа от ECM. Придется сохранять контрольную сумму и записывать в переменную.
Logged

Россия - Великая страна!
https://youtu.be/fup5GzIFdXk
V70_T5
Jr. Member
**

Karma: +1/-1
Offline Offline

Posts: 28


« Reply #2649 on: July 07, 2024, 08:03:29 AM »

Is the Cruise Control Function at the P80 Me7 Cars activated by the ECU? (Different Bins with cruise / without?)
Logged
daniel2345
Full Member
***

Karma: +11/-7
Offline Offline

Posts: 191


« Reply #2650 on: July 07, 2024, 08:09:26 AM »

No, configuration flag via can message from cdm.
Logged
V70_T5
Jr. Member
**

Karma: +1/-1
Offline Offline

Posts: 28


« Reply #2651 on: July 07, 2024, 09:53:22 AM »

No, configuration flag via can message from cdm.

Thanks!
Logged
keichi
Full Member
***

Karma: +10/-2
Offline Offline

Posts: 72


« Reply #2652 on: July 08, 2024, 02:21:49 AM »

No, configuration flag via can message from cdm.

You mean CEM?
In P80 cars?

Afaik P80 cars have no CAN and no CEM Smiley
Only CAN on those is single pair of wires from ECU to OBD port.
They have CC buttons wired directly to ECU as digital inputs.

In P2 cars CC buttons state is send by CAN messages.
Logged
daniel2345
Full Member
***

Karma: +11/-7
Offline Offline

Posts: 191


« Reply #2653 on: July 08, 2024, 03:11:15 AM »

P80 MJ99 an MJ2000 (Cabrio up to MJ2003) have CAN Network. There is no P80 with CAN wires directly from ECU to OBD2 port.

They have a CDM in between. Serves the functionality of holding car confg and being CAN Master. CC is globally enabled by it. Not talking about CC Buttons.
« Last Edit: July 08, 2024, 03:17:26 AM by daniel2345 » Logged
keichi
Full Member
***

Karma: +10/-2
Offline Offline

Posts: 72


« Reply #2654 on: July 08, 2024, 03:46:39 AM »

P80 MJ99 an MJ2000 (Cabrio up to MJ2003) have CAN Network. There is no P80 with CAN wires directly from ECU to OBD2 port.

They have a CDM in between. Serves the functionality of holding car confg and being CAN Master. CC is globally enabled by it. Not talking about CC Buttons.

That makes actually sense, thanks for clarification Smiley Indeed there is "something" that holds car config in P80, just didn't know its called CDM to be honest Smiley
So maybe you know if CC buttons are connected straight to ECU (bypassing CDM) or is CDM also in between (that would be weird but who knows).
Logged
Pages: 1 ... 175 176 [177] 178
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.028 seconds with 18 queries. (Pretty URLs adds 0s, 0q)