Pages: 1 [2] 3
Author Topic: Volvo 3.0 T6 Denso tunning files Including Polestar (P3 Platform)  (Read 8800 times)
prometey1982
Sr. Member
****

Karma: +70/-60
Offline Offline

Posts: 323



WWW
« Reply #15 on: March 25, 2023, 01:31:27 AM »

t6 a2l are floating around i'm sure, polestar, not so much.  however we know hilton does it with his ram logger on poelstars . the logs contain headings such as Sfi_LnrAFCmp_bank1, Scm_AccPWM_Pts (and many many more) so that gives some clues.
From Denso A2L:
Scm_AccPWM_Pts  "Acc. pedal PWM position"
Sfi_LnrAFCmp_bank1      "Linear A/F compensation"

But again. If you can dissasembly something with existing A2L then other similar binaries (including polestar) can be analyzed by analogy.

PS thanks for response generation algorithm for Denso.
Logged

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

Karma: +3/-0
Offline Offline

Posts: 12


« Reply #16 on: March 25, 2023, 04:37:19 AM »

sounds like progress!

Logged
prj
Hero Member
*****

Karma: +1072/-480
Offline Offline

Posts: 6035


« Reply #17 on: March 25, 2023, 04:42:55 AM »

From Denso A2L:
Scm_AccPWM_Pts  "Acc. pedal PWM position"
Sfi_LnrAFCmp_bank1      "Linear A/F compensation"

But again. If you can dissasembly something with existing A2L then other similar binaries (including polestar) can be analyzed by analogy.

PS thanks for response generation algorithm for Denso.

It's much simpler than that.
Code:
<DataIdentifier Name="Accelerator position PWM signal" ID="D9A8" Size="2">
<Sessions>
<Session Name="ExtendedSession" ID="03" P2ServerMax="50" P4ServerMax="2000"/>
<Session Name="DefaultSession" ID="01" P2ServerMax="50" P4ServerMax="2000"/>
</Sessions>
<ResponseItems>
<ResponseItem Name="Scm_AccPWM_Pts" InDataType="01" OutDataType="01" Offset="00" Size="02" ResultPrecision="01">
<Formula>X*0.1</Formula>
<Unit>%</Unit>
</ResponseItem>
</ResponseItems>
</DataIdentifier>

And

Code:
<DataIdentifier Name="Linear AF feedback compensation" ID="D936" Size="4">
<Sessions>
<Session Name="ExtendedSession" ID="03" P2ServerMax="50" P4ServerMax="2000"/>
<Session Name="DefaultSession" ID="01" P2ServerMax="50" P4ServerMax="2000"/>
</Sessions>
<ResponseItems>
<ResponseItem Name="Sfi_LnrAFCmp_bank1" InDataType="03" OutDataType="01" Offset="00" Size="04" ResultPrecision="04">
<Formula>X*1</Formula>
</ResponseItem>
</ResponseItems>
</DataIdentifier>

It is contained in the DSA files
Logged

PM's will not be answered, so don't even try.
Log your car properly - WinOLS database - Tools/patches
PoleStarPete
Newbie
*

Karma: +3/-0
Offline Offline

Posts: 12


« Reply #18 on: March 25, 2023, 05:09:01 AM »

I'll put a Hilton log file into the google drive, it has all the important fields for tunning.
Logged
prometey1982
Sr. Member
****

Karma: +70/-60
Offline Offline

Posts: 323



WWW
« Reply #19 on: March 25, 2023, 06:29:13 AM »

It's much simpler than that.

It is contained in the DSA files
Where can I find DSA files?
Logged

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

Karma: +1072/-480
Offline Offline

Posts: 6035


« Reply #20 on: March 25, 2023, 10:51:10 AM »

Where can I find DSA files?
If you find out, I would love to know as well. I only have one for Denso.
Logged

PM's will not be answered, so don't even try.
Log your car properly - WinOLS database - Tools/patches
PoleStarPete
Newbie
*

Karma: +3/-0
Offline Offline

Posts: 12


« Reply #21 on: April 01, 2023, 01:18:09 AM »

I've added some more none polestar stuff.

S60 RD 3.0 T6 Ori and Stage 2+ and Map pack
Logged
Kess2emak
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


« Reply #22 on: April 02, 2023, 01:38:43 PM »

I've added some more none polestar stuff.

S60 RD 3.0 T6 Ori and Stage 2+ and Map pack

Thanks a lot for that!
I've been working on P3 stuff a little bit (not as far so you guys). I'm from Canada and found a guy from Belgium that says he has been tuning P3 T6s (3.0L) and Polestars (3.0L) for a couple years now. Shared with me some dyno sheets and looks very clean tbh.

One thing I was curious about is what program are people using to send him their BIN. I know a bunch of people have access to what Hilton give them when they go through him but I personally have never done business with him and have yet to find a tool for that to help me expand my work.
I'm far from being a professional tuner but what I do great is addons and additions features on OEM ECUs (custom codes here and there).

Someone willing to share where they get theirs?

Much appreciated Smiley
Logged
PoleStarPete
Newbie
*

Karma: +3/-0
Offline Offline

Posts: 12


« Reply #23 on: April 04, 2023, 02:26:48 AM »

I use a "home made" hardware solution to read write directly by odb2.  its essentially an MCU and a can transceiver.   Once you have logged an ECM reload with Vida you literally have everything you need to know about how  to interact with the ECM.  Of course these odb2 methods use the pin code where as bench readers like auto tuner, kess and  the like dont need the pin, but removing the ECM is a massive PITA.
Logged
dikidera
Full Member
***

Karma: +8/-8
Offline Offline

Posts: 149


« Reply #24 on: April 06, 2023, 12:01:33 PM »

What a treasure trove of information regarding Denso. These newer cars, do they still use Renesas' SH architecture or newer stuff? And if yes, do you happen to know which architecture it features?

Additionally I was wondering if anyone knows what Volvo mean by Ga and Gn and Ne in their DHA database. For instance "Area number by Ga" or "Mass airflow based on Gn". Then there is also "Stored Scm_Gn" and "Stored Scm_Ne".

Something is meant by Gn,Ga,Ne and Scm but so far I have no clue.
« Last Edit: April 09, 2023, 02:38:50 AM by dikidera » Logged
Kess2emak
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


« Reply #25 on: April 10, 2023, 01:37:06 AM »

I use a "home made" hardware solution to read write directly by odb2.  its essentially an MCU and a can transceiver.   Once you have logged an ECM reload with Vida you literally have everything you need to know about how  to interact with the ECM.  Of course these odb2 methods use the pin code where as bench readers like auto tuner, kess and  the like dont need the pin, but removing the ECM is a massive PITA.

Gotcha! That is what I figured. Any ideas if these bench readers would have all the maps properly defined or would there be any limitations? I have an auto tuner kit so I could test it out if it is worth the work of removing that ECU...

Thanks for the information
Logged
prj
Hero Member
*****

Karma: +1072/-480
Offline Offline

Posts: 6035


« Reply #26 on: April 10, 2023, 02:15:01 AM »

Any ideas if these bench readers would have all the maps properly defined or would there be any limitations?
Slow down.
A flash tool reads and writes an ECU, it does nothing else. The input and output is a binary file.
What is inside there has nothing to do with the flash tool, no flash tool knows anything about maps in there. It only knows how to read and write the file to the ECU.
Logged

PM's will not be answered, so don't even try.
Log your car properly - WinOLS database - Tools/patches
Kess2emak
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


« Reply #27 on: April 10, 2023, 01:27:58 PM »

Slow down.
A flash tool reads and writes an ECU, it does nothing else. The input and output is a binary file.
What is inside there has nothing to do with the flash tool, no flash tool knows anything about maps in there. It only knows how to read and write the file to the ECU.

I was asking because there is a guy claiming to say that it can do everything. He is doing his S60s with a tuner from europe and while he is in the states. I found that a bit weird cause otherwise every one would be doing this.

Again, thanks for the reply
Logged
prj
Hero Member
*****

Karma: +1072/-480
Offline Offline

Posts: 6035


« Reply #28 on: April 11, 2023, 12:19:43 AM »

I was asking because there is a guy claiming to say that it can do everything. He is doing his S60s with a tuner from europe and while he is in the states. I found that a bit weird cause otherwise every one would be doing this.

Again, thanks for the reply
Yea so they read the file, send it to the tuner, the tuner sends tune back, hopefully they log and repeat the process a couple times.
Working remote, you know?
Logged

PM's will not be answered, so don't even try.
Log your car properly - WinOLS database - Tools/patches
dikidera
Full Member
***

Karma: +8/-8
Offline Offline

Posts: 149


« Reply #29 on: April 20, 2023, 12:45:55 AM »

For writing your own SBLs, you can use this as a reference https://github.com/fenugrec/npkern

I do not know how the maps and main ECU code are organized, if they are separate again or not, however if they are, what I found that helps is stitching together all of it in a single idb in IDA,Ghidra. This helps immensely in data referencing.
If something like DHA did exist for P3 it would have been the best outcome. Having 100+ memory addresses already named helped a lot.

It may not be relevant, but I am attaching my most up-to-date P2 Denso idb.

Additionally I have a question. I have identified a few maps which I believe are related to the fueling. After many many hours I have determined that these values are Lambda values with a factor of 0.000030518. However I naively expected a single map to affect the final lambda value, in reality, to a single map value, there were many additions, multiplications, substractions. Of course these values were then added to various other values, which themselves were computed similarly, to get a Final Target Lambda. How the Lambda gets computed to injection time is still unknown to me.
However I began to question something and that is if the car operates in open loop which is during acceleration, which means at that point, the car must use separate maps for this. If I was looking to things related to Lambda and thus the oxygen sensors feedback, this means I was looking at closed loop maps, and not open loop maps?
Maybe this is about as much can be done statically without logging real-time data.
« Last Edit: April 22, 2023, 01:47:17 AM by dikidera » Logged
Pages: 1 [2] 3
  Print  
 
Jump to:  

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