Open source GM OBD2 flash tool using a ELM327 device

Site Admin
User avatar
Posts: 5191
Joined: Sat Feb 28, 2009 8:34 pm

Re: Open source GM OBD2 flash tool using a ELM327 device

Postby antus » Tue Jun 05, 2018 10:06 am

The timeout issues have been resolved! My development version just read its first PCM via an allpro with stock allpro firmware v1.21. The timings are slack and the read process was slow, so next point of call is some fine tuning to get the speeds up where they should be.
Have you read the FAQ? For lots of information and links to significant threads see here: viewtopic.php?f=7&t=1396

User avatar
Posts: 141
Joined: Mon Nov 09, 2009 4:56 pm
Location: Perth

Re: Open source GM OBD2 flash tool using a ELM327 device

Postby madmaxisback » Tue Jun 05, 2018 10:16 am

This is awesome! Well done to everyone working on this! I am following along here and via project updates. :thumbup:

User avatar
Posts: 51
Joined: Fri Feb 02, 2018 3:13 pm

Re: Open source GM OBD2 flash tool using a ELM327 device

Postby NSFW » Wed Jun 06, 2018 2:47 pm

MudDuck514 wrote:I am guessing that when the time comes to move on to the next PCM the Hardware will be able to support it?
i.e. Blackbox PCM using J1850VPW, and the newer PCM's using CANBUS.


Probably, but with with that sort of thing you don't really know until you actually try.

Posts: 46
Joined: Thu Sep 21, 2017 3:00 pm

Re: Open source GM OBD2 flash tool using a ELM327 device

Postby 160plus » Tue Jun 12, 2018 2:40 pm

Cross platform flashing will be a thing now thanks to help from Antus and NSFW. Antus has been answering my questions for almost a year now and I'm running his flash kernel. NSFW created the program I've been using to test my data against making sure I was getting accurate results. Android as a flash tool is no longer just an idea....it's now a real tool.


Posts: 21
Joined: Wed Jul 05, 2017 8:30 am
Location: TX USA

Re: Open source GM OBD2 flash tool using a ELM327 device

Postby MudDuck514 » Wed Jun 13, 2018 1:34 am

Great job Pete!

I have a couple of questions about the setup shown in the video: are you running separate devices for the laptop and phone, or using one device with two interfaces i.e usb AND bluetooth at the same time?
And, what app is running on the laptop?

Mike

Posts: 46
Joined: Thu Sep 21, 2017 3:00 pm

Re: Open source GM OBD2 flash tool using a ELM327 device

Postby 160plus » Wed Jun 13, 2018 3:00 am

MudDuck514 wrote:Great job Pete!

I have a couple of questions about the setup shown in the video: are you running separate devices for the laptop and phone, or using one device with two interfaces i.e usb AND bluetooth at the same time?
And, what app is running on the laptop?

Mike

I have an USB FTDI tied into the Rx/Tx lines Of the Allpro. On the computer there is no program running, it's just a serial terminal that streams the data creating a log I can go back though if something were to go wrong and I need to see what happened. It also lets me copy/paste data I read and compare it with other tools to make sure I'm getting all the bytes and they were coming though in the correct order. In the App it self every time it sends the 3F it clears the log....it was a huge memory hog to keep the entire file visible and it's already saving data to the phone so writing a debug log so to speak was out of the question.

User avatar
Posts: 51
Joined: Fri Feb 02, 2018 3:13 pm

Re: Open source GM OBD2 flash tool using a ELM327 device

Postby NSFW » Thu Jun 14, 2018 6:03 pm

The current state of the Windows app, running against a PCM on my desk:

https://youtu.be/jn7YkZcD_mo

A complete read of the PCM takes about 8 minutes using the USB version of the AllPro adapter. We can probably shave a couple minutes off of that time, but at this point I mostly just want it to work in an actual car. Every time I've tried that so far it has failed for one reason or another... It's getting closer though.

Posts: 6
Joined: Sun Apr 15, 2018 10:01 pm

Re: Open source GM OBD2 flash tool using a ELM327 device

Postby osx86ftw » Thu Jun 14, 2018 10:39 pm

NSFW wrote:The current state of the Windows app, running against a PCM on my desk:

https://youtu.be/jn7YkZcD_mo

A complete read of the PCM takes about 8 minutes using the USB version of the AllPro adapter. We can probably shave a couple minutes off of that time, but at this point I mostly just want it to work in an actual car. Every time I've tried that so far it has failed for one reason or another... It's getting closer though.


Sweet! :punk: Just out of curiosity, why would it fail in vehicle but work on the test bench?

Site Admin
User avatar
Posts: 5191
Joined: Sat Feb 28, 2009 8:34 pm

Re: Open source GM OBD2 flash tool using a ELM327 device

Postby antus » Thu Jun 14, 2018 11:31 pm

More traffic on the bus causing collisions or unexpected responses, and when retried, affecting timings. The app logic needs to keep in sync with the PCM and VPW bus in general and if your code cant handle all the possibilities or if it needs to talk to a module in the vehicle that is not on your test bench (so that it behaves itself during the process) things can break.
Have you read the FAQ? For lots of information and links to significant threads see here: viewtopic.php?f=7&t=1396

Posts: 6
Joined: Sun Apr 15, 2018 10:01 pm

Re: Open source GM OBD2 flash tool using a ELM327 device

Postby osx86ftw » Fri Jun 15, 2018 12:37 am

Bad ass. I'll have to make myself a bench harness.

PreviousNext

Return to Tool Development

Who is online

Users browsing this forum: No registered users and 1 guest