PCM Diagnostics & Tuning HP Tuners | Holley | Diablo

Inexpensive Opensource Flashing(Read is 100% working)

Thread Tools
 
Search this Thread
 
Old Feb 2, 2019 | 09:59 PM
  #441  
PeteS160's Avatar
Thread Starter
TECH Enthusiast
5 Year Member
 
Joined: Oct 2017
Posts: 567
Likes: 159
Default

Originally Posted by Jim Blackwood
Thank you for taking the question seriously. I assure you I know how checksums are used and did not ask frivolously. Still, thanks for the reminder. Perhaps you are all correct. But USB had some pretty severe teething pains when it was first tried, perhaps some of you remember that. Had it been all that perhaps this would not have been the case. I don't doubt that it has gotten better, however just because one protocol is old and one is new is not grounds to determine suitability for any specific intended purpose. Serial comm is also quite capable of using checksums, and laptops with serial ports are still available if you search them out. There is a reason it is still a standard in industry, because it works and it is reliable, and it is tolerant of noise. So as much as you might think that's obsolete it doesn't necessarily make me a dinosaur for being in favor of it. Also unless I'm mistaken USB requires additional layers of signal conditioning that serial does not.

Anyway, it seems I'm not going to convince anyone, likely as not that was all rather pointless. USB it'll have to be then, and that isn't a problem either I just wanted to test the waters so to speak before I went out buying cables. But I will say this. No protocol, no matter how robust is entirely proof against errors of all kinds, or impervious to all damage from noise. All of it is somewhere below 100%. How far below is the real question.

Jim
We could always talk BT since that still uses serial data on the device side
My Obdlink Mx runs just over 930K baud...

How about serial data over WIFI
I've used the Obdlink Sx over WiFi.....and the Obdlink Lx over USB
I've read and written a PCM with an Ardunio using USB, Serial FTDI converters and BT with out so much as a hiccup
Every BT Allpro that works with the Pcm Hammer was either built by me or likely had the instructions/parts list come from me


There is nothing wrong with using Serial data....but in the end USB is easy and works fine
Reply
Old Feb 3, 2019 | 12:32 AM
  #442  
NSFW's Avatar
TECH Fanatic
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Jan 2018
Posts: 1,060
Likes: 198
Default

Data point:

I've flashed my Subaru about 200 times, maybe 255. On two occasions I've had to repeat the flash due to the CRC verification step failing. On both occasions the second flash worked. It's never bricked itself. All using USB. For all I know, the failures might have been in the flash chip itself. There's no way to tell from the app.

That's with Tactrix EcuFlash, but PCM Hammer works similarly (probably all flashing apps do) and it has a similar verification step.

My only worry is collisions with other data on the VPW bus, but all the checks mentioned so far should make those a non issue anyway. So far, so good...
Reply
Old Feb 3, 2019 | 07:57 AM
  #443  
Machinery Repairman's Avatar
Teching In
 
Joined: Aug 2018
Posts: 8
Likes: 0
Default

Hammer Report:

1st read: 1939 Chevy truck with 2002 truck ls
Full read with no problems.
2nd read: Stock 2000 GMC truck
Full read went ok but it left a Security problem behind. The engine would start but shut off immediately.
I had to do a power down reset to recover.
Also a save complete message would be nice when saving the bin file.
I know just enough about electronics to be really good at letting the magic smoke out.

Bill
Reply
Old Feb 3, 2019 | 11:56 AM
  #444  
NSFW's Avatar
TECH Fanatic
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Jan 2018
Posts: 1,060
Likes: 198
Default

Did you check for codes when the truck was shutting off right after starting? I'd love to know what the PCM thought was wrong at that point.

If I had to guess... maybe at anti-theft feature got triggered by the PCM being too busy with the read process.

I'm glad to hear it recovered though.
Reply
Old Feb 3, 2019 | 04:57 PM
  #445  
Machinery Repairman's Avatar
Teching In
 
Joined: Aug 2018
Posts: 8
Likes: 0
Default

The dash message panel flashed SECURITY.
Maybe the body module was unhappy it was not invited to the party?
The '39 has all the security turned off.
Reply
Old Feb 3, 2019 | 08:50 PM
  #446  
NSFW's Avatar
TECH Fanatic
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Jan 2018
Posts: 1,060
Likes: 198
Default

Something like that, perhaps. It's just a guess though.

I get the security light during the flash, if I remember right, but after the flash is done it all goes back to normal.

It'll be interesting to see whether other people run into the same thing you did.
Reply
Old Feb 4, 2019 | 01:54 AM
  #447  
PeteS160's Avatar
Thread Starter
TECH Enthusiast
5 Year Member
 
Joined: Oct 2017
Posts: 567
Likes: 159
Default

Originally Posted by Machinery Repairman
The dash message panel flashed SECURITY.
Maybe the body module was unhappy it was not invited to the party?
The '39 has all the security turned off.
If I was to take a stab in the dark at this looking for a simple cause it was that the key was not turned off for at least 15 seconds after the Read/Flash was finished.

The BCM and theft should become inactive while the pcm is being read, once the flash is over they need to resync with the pcm. This would be like putting the wrong key in the ignition and turning the key on. As long as you didn't try to crank it with that key you would still be able to turn the ignition back off, put the correct key in and then start the vehicle. However if you cranked it with the wrong key it would trigger the Anti-theft.

In your case it's possible the security had just not re-synced with the PCM yet. Keep in mind if the vehicle has RAP(retained accessories power) you would need to open a door or wait for the RAP to time out for the BCM to actually shut down.
Reply
Old Feb 4, 2019 | 02:07 AM
  #448  
NSFW's Avatar
TECH Fanatic
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Jan 2018
Posts: 1,060
Likes: 198
Default

Sounds like we need a new message at the end of the flash, like "Remove your ignition key now, before the anti-theft gets suspicious."
Reply
LS1 Tech Stories

The Best V8 Stories One Small Block at Time

story-0

Amazing '71 Camaro Restomod Is Modern Muscle Car Under the Skin

 Verdad Gallardo
story-1

6 Common C5 Corvette Failures and What's Involved In Repairing Them

 Pouria Savadkouei
story-2

Retro Modern Bandit Pontiac Trans AM Comes With Burt Reynolds' Autograph

 Verdad Gallardo
story-3

Top 10 Greatest Cadillac V Series Performance Models Ever, Ranked

 Pouria Savadkouei
story-4

Top 10 Most Powerful Chevy Trucks Ever Made!

 
story-5

Hennessey's New Supercharged Silverado ZR2 Has 700 HP

 Verdad Gallardo
story-6

Coachbuilt N2A Anteros Is an LS2-Powered C6 Corvette In Italian Clothes

 Verdad Gallardo
story-7

Awesome K5 Blazer Restomod Comes With C7 Corvette Power

 Verdad Gallardo
story-8

10 Camaros You Should Never Buy

 
story-9

10 LS Engine Myths That Refuse to Die

 Verdad Gallardo
Old Feb 4, 2019 | 02:08 AM
  #449  
NSFW's Avatar
TECH Fanatic
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Jan 2018
Posts: 1,060
Likes: 198
Default

Unrelated to the above: I just got a 1mb AMD chip to confess its identity, so we're a step closer to rewriting P59s.
Reply
Old Feb 4, 2019 | 10:14 AM
  #450  
G Atsma's Avatar
TECH Senior Member
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Jun 2016
Posts: 22,295
Likes: 3,617
From: Central Cal.
Default

Originally Posted by NSFW
Unrelated to the above: I just got a 1mb AMD chip to confess its identity, so we're a step closer to rewriting P59s.
OK, what did you use..... waterboarding, the rack, cat o' nine tails??
Reply
Old Feb 4, 2019 | 02:47 PM
  #451  
Jim Blackwood's Avatar
Teching In
5 Year Member
 
Joined: Jan 2019
Posts: 46
Likes: 0
Default

Originally Posted by NSFW
Data point:

I've flashed my Subaru about 200 times, maybe 255. On two occasions I've had to repeat the flash due to the CRC verification step failing.
Which amply points out one of the major differences between hobby level work like we are doing here and professional grade like the big boys who will do a million or more testing cycles and log all the failures for cause and result before even selecting a connector type. If only we had the resources to duplicate their efforts. But that's not possible. So the next best thing is to look at what they are using and select, if not identical hardware, then at least hardware with the same characteristics.

I'm not going to harp on this. I don't want to distract you guys from carrying on with the good work. I'm only suggesting that as long as you're going to the trouble to do it, please don't make the same mistakes others have in assuming your hardware is good enough. You have to ask, as money conscious as some of the car companies have proven themselves to be, If you could save a penny why would you use a more expensive connector for instance? The answer is obvious, because it was required.

Any new ECM uses gas sealed connectors exclusively, and usually with dielectric grease. That's not to say a diagnostic port has to be held to the same high standards and they are not. But I think there's a fair argument that they are a more reliable connector than a USB port will ever be, and as virtually every other connector in a new car is now gas sealed and often greased, how long will it be before diagnostic ports follow suit? (Big rigs and buses have used them for decades.) Which is only a long way of saying that the USB port at the laptop is the weak link in the system.

Is there an alternative? Honestly you guys would know more about that than I do. Certainly it is easy and convenient and works most of the time. Probably you will never fry anything by using it and chances are very good you will never brickify anything either. Nothing but BT or WiFi even seems to have a ghost of a chance right now of being as good or better, and as some of you said, Serial, although reliable and good, has fallen out of favor. And since it's only the connection between the cable and the laptop we are talking about anyway it's only a concern if there's a sudden rash of failures. Let's hope not. (knock on wood) But if anybody could push for something better it'd probably be you guys. Me, I'm hoping for a good wireless solution eventually, but I don't think we're there yet.

Jim
Reply
Old Feb 4, 2019 | 03:05 PM
  #452  
stevieturbo's Avatar
9 Second Club
 
Joined: Nov 2003
Posts: 13,616
Likes: 185
From: Norn Iron
Default

Have you any idea Jim how many millions of vehicle ecu's get reflashed via USB cables around the world on a regular basis ? It's a mammoth industry across all types of vehicles.

Yes there are a few failures or bricks, but more often that's down to poor methods or someone doing something mid-flash rather than a problem with the comms method itself

In short...when flashing, once started touch absolutely nothing until it is finished.
Reply
Old Feb 4, 2019 | 03:18 PM
  #453  
NSFW's Avatar
TECH Fanatic
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Jan 2018
Posts: 1,060
Likes: 198
Default

Originally Posted by G Atsma
OK, what did you use..... waterboarding, the rack, cat o' nine tails??
We don't call it the PCM Hammer for nothing...
Reply
Old Feb 4, 2019 | 03:18 PM
  #454  
Jim Blackwood's Avatar
Teching In
5 Year Member
 
Joined: Jan 2019
Posts: 46
Likes: 0
Default

Yeah, you sure wouldn't want to take a chance of knocking the cable loose.
Reply
Old Feb 4, 2019 | 05:48 PM
  #455  
NSFW's Avatar
TECH Fanatic
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Jan 2018
Posts: 1,060
Likes: 198
Default

Originally Posted by Jim Blackwood
I'm only suggesting that as long as you're going to the trouble to do it, please don't make the same mistakes others have in assuming your hardware is good enough.
Nobody is making that assumption.

As Pete already told you, every message from the PC to the PCM contains two checksums. If those fail, the message is re-sent. And as I already told you, every reflash operation ends with a CRC check. If those fail (whether due to a transmission error that was hidden by a checksum false-positive, or due to a flash memory glitch, or just cosmic rays), the user gets a giant warning banner and the app tells them to flash again.

So its not really a question of whether or not the hardware can be trusted. It can't be trusted. That's why we already have three layers of error checking.

The question is really whether or not you trust a 32-bit CRC comparison.

If you have ever used a .zip file, you have trusted a 32-bit CRC to validate the integrity of your data.

Last edited by NSFW; Feb 4, 2019 at 08:18 PM. Reason: typo
Reply
Old Feb 4, 2019 | 08:12 PM
  #456  
PeteS160's Avatar
Thread Starter
TECH Enthusiast
5 Year Member
 
Joined: Oct 2017
Posts: 567
Likes: 159
Default

Originally Posted by Jim Blackwood
Yeah, you sure wouldn't want to take a chance of knocking the cable loose.
And just to make sure this point is Hammered home() I've gone one step further and been directly addressing bricked PCM recovery for some time now. If just 1% of the BIN file is flashed to the PCM correctly I have found a way to recover the PCM with over the data bus even when it's been left in a non-responsive state.

The ONLY piece of hardware that should be questioned here is the 20 year old PCM your trying to flash that's been exposed to elements it's entire life. Electronic parts do degrade over time and honestly time is what's going to start killing these PCM's long before we run into noise issues from using USB.
Reply
Old Feb 4, 2019 | 08:17 PM
  #457  
PeteS160's Avatar
Thread Starter
TECH Enthusiast
5 Year Member
 
Joined: Oct 2017
Posts: 567
Likes: 159
Default

Originally Posted by stevieturbo
In short...when flashing, once started touch absolutely nothing until it is finished.
You should go checkout my Android Elm flashing thread in this forum section. I'm way past the touching stage and have progressed into full blown flash molestation
Reply
Old Feb 4, 2019 | 08:31 PM
  #458  
jamesr's Avatar
Teching In
10 Year Member
iTrader: (1)
 
Joined: Nov 2014
Posts: 46
Likes: 2
Default

It should also be noted that when this is finished we should be able to flash a bin onto any like PCM, correct? Theres so many of these PCMs in junkyards waiting to be snapped up for like $25 if you did have a mishap, then just flash your file on and go.
Reply
Old Feb 4, 2019 | 09:54 PM
  #459  
PeteS160's Avatar
Thread Starter
TECH Enthusiast
5 Year Member
 
Joined: Oct 2017
Posts: 567
Likes: 159
Default

Originally Posted by jamesr
It should also be noted that when this is finished we should be able to flash a bin onto any like PCM, correct? Theres so many of these PCMs in junkyards waiting to be snapped up for like $25 if you did have a mishap, then just flash your file on and go.
The 99-02 Pcm's are completely interchangeable as long as the server number ends in 896 or 0411.
03-07 will interchange for the most part, not all of them will work with drive by cable so you need to check that.

The FWD car stuff will not interchange even though they look the same, they are not compatible.

This isn't a 100% complete table but its got most of the server numbers and applications covered.It should have Trail blazers added for 2003/2004 that used the LM4 V8.

The 2003 12576106 is the only 1mb PCM that's going to be VERY picky about what file you flash it with. It uses a different flash chip then all the other 1mb pcm's, for what ever reason this pcm used an Intel flash chip while every other 1mb pcm used an AMD flash chip.




Reply
Old Feb 4, 2019 | 10:01 PM
  #460  
DavidBraley's Avatar
Teching In
 
Joined: Jul 2018
Posts: 22
Likes: 0
From: Fort Collins, Colorado
Default

That table you just posted Pete is very helpful. Thank you.
Reply



All times are GMT -5. The time now is 10:16 PM.

story-0
Amazing '71 Camaro Restomod Is Modern Muscle Car Under the Skin

Slideshow: This heavily modified 1971 Camaro mixes classic muscle car styling with a fifth-generation Camaro interior and modern LS3 power.

By Verdad Gallardo | 2026-05-12 18:06:42


VIEW MORE
story-1
6 Common C5 Corvette Failures and What's Involved In Repairing Them

Slideshow: From wobbling harmonic balancers to failed EBCMs, these are the issues that define long-term C5 ownership and what repairs typically involve.

By Pouria Savadkouei | 2026-05-07 18:44:57


VIEW MORE
story-2
Retro Modern Bandit Pontiac Trans AM Comes With Burt Reynolds' Autograph

Slideshow: A modern Camaro transformed into a retro icon, this limited-run "Bandit" build blends nostalgia with brute force in a way few revivals manage.

By Verdad Gallardo | 2026-04-21 13:57:02


VIEW MORE
story-3
Top 10 Greatest Cadillac V Series Performance Models Ever, Ranked

Slideshow: Cadillac didn't just crash the high-performance luxury vehicle party, it showed up loud, supercharged, and occasionally a little unhinged...

By Pouria Savadkouei | 2026-04-16 10:05:15


VIEW MORE
story-4
Top 10 Most Powerful Chevy Trucks Ever Made!

Slideshow: Top ten most powerful Chevy trucks ever made

By | 2026-03-25 09:22:26


VIEW MORE
story-5
Hennessey's New Supercharged Silverado ZR2 Has 700 HP

Slideshow: Hennessey has turned the Silverado ZR2 into a 700-hp off-road monster with supercharged V8 power and a limited production run.

By Verdad Gallardo | 2026-03-24 18:57:52


VIEW MORE
story-6
Coachbuilt N2A Anteros Is an LS2-Powered C6 Corvette In Italian Clothes

Slideshow: A one-off sports car that looks like a vintage Italian exotic-but hides a C6 Corvette underneath-just sold for the price of a new mid-engine Corvette.

By Verdad Gallardo | 2026-03-23 18:53:41


VIEW MORE
story-7
Awesome K5 Blazer Restomod Comes With C7 Corvette Power

Slideshow: A heavily reworked 1972 K5 Blazer swaps its off-road roots for a low-slung street-focused build with modern V8 power.

By Verdad Gallardo | 2026-03-09 18:08:45


VIEW MORE
story-8
10 Camaros You Should Never Buy

Slideshow: There are thousands of used Camaros on the market but we think you should avoid these 10

By | 2026-02-17 17:09:30


VIEW MORE
story-9
10 LS Engine Myths That Refuse to Die

Slideshows: Which one of these myths do you believe?

By Verdad Gallardo | 2026-01-28 18:10:11


VIEW MORE