ALDL ECU's

160 And 8192 Baud Aldl
Post Reply
User avatar
VL400
Posts: 4991
Joined: Sun Mar 01, 2009 2:54 pm
cars: VL Calais and Toyota Landcruiser. Plus some toys :)
Location: Perth, WA
Contact:

Re: ALDL ECU's

Post by VL400 »

A/D counts is the raw counts of the analog input. 0-255 counts. Its normally represented as a voltage though using X / 51.2. If you are wondering where 51.2 comes from 1 / (5 / 256). 256 A/D steps for a 5V range, inverse and you get a nice round number.
The engineering units is a scaled version of the above a/d counts after allowing for the closed and full throttle A/D counts. So 0-255 represents 0-100% with a calc of X / 2.56

On the blank byte above, often the code just adds some padding. Some ALDL logging frames have some unused bytes, it has a location containing 0x00 that is pointed to instead of actual data. Might just fill the gap with a zero if nothing was needed to be stored?
User avatar
Tazzi
Posts: 3558
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: ALDL ECU's

Post by Tazzi »

VL400 wrote:A/D counts is the raw counts of the analog input. 0-255 counts. Its normally represented as a voltage though using X / 51.2. If you are wondering where 51.2 comes from 1 / (5 / 256). 256 A/D steps for a 5V range, inverse and you get a nice round number.
The engineering units is a scaled version of the above a/d counts after allowing for the closed and full throttle A/D counts. So 0-255 represents 0-100% with a calc of X / 2.56

On the blank byte above, often the code just adds some padding. Some ALDL logging frames have some unused bytes, it has a location containing 0x00 that is pointed to instead of actual data. Might just fill the gap with a zero if nothing was needed to be stored?
Ahhhhhh that makes soooooo much more sense now. :thumbup:
Right, that should narrow down the calcs I have left to figure out.. will see what I can sort out!
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
Tazzi
Posts: 3558
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: ALDL ECU's

Post by Tazzi »

I understand the concept now.. but still getting a bit confused on whats what.
So all the different variables I can possibly calculate are below plus some of the calcs I think are correct!

LH OXYGEN SENSOR A/D COUNTS (mV) (X/51.2)

LH INTEGRATOR (%) (?)

LH BLOCK LEARN MEMORY (%) (?)

THROTTLE POSITION ENG. UNITS (%) (X/2.56)

MAF (g/s) (X/16)

COOLANT SENSOR A/D COUNTS (V) (??.. X/51.2)

INLET AIR TEMPERATURE A/D COUNTS (V)(??..X/51.2)

REFERENCE VOLTAGE A/D COUNTS (V) (X/51.2)

INLET AIR TEMPERATURE EG. UNITS (X*0.75 -40)

BATTERY VOLTAGE A/D COUNTS (V) (??..X/51.2)

THROTTLE POSITION A/D COUNTS (V) (X/51.2)

RH BLOCK LEARN MEMORY (%) (??)

COOLANT TEMPERATURE A/D COUNTS (V) (??.. X/51.2)

ROAD SPEED (km/h) (X.. NATIVE)

TRANSMISSION TEMPERATURE ENG. UNITS (°C) (X*0.75 -40)

CURRENT GEAR (??...X+1)

PRNDL FLAG (??)

REQUESTED GEAR (??.. X+1)

ENGINE PARAMETERS FLAG WORD (??)

DESIRED IDLE SPEED (RPM) (?? Only one byte.. not sure)

CURRENT IAC STEPS (STEPS) (??)

BYPASS STATUS (??)

SPARK ADVANCE (??)

RH OXYGEN SENSOR A/D COUNTS (mV) (??.. X/51.2)

RH INTEGRATOR (%) (??)

RH BLOCK LEARN MEMORY (%) (??)

INJ. VOLTAGE MONITOR A/D COUNTS (V) (??.. X/51.2)

TRANSMISSION PARAMETER FLAG (??)

GEAR ACTUAL (??)

TRANSMISSION SLIP (RPM) (??..only 1 byte.. not sure)

COMMAND PCS (A) (??)

ACTUAL PCS (A) (??)

TRANSMISSION TEMPERATURE A/D COUNT (V) (??.. X/51.2)

LH INTEGRATOR (%) (??)

RH INTEGRATOR (%) (??)

EGR PINTLE POSITION COUNTS (??)

EGR PINTLE POSITION FEEDBACK A/D (??)

EGR PINTLE DESIRED POSITION (??)

CANISTER PURGE CUTY CYCLE (%) (??)

IAC STATUS MODE (??)
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
VL400
Posts: 4991
Joined: Sun Mar 01, 2009 2:54 pm
cars: VL Calais and Toyota Landcruiser. Plus some toys :)
Location: Perth, WA
Contact:

Re: ALDL ECU's

Post by VL400 »

The vast majority of those items are defined in the corresponding ADX.
User avatar
Tazzi
Posts: 3558
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: ALDL ECU's

Post by Tazzi »

VL400 wrote:The vast majority of those items are defined in the corresponding ADX.
Yeah some of them have slightly different names which is throwing me off. :thumbdown:
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
Tazzi
Posts: 3558
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: ALDL ECU's

Post by Tazzi »

Starting digging into the VT ecu's.. and theres not much at all in the way of "module details". No vin, part numbers ect are shown up in the VT V6. Only a PROM number.

I can however now use the data to emulate into the scantool to confirm freeze data information! :thumbup:
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
VL400
Posts: 4991
Joined: Sun Mar 01, 2009 2:54 pm
cars: VL Calais and Toyota Landcruiser. Plus some toys :)
Location: Perth, WA
Contact:

Re: ALDL ECU's

Post by VL400 »

You can get some info (like the VIN) from the EEPROM at address 0xE00-0xEFF. Use mode 2 64 byte request, same as getting a cal.
User avatar
Tazzi
Posts: 3558
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: ALDL ECU's

Post by Tazzi »

VL400 wrote:You can get some info (like the VIN) from the EEPROM at address 0xE00-0xEFF. Use mode 2 64 byte request, same as getting a cal.
Ahhh.. that didnt even cross my mind! :thumbup:
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
Tazzi
Posts: 3558
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: ALDL ECU's

Post by Tazzi »

Allllright! Data is looking alot more reasonable. Iv confirmed my data with the tech2. Looooking good!

This seems to work with the VS V6 and VT V6 100%. Id assume this means this particular routine will work with the VT 5.0L V8 and VS S3 V8. (Adjusting for heartbeat requirements)
FreezeData_VT_V6.png
FreezeData_VT_V6.png (32.35 KiB) Viewed 5068 times

The VU,VX,VY freeze data is almost identical apart for everything is slightly shifted, and theres a couple other variables to be checked in there.

Now.. this only leaves the VR to be completed.. Will see how I go based off the Info VL chucked up (Cheers again mate!)
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
VL400
Posts: 4991
Joined: Sun Mar 01, 2009 2:54 pm
cars: VL Calais and Toyota Landcruiser. Plus some toys :)
Location: Perth, WA
Contact:

Re: ALDL ECU's

Post by VL400 »

Lookin good :thumbup: Looking forward to giving this one a go.
Post Reply