Page 36 of 39

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

Posted: Tue Jun 05, 2018 10:06 am
by antus
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.

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

Posted: Tue Jun 05, 2018 10:16 am
by madmaxisback
This is awesome! Well done to everyone working on this! I am following along here and via project updates. :thumbup:

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

Posted: Wed Jun 06, 2018 2:47 pm
by NSFW
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.

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

Posted: Tue Jun 12, 2018 2:40 pm
by 160plus
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.


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

Posted: Wed Jun 13, 2018 1:34 am
by MudDuck514
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

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

Posted: Wed Jun 13, 2018 3:00 am
by 160plus
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.

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

Posted: Thu Jun 14, 2018 6:03 pm
by NSFW
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.

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

Posted: Thu Jun 14, 2018 10:39 pm
by osx86ftw
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?

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

Posted: Thu Jun 14, 2018 11:31 pm
by antus
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.

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

Posted: Fri Jun 15, 2018 12:37 am
by osx86ftw
Bad ass. I'll have to make myself a bench harness.