Pages: [1] 2
Author Topic: trying to find b_sls  (Read 12178 times)
fknbrkn
Hero Member
*****

Karma: +185/-23
Offline Offline

Posts: 1454


mk4 1.8T AUM


« on: February 20, 2015, 02:38:28 PM »

with no luck
wanna use SAI pump connector in my routine but cannot find b_sls ( am i right that b_sls powering sai pump? )

or how can i use output pins directly ?



Logged
fknbrkn
Hero Member
*****

Karma: +185/-23
Offline Offline

Posts: 1454


mk4 1.8T AUM


« Reply #1 on: February 21, 2015, 05:03:27 AM »

ok i was trying to find CPU pin used for SAI pump (ECU pin #66)
succesful traced to pin #14 bosch 30380
but cant find datasheet for this little shit anywhere
another dead end..

i have idea to bruteforce all possible output ports (i suppose its bset p7_7 for example) but doesnt know how it works and im afraid to burn something Sad
« Last Edit: February 21, 2015, 05:22:20 AM by fukenbroken » Logged
elRey
Hero Member
*****

Karma: +32/-1
Offline Offline

Posts: 565


« Reply #2 on: February 21, 2015, 08:07:47 PM »

What are you trying to do? I've successfully used both SAI replay and N112 for my own uses (inline fuel pump and exhaust cutout) on the HS file. Maybe I can help.
Logged
fknbrkn
Hero Member
*****

Karma: +185/-23
Offline Offline

Posts: 1454


mk4 1.8T AUM


« Reply #3 on: February 22, 2015, 03:41:35 AM »

i want to use sai relay (sai pump output) for afterrun pump on my friend`s car. the idea is - to variate its working time by egt-model (some little tweak with relay power and i think it will work). and for meth-injection pump on my car. also i need an input pin for meth low-level sensor. didnt researching it yet. second o2 i think.. 

ive reading your post about it, but didnt clearly understand
i would very grateful if you gave me some kind of example how you manage this pins
Logged
vwaudiguy
Hero Member
*****

Karma: +53/-37
Offline Offline

Posts: 2024



« Reply #4 on: February 22, 2015, 07:24:40 PM »

What are you trying to do? I've successfully used both SAI replay and N112 for my own uses (inline fuel pump and exhaust cutout) on the HS file. Maybe I can help.

Do you have the addy's? This sounds like a lot of funnnn
Logged

"If you have a chinese turbo, that you are worried is going to blow up when you floor it, then LOL."
fknbrkn
Hero Member
*****

Karma: +185/-23
Offline Offline

Posts: 1454


mk4 1.8T AUM


« Reply #5 on: February 24, 2015, 05:52:46 PM »

found this awesome file

https://docs.google.com/spreadsheet/ccc?key=0Atc5QQQNw_5ndHV3aGNua1NXdnh5N3lEQlUyS0J4V0E&hl=en#gid=0

and after some researching i can succesfully manage n112 valve Smiley
but there is no SAI relay in it. trying to find it by analyse other output pins.. its a long way  Undecided
« Last Edit: February 24, 2015, 05:56:35 PM by fukenbroken » Logged
vwaudiguy
Hero Member
*****

Karma: +53/-37
Offline Offline

Posts: 2024



« Reply #6 on: February 24, 2015, 06:08:17 PM »

What are you trying to do? I've successfully used both SAI replay and N112 for my own uses (inline fuel pump and exhaust cutout) on the HS file. Maybe I can help.

elRey, can you provide the map names that control the sai, and 112 relay?
Logged

"If you have a chinese turbo, that you are worried is going to blow up when you floor it, then LOL."
elRey
Hero Member
*****

Karma: +32/-1
Offline Offline

Posts: 565


« Reply #7 on: February 24, 2015, 07:36:07 PM »

The route I took was to completely delete the SLS function. The problem with just using the SLS function to set b_sls is that other functions check status of b_sls (kat heating) and behave differently than they would with b_sls = false.

And ultimately I changed mem location responsible for output to two pins.

I'll have to pull up my IDA and get that for you.
Logged
vwaudiguy
Hero Member
*****

Karma: +53/-37
Offline Offline

Posts: 2024



« Reply #8 on: February 24, 2015, 08:25:42 PM »

The route I took was to completely delete the SLS function. The problem with just using the SLS function to set b_sls is that other functions check status of b_sls (kat heating) and behave differently than they would with b_sls = false.

And ultimately I changed mem location responsible for output to two pins.

I'll have to pull up my IDA and get that for you.

Don't waste your time, elRey. That sounds way over my head. I did a bit of reading, and found the 2/3 maps controlling those components and saw pretty much what you described. Thanks for responding, and also thanks for the explanation in the thread linked above.
Logged

"If you have a chinese turbo, that you are worried is going to blow up when you floor it, then LOL."
fknbrkn
Hero Member
*****

Karma: +185/-23
Offline Offline

Posts: 1454


mk4 1.8T AUM


« Reply #9 on: February 25, 2015, 01:51:31 AM »

The route I took was to completely delete the SLS function. The problem with just using the SLS function to set b_sls is that other functions check status of b_sls (kat heating) and behave differently than they would with b_sls = false.

And ultimately I changed mem location responsible for output to two pins.

I'll have to pull up my IDA and get that for you.

im searching b_sls only for tracking memory location of output port (now i begin to suspect that port mem loc is in ex #38 memory.. is it possible?)
i use to 'nop' some bset/bclr/bmov of p3_6 / dp3_6 and my n112 worked like a charm with my routine
IDA project will be very helpful for me thanks  Smiley

p.s. yesterday i was triyng to find cpu output port by starting 'output test' in vcds, and measurement voltage at cpu ports. was thinking its a good idea but when i start to measure some ports test stops and show error for a few minutes even if reset ecu. he definetely mocking me
« Last Edit: February 25, 2015, 02:02:00 AM by fukenbroken » Logged
elRey
Hero Member
*****

Karma: +32/-1
Offline Offline

Posts: 565


« Reply #10 on: February 25, 2015, 07:55:56 AM »

So, you want to control output to relay and n112 with you own routine? If so, will you not have two routines contolling output? Yours and SLS?
Logged
fknbrkn
Hero Member
*****

Karma: +185/-23
Offline Offline

Posts: 1454


mk4 1.8T AUM


« Reply #11 on: February 25, 2015, 08:17:45 AM »

yep + i need a few inputs in future
i leave stock sls routine but replace all 'bset p3_6' (port for n112), 'bclr p3_6' and 'bmov p3_6, xxsomething' etc with 'nop' so it cant control this port
« Last Edit: February 25, 2015, 08:32:22 AM by fukenbroken » Logged
elRey
Hero Member
*****

Karma: +32/-1
Offline Offline

Posts: 565


« Reply #12 on: February 25, 2015, 09:03:32 AM »

But it is not setting pins in SLS function. It sets a couple fxxx memory locations that are used in a separate routine to then set pin states. Are you nop lines in SLS routine or the other routine that bmov into pin states?
Logged
fknbrkn
Hero Member
*****

Karma: +185/-23
Offline Offline

Posts: 1454


mk4 1.8T AUM


« Reply #13 on: February 25, 2015, 09:21:02 AM »

as i remember there is 4 instances where p3_6 can be changed
bset/bclr into sls func and 2 bmov somewhere
i noped them all
Logged
elRey
Hero Member
*****

Karma: +32/-1
Offline Offline

Posts: 565


« Reply #14 on: February 25, 2015, 09:37:38 AM »

Ok, the bset/bclr in SLS can be left alone and ignored. The bmov is where I suggest you focus on. Just replace opt2 with an UNused memory address bit and use that address bit in your custom routine.

Unless your bin is different from the several 1.8T bins I've looked at, the SLS bset/bclr are NOT setting the pin directly.
« Last Edit: February 25, 2015, 10:51:07 AM by elRey » Logged
Pages: [1] 2
  Print  
 
Jump to:  

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