PCM Diagnostics & Tuning HP Tuners | Holley | Diablo

Inexpensive Opensource Flashing(Read is 100% working)

Thread Tools
 
Search this Thread
 
Old Nov 19, 2019 | 01:49 AM
  #721  
NSFW's Avatar
TECH Fanatic
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Jan 2018
Posts: 1,060
Likes: 198
Default

THANK YOU SO MUCH.

I just unbricked one of the P59s that I bricked months ago.
Reply
Old Nov 19, 2019 | 11:01 AM
  #722  
G Atsma's Avatar
TECH Senior Member
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Jun 2016
Posts: 22,298
Likes: 3,619
From: Central Cal.
Default

Originally Posted by NSFW
THANK YOU SO MUCH.

I just unbricked one of the P59s that I bricked months ago.
I don't know... sounds like sorcery to me....
Just kidding! Man, that's gotta feel good!
Reply
Old Nov 19, 2019 | 05:15 PM
  #723  
NSFW's Avatar
TECH Fanatic
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Jan 2018
Posts: 1,060
Likes: 198
Default

It does. I've been wanting to finish the P59 reflash stuff for months and now I can finally work on it again. Especially since I have some free time coming up next month.
Reply
Old Nov 22, 2019 | 08:59 PM
  #724  
NSFW's Avatar
TECH Fanatic
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Jan 2018
Posts: 1,060
Likes: 198
Default

Since fixing that bricked P59 a few days ago, I figured out what went wrong in the failed flash, and have reflashed it several times without issues.

PeteS figured out why that flash failure bricked it, and I'm going to make a couple changes to prevent bricking in the case of random failures.

Tazzi has a couple of changes in mind that will make it more reliable with ScanTool interfaces.

When all of those changes are in, I'll put out a new release. Hopefully within a couple weeks.

The next release will include a data logger, but the data logger will probably suck. The next-next release, hopefully before January, should have a data logger that actually works reasonably well.
Reply
Old Nov 22, 2019 | 10:40 PM
  #725  
G Atsma's Avatar
TECH Senior Member
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Jun 2016
Posts: 22,298
Likes: 3,619
From: Central Cal.
Default

Why not wait until the better data logger is ready? Then you don't have to worry.
Reply
Old Nov 22, 2019 | 10:54 PM
  #726  
NSFW's Avatar
TECH Fanatic
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Jan 2018
Posts: 1,060
Likes: 198
Default

I just want to finish up the P59 stuff and get it out there. I know what to do, and I think it won't take long.

The data logger... It does work, but it occasionally pauses for too long between rows of data. I have some ideas for fixing that, and making it faster in general, but it might take a lot of trial and error to get it right, so I don't know how long that will take.

Basically if there are P59 people out there who want to reflash, I don't want to keep them waiting while I fumble around with getting the data logger to work better.
Reply
Old Nov 22, 2019 | 10:54 PM
  #727  
i420tom's Avatar
9 Second Club
iTrader: (11)
 
Joined: Mar 2007
Posts: 351
Likes: 6
From: chicago burbs
Default

Originally Posted by NSFW
THANK YOU SO MUCH.

I just unbricked one of the P59s that I bricked months ago.
You are welcome! Glad I could finally contribute something tward these great projects
Reply
Old Nov 24, 2019 | 06:34 PM
  #728  
NSFW's Avatar
TECH Fanatic
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Jan 2018
Posts: 1,060
Likes: 198
Default

I just put up a new release with support for writing to the calibration and parameter blocks on P59s:

EDIT: There was a bug. Use Release 8 instead: https://github.com/LegacyNsfw/PcmHac.../2019.11.25.01

Keep in mind that I don't actually have a vehicle with a P59, so I've only done bench testing with it. But I've reflashed the PCM on my workbench about a dozen times now.

Who wants to be the first volunteer to try it in a vehicle?
Keep a spare PCM handy just in case.

Last edited by NSFW; Nov 26, 2019 at 01:59 AM. Reason: Release 7 couldn't read.
Reply
LS1 Tech Stories

The Best V8 Stories One Small Block at Time

story-0

Topdon ONE vs. Artidiag 800 BT2: Which is the Diagnostic Tablet For You?

 Pouria Savadkouei
story-1

Gas Monkey Built a 6-Wheel Ferrari Testarossa With a Corvette LT4 Engine

 Verdad Gallardo
story-2

7 Most Reliable High-Performance Engines GM Has Ever Built

 Verdad Gallardo
story-3

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

 Verdad Gallardo
story-4

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

 Pouria Savadkouei
story-5

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

 Verdad Gallardo
story-6

Top 10 Greatest Cadillac V Series Performance Models Ever, Ranked

 Pouria Savadkouei
story-7

Top 10 Most Powerful Chevy Trucks Ever Made!

 
story-8

Hennessey's New Supercharged Silverado ZR2 Has 700 HP

 Verdad Gallardo
story-9

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

 Verdad Gallardo
Old Nov 25, 2019 | 01:28 AM
  #729  
Red Beard's Avatar
Teching In
 
Joined: Nov 2019
Posts: 5
Likes: 1
Default

Hello I have a pixel XL on Android 10 and ls-droid says my version of Android is too old?
Reply
Old Nov 25, 2019 | 08:39 PM
  #730  
i420tom's Avatar
9 Second Club
iTrader: (11)
 
Joined: Mar 2007
Posts: 351
Likes: 6
From: chicago burbs
Default

tried read full in vehicle and had errors, full logs of p59 emailed to you. It is a custom 3bar operating system from HPT. Tried 2 different adapters, allpro and vcx nano,
had to disconnect battery to revive pcm each time

Edited to shorten message

Last edited by i420tom; Nov 25, 2019 at 11:59 PM.
Reply
Old Nov 25, 2019 | 10:40 PM
  #731  
NSFW's Avatar
TECH Fanatic
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Jan 2018
Posts: 1,060
Likes: 198
Default

Originally Posted by i420tom
tried read full in vehicle and had errors, full logs of p59 emailed to you. It is a custom 3bar operating system from HPT. Tried 2 different adapters, allpro and vcx nano, same result error summary below
had to disconnect battery to revive pcm each time
[08:25:23:655] No payload following read request.
[08:25:25:671] ReadMsgs OBDError: ERR_BUFFER_EMPTY
[08:25:25:671] No payload following read request.
[08:25:25:671] Something went wrong. Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.
[08:25:25:686] System.ArgumentException: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.
at System.Buffer.BlockCopy(Array src, Int32 srcOffset, Array dst, Int32 dstOffset, Int32 count)
at PcmHacking.CKernelReader.<TryReadBlock>d__5.MoveNe xt()
--- End of stack trace from previous location where exception was thrown ---
I got your email, and I think I know what the problem is. I'll need to do some testing to confirm this theory but if I'm right, the issue you ran into will prevent anyone from reading a P59, so I'll probably have to put out a new release to fix that. Stay tuned....
Reply
Old Nov 25, 2019 | 11:00 PM
  #732  
NSFW's Avatar
TECH Fanatic
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Jan 2018
Posts: 1,060
Likes: 198
Default

This is a little embarrassing, but the fix is...
1) del read-kernel.bin
2) copy write-kernel.bin read-kernel.bin

In other words, write-kernel.bin works for both reading and writing.

The P59 requires a small change in the kernel, and I only made that change in the write kernel, because I forgot that we had two kernels, Because the write kernel does work for both reading and writing.

I'll put out another release that just has a single "kernel.bin" to simplify things.
Reply
Old Nov 26, 2019 | 01:58 AM
  #733  
NSFW's Avatar
TECH Fanatic
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Jan 2018
Posts: 1,060
Likes: 198
Default

Release 8 is up now: https://github.com/LegacyNsfw/PcmHac.../2019.11.25.01
Reply
Old Nov 26, 2019 | 02:09 AM
  #734  
i420tom's Avatar
9 Second Club
iTrader: (11)
 
Joined: Mar 2007
Posts: 351
Likes: 6
From: chicago burbs
Default

Originally Posted by NSFW
1) del read-kernel.bin
2) copy write-kernel.bin read-kernel.bin
Did this with release 7 and read OK but bins created were 512kb and would not write(corrupt?)

Last edited by i420tom; Nov 26, 2019 at 02:14 AM.
Reply
Old Nov 26, 2019 | 02:36 AM
  #735  
NSFW's Avatar
TECH Fanatic
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Jan 2018
Posts: 1,060
Likes: 198
Default

If it produced a 512k file, I'm going to guess that you actually have a 512k PCM. I don't know why else that would happen.

Can you try with a PCM that has a GM operating system on it? I don't have HPTuners, so I don't do any testing with HPTuners (or EFI Live or any other commercial tuning tools), so I can't guarantee they will play nice together.

Also please get Release 8, it does some extra validation after reading from the PCM, which might help explain what's going on.
Reply
Old Nov 26, 2019 | 02:45 AM
  #736  
i420tom's Avatar
9 Second Club
iTrader: (11)
 
Joined: Mar 2007
Posts: 351
Likes: 6
From: chicago burbs
Default

I assure you it's a p59, I'll give 8 a try and report
Reply
Old Nov 26, 2019 | 10:17 AM
  #737  
Jrgunn5150's Avatar
Teching In
 
Joined: Jan 2009
Posts: 37
Likes: 2
From: Ionia, Michigan
Default

In regards to scaling VE tables.

In my experimentation, I was attempting to scale a 6.0 VE table down to accomodate a 5.3 running a 4L80e, to get around segment swapping.

In HP Tuners I would just subtract 12% from the VE and use the 6.0 as a starting point.

Tunerpro seems to start at 0 and go up, and doesn't seem to accept negative values.

So amI going about this all wrong?
Reply
Old Nov 26, 2019 | 10:29 AM
  #738  
NSFW's Avatar
TECH Fanatic
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Jan 2018
Posts: 1,060
Likes: 198
Default

Originally Posted by i420tom
I assure you it's a p59, I'll give 8 a try and report
Try a "quick compare" using a 1mb file, I think it will print the chip ID before it starts the comparison... Yours might have a chip that I haven't seen yet. I'm pretty sure there's an Intel chip that the app doesn't know about yet, for example. That should be easy to fix though.
Reply
Old Nov 26, 2019 | 03:21 PM
  #739  
i420tom's Avatar
9 Second Club
iTrader: (11)
 
Joined: Mar 2007
Posts: 351
Likes: 6
From: chicago burbs
Default

So far pcm hammer 7 with (new) read kernel produces a 512kb (not 1mb) file but it is corrupt? Last read block Recieved block starting at 520192

Also when trying pcm hammer 8 on this and another p59 pcm I have installed in another car I get same read error at the end on both. Does not save files but the last read block in the logs was
Recieved block starting at 520192 which is same as pcm hammer 7,

So it stops reading after 512kb. As 520192 start block read ends with 524288. 524288 is =512kb as 1kb is 1024.

I am for sure reading 2 different 1mb p59 pcms. But the read stops after the 512kb
Reply
Old Nov 26, 2019 | 04:16 PM
  #740  
i420tom's Avatar
9 Second Club
iTrader: (11)
 
Joined: Mar 2007
Posts: 351
Likes: 6
From: chicago burbs
Default

Just realized after browsing another forum that it is import to note that I believe both of these are intel f800 flash chip 2003? P59 Pcms.

These pcms are actually an oddball but also desirable p59 computers because they have the ability to control a cable throttle body with IAC.
Most of all the later P59s pcms cannot control the cable throttle as they are missing the IAC drivers on the board and are used solely for drive by wire electric throttle bodys
Reply



All times are GMT -5. The time now is 01:53 PM.

story-0
Topdon ONE vs. Artidiag 800 BT2: Which is the Diagnostic Tablet For You?

Slideshow: We take a close look at the ONE and Artidiag 800BT2 diagnostic tools from Topdon and the reasons to buy one over the other.

By Pouria Savadkouei | 2026-05-28 11:05:11


VIEW MORE
story-1
Gas Monkey Built a 6-Wheel Ferrari Testarossa With a Corvette LT4 Engine

Slideshow: The controversial Ferrari F6 swaps its original flat-12 for a Corvette Z06-derived LT4 V8 and sends power to four rear wheels through a custom-built drivetrain.

By Verdad Gallardo | 2026-05-26 18:23:54


VIEW MORE
story-2
7 Most Reliable High-Performance Engines GM Has Ever Built

Slideshow:These GM engines didn't just make huge power, they survived abuse, boost, track days, and six-digit mileage with a reputation for refusing to quit.

By Verdad Gallardo | 2026-05-21 16:45:27


VIEW MORE
story-3
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-4
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-5
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-6
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-7
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-8
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-9
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