Software On ELM Street - OBD2 Software Development

Programs / Tools / Scripts
User avatar
Tazzi
Posts: 3550
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 »

Plugged into the SS just now. And the ELMs down fall strikes hard.

The constant converting from string to bytes on the separate processing thread.. still isnt fast enough to keep up with the main thread adding in the new frames collected. Its just waayyyyyyy to quick!

Im not currently doing this, but I need to check which tab is open and only update that information, as currently Im displaying all data in every form which is extremely inefficient.
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: 3550
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 »

Cool sorted.
Main thread converts from string to bytes.

While processing thread then updates gauges with byte format of data. All data is always updated to the graph, but the dash/listview is only updated when that tab is selected.

Seems to be absolutely humming along.
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: 3550
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 »

A bit of fiddling.. well.. alot of fiddling to get the replay data going happily.

Since I want the user to be able to load the data and replay it at will. But also then to go ahead and start logging a new session if wanted.
This meant mucking around with what variables are displayed on the gauges, and the selectable parameters for the gauges. Pain to get coded.. but it works well now.

I think, that is the CAN engine data completely sorted from top to bottom including data saving/replay. A complete overhaul.
I now have to work on the VPW side of it, should mostly be copy/paste to get that going.

Once Iv completed the above, I will implement these changes to the new transmission section and it will be ready for some initial testers!

*Edit
And left it logging over night, was around 80frames/s. And it handled it great!
Save size isnt toooooo bad, about 64kB per minute of logging.
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
yoda69
Posts: 1226
Joined: Sun Mar 15, 2009 10:20 am
cars: 2004 VYII Acclaim Wagon V6 Auto LPG/Petrol
2004 VYII Berlina sedan V6 Auto
2005 VZ Monaro CV8 manual
Location: Geelong, VIC

Re: Software On ELM Street - OBD2 Software Development

Post by yoda69 »

Nice work!!
I know have a VE V6 Auto to play with so can actually try this out in a vehicle rather than a bench ECU.
User avatar
Tazzi
Posts: 3550
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 »

Perfect!

Iv just finished the VPW re-write, bench setup shows its working fine for engine logging. I now need to suss out how to distinguish auto/manual on LS1.. or alternatively I can just make SOE simply test the known trans PIDs and work out if its manual/auto from there. Or a user selection?
I know the fault codes read out are done the same as the engine since its from the same device, so I might just have to put a "not applicable" for the transmission fault codes possibly on LS1.

Not sure.. that'll be tomorrows job!

*Edit
VPW engine data reading is all hunky dory. Logs at a constant 40pid/s on the bench setup.
According to this ecu, it has 23 of the transmission PIDs that were found in the T42 trans controller.
Last edited by Tazzi on Wed Jun 10, 2015 11:07 am, edited 1 time in total.
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: 3550
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 »

Completed so far..
-Rewrite of ELM communication
-Rewrite of CAN procedures
-Rewrite of VPW procedures
-Rewrite of engine data routines
-Save/load/replay routines

To be finished..
-ECU seed/key finder (Broken from significant changes to read/write routines)
-Transmission data reading. (70% completed)
-MX wifi implementation
-AVT implementation

Since the overhaul is 90% completed. Anyone want to try out the latest version (v0.0.1.5a) and see it it connects happily with their elm device in car?
VPW_Replay.PNG
VPW_Replay.PNG (85.77 KiB) Viewed 4447 times
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: 3550
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 »

Version 0.0.1.5a is now available.
Please note I have it as an alpha release as there has been some major reconstruction. :thumbup:

The old v0.0.1.4 is also still available if needed for reinstalling.
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: 3550
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 »

10 successful users so far on v0.0.1.5a!

Glad to see the new design appeals and works more fluently.

One little snag that I have not implemented yet. On MANUAL VZ/VE vehicles, I have not implemented anything to skip over the automatic startup info. I am adding that to the current version so when the auto controller is not detected, it will simply skip over anything automatic related.
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: 3550
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 »

Last update for the day...
All transmission fault codes have been added.
Checks for transmission ECU, if none detected it will skip any trans reading on startup.

Added a couple LS1 trans PID's, it seems there are some PIDs that are named the same as the ones on CAN, the only difference is the actual PID value is slightly different.
Eg. 1A01 is speed ratio for CAN vehicles. 1A02 is speed ratio for LS1 vehicles.

Will be uploaded this new update v0.0.1.5b tomorrow.

Next on the list is the seed/key brute force. Although huge changes are needed on this so making my mind on what to do there. Plus other features Id like to add in there such as hptuner/efilive standard tunerlock algos. Might be worth while stripping it into a separate application since generic users dont need it really.
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
tek1229
Posts: 15
Joined: Thu Jun 11, 2015 11:53 am

Re: Software On ELM Street - OBD2 Software Development

Post by tek1229 »

Hey there, Felt like I should be saying hi here..

I have been tinkering with elm327 devices for a bit, starting with my 04 S10 and learning how to interface one with an arduino for a fan controller, later on I wrote some code for vpw right on the arduino..

Now many years later I have upgraded my main ride to a 13 silverado, played with that a little but the high speed CAN is busy!! Started out doing some googling and I found this site, and this forum..

Bravo!!!! I imagine I will be emaiing Tazzi shortly looking to try out his kewl new program..

If it helps anyone I do have a Tech 2, a GM MDI, and access to gm technician information.. Gotta admit though, this deep it isn't a whole lotta help usually..

Just been reading 20 pages or so, started getting crosseyed so bookmarking this site and calling it a nite...

Thanks again, I hope to be able to get some info from here and also hand out some of my own.. Tom- Tek1229...
Post Reply