Pages: 1 2 [3]
Author Topic: Custom C167 Boost PID  (Read 34393 times)
fknbrkn
Hero Member
*****

Karma: +203/-24
Offline Offline

Posts: 1489


mk4 1.8T AUM


« Reply #30 on: March 15, 2025, 10:31:02 AM »

There will be no easy hint
Reverse example file and fix offsets to yours in code
Or use this file as a base
Logged
Yur1i123rus
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


« Reply #31 on: March 15, 2025, 11:51:15 AM »

I will try to figure it out, but so far I can't understand the shifts in the maps that I wrote about above.
I hope I can figure it out.
Logged
Yur1i123rus
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


« Reply #32 on: March 16, 2025, 01:36:31 AM »

I realized that I need to go study assembler. After which I can return to this point
« Last Edit: March 16, 2025, 10:02:56 AM by Yur1i123rus » Logged
BlackT
Hero Member
*****

Karma: +79/-42
Offline Offline

Posts: 1460



« Reply #33 on: March 17, 2025, 03:01:12 PM »

Just my 2c:

022906032DR file equipped with DSG

we had misfires at cyl1 and constant pwm even after shutoff after transfering routine from example file, all variables was fine, mono lambda patch also here, there is no load limit in this file

- all ram variables redefined to 387* instead of 384* this eliminate misfires, even if IDA shows empty space here, probably some ram-mirroring was there, ive faced this before so just swap it with 387xxx*

- changed turbo routine instead of feeding pwm it manages new ldtvm_w to be able to log wgdc and move pwm to its raster
- new code (below) with port writing hooks up with other pwm operations, i believe its 1ms raster, correctly operating pwm even with !b_kl

exts   #38h, #1
mov      r4, ldtvm_w
movbz   r5, rl4
shl     r5, #8
mov     r4, PP3
mulu    r5, r4
mov     PW3, MDH
mov     r2, MDH


DPUPVDK calculates pvdkds_w based on ml_w in stock its subtracted map values from pu_w and i replaced it with addition due to map is not signed, this gives positive pvdkds_w and msdk_w now looking nice but i still thinking to replace it with native map sensor

RLVMXN/RLVSMXN maxed out to eliminate IOP limit and gives adequate misol_w, now its misol > miist, no torque intervention and car runs smoothly, ps_w, msdk_w, pvdks_w finally sorted out

asm patch for b_mdee (redsol) when shifting, basically some kind of 'jb b_zwget, loc_enable' so it gets selective fuel cut at shifts but unfortunately without noticeable sound

this knowledge costs me 2 days so enjoy it for free  Smiley


probably i want to emulate KFVPDKDS / KFPLGU stuff but im not sure for now // any hints?


What is r2 here?
Logged
Pages: 1 2 [3]
  Print  
 
Jump to:  

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