ALDL ECU's
- 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
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?
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?
Re: ALDL ECU's
Ahhhhhh that makes soooooo much more sense now.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?

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

Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726

Re: ALDL ECU's
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 (??)
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

Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726

- 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
The vast majority of those items are defined in the corresponding ADX.
Re: ALDL ECU's
Yeah some of them have slightly different names which is throwing me off.VL400 wrote:The vast majority of those items are defined in the corresponding ADX.

Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726

Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726

Re: ALDL ECU's
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!
I can however now use the data to emulate into the scantool to confirm freeze data information!

Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726

Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726

- 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
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.
Re: ALDL ECU's
Ahhh.. that didnt even cross my mind!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.

Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726

Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726

Re: ALDL ECU's
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)
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!)
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)
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

Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726

- 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
Lookin good
Looking forward to giving this one a go.
