Software On ELM Street - OBD2 Software Development

Programs / Tools / Scripts
User avatar
Tazzi
Posts: 3548
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: Software On ELM Street - OBD2 Software Development

Post by Tazzi »

Yeah, I have a simple:
"if debug = true
serial.print(CurrentStatus)
End if"

But, need to add in more debug to identify the issue. I only have the VZ V6 commodore for a couple hours to tinker with. Will work on it again probably next weekend when I head back to fix a coolant leak (This is the VZ from hell.. where whatever can go wrong, has gone wrong!)

I did find the ELM would output alot more "?" responses to standard ELM commands like ATSH. Seems that once connected in car, the ELM "slows" down and cant process responses properly. Might have to add a slight delay between requests. And see if that helps out.
It only occurs on the initial connection sending out a "ATI" to get the ELM to respond which its name and version.

I attempted to fix this in the latest version by making it retry a few times if it responds with a "?", normally second time round the elm responds correctly. Although its actually hanging somewhere so Ill be spamming the debug messages everywhere through that routine to catch this little trouble maker.
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: 3548
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: Software On ELM Street - OBD2 Software Development

Post by Tazzi »

Seems I mucked up a couple of the fault code definitions! Ill be fixing that up for the next version.
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: 3548
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: Software On ELM Street - OBD2 Software Development

Post by Tazzi »

After typing in... manually.. hundred+ fault code definitions.. Im pretty confident every fault code for LS1 and VZ V6 has been covered. Hopefully when moving onto VE V6 and LS1 ecus.. they maintain the same fault code definitions.. or only have a few additions.

New update will be out.. at my special 2am time :lol:
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: 3548
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: Software On ELM Street - OBD2 Software Development

Post by Tazzi »

New version up. v0.0.1.0

Check first post for link and change log :thumbup:


The latest "To-do" list is as follows:
-Complete fault clear implementation
-Apply additional PIDs from LS1 ecu reverse engineering
-Continue save/load live engine data routine.

The *Wish* list
-E38 ecu! (If anyone has a spare and can offer a fair price, please contact me!)
-E40 (not so important.. will be similar to the E38 anyways)
-VE V6 ecu (might have one.. have to double check)
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: 3548
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: Software On ELM Street - OBD2 Software Development

Post by Tazzi »

If anyone gets a fault code that says "Unknown". Let me know, and Ill run it through the tech2. If the tech2 says its unknown.. then your out of luck!
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: 3548
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: Software On ELM Street - OBD2 Software Development

Post by Tazzi »

Alright, P1439. Pulled from an LS1 ecu.
This fault is not stored in SOE. Annnd... apparently not in the tech2.

Neither is this fault found in hptuners or efilivie for LS1 vehicles.

I honestly dont see how this is even possible! Buuuuuut, I could request some weird "fault types" from the ecu, when setting the type to "FF", it requests every possible fault..which would actually read fault codes that dont even exist.. when.. not faults that have been noted down by Holden in their factory manuals.
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: 3548
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: Software On ELM Street - OBD2 Software Development

Post by Tazzi »

Have done some major changes to the freeze frame capture procedure for CAN. Seems to work a tonne better. Hopefully it will work just as well in car!
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: 3548
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: Software On ELM Street - OBD2 Software Development

Post by Tazzi »

Tested new fault definitions out.. makes a bit more sense now :thumbup:
Definitionsapplied.PNG
Definitionsapplied.PNG (48.66 KiB) Viewed 4421 times
Also added in the new LS1 PID parameters. Something like 65 or 70 PIDS that are encoded now.
Just got to finish up putting in their separate calculations and that will be those completed.


Also really happy with how the freeze frame data is working. Works everytime without fail on bench setup. And its much quicker than the old way! Would really like someone to get back to me on this as soon as I update to the next version.
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: 3548
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: Software On ELM Street - OBD2 Software Development

Post by Tazzi »

Also tested, and fixed up the LS1 freeze frame detector. Was missing a line of data, now works quickly and perfectly.!
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: 3548
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: Software On ELM Street - OBD2 Software Development

Post by Tazzi »

New version up. v0.0.1.1

Check first post for link and change log :thumbup:
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
Post Reply