PCM Hammer P01 and P59 flash tool v015

They go by many names, P01, P59, VPW, '0411 etc. Also covering E38 and newer here.
osiguru
Posts: 11
Joined: Thu Feb 14, 2019 3:46 am
cars: 71 RA20 Celica
70 C20 6.0
73 David Brown
Location: Sacramento, Ca

Re: PCM Hammer - new ls1 flash tool

Post by osiguru »

antus wrote:Efilive v7.5.x in trial mode will open bin files and tell you about the contents, but it will not save back to bin format. Its a good tool for testing and learning about reads and while those reading this thread probably are not looking for a tool from one of the big players - if you did want something more capable and with support for many more and newer types of pcms i'd recommend efilive as a company who have a good attitude and dont rip their customers off like some big players.
thank you SIR.
I'm happy to have stumbled into this community.
I'll be adding more bin files in the coming weeks, now that I have the bench harness and cables in hand.
(Is this the correct forum to upload the bins?)
yoda69
Posts: 1215
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: PCM Hammer - new ls1 flash tool

Post by yoda69 »

Have had a look at the LQ4 bin posted, attached XDF shows the VIN and calibration partnumbers in the ECU.
The PDF is from TIS2WEB, I entered the VIN found in the bin file.
Attachments
LQ4.xdf
(14.04 KiB) Downloaded 283 times
LQ4.pdf
(273.39 KiB) Downloaded 291 times
JonnyB
Posts: 13
Joined: Sun Jan 06, 2019 12:00 am
cars: 83 Ford Ranger, a friend's 91 Mustang that I'll be ls swapping with him (more like for him) and my daily driver 03 Silverado 2500hd rust bucket, lastly an lm7, lq4, and ly6 on stands

Re: PCM Hammer - new ls1 flash tool

Post by JonnyB »

Hey everyone,

To update y'all, I purchased an Obdlink SX to try and maybe rule out the interface. It worked! the used pcm is not bad :punk: but damn the sx is slooooowwwwwww lol.

quick little breakdown of what did/didn't work:
(0411 w/12208322 os)

Pcm Hammer v4/5 w/mdi2 failed to read full contents (see earlier post for debug)
" " " " flash successful (w/bin & xdf found online)
GM SPS w/mdi2 flash successful (oem calibration)
Pcm Hammer v5 w/SX read full contents successfull (both attempts home and work)
have not tried a flash w/the SX tool yet (the read took at least a 1/2hr)

Hope this helps! Thanks again for all the hard work!
User avatar
Tazzi
Posts: 3422
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: PCM Hammer - new ls1 flash tool

Post by Tazzi »

JonnyB wrote:Hey everyone,

To update y'all, I purchased an Obdlink SX to try and maybe rule out the interface. It worked! the used pcm is not bad :punk: but damn the sx is slooooowwwwwww lol.

quick little breakdown of what did/didn't work:
(0411 w/12208322 os)

Pcm Hammer v4/5 w/mdi2 failed to read full contents (see earlier post for debug)
" " " " flash successful (w/bin & xdf found online)
GM SPS w/mdi2 flash successful (oem calibration)
Pcm Hammer v5 w/SX read full contents successfull (both attempts home and work)
have not tried a flash w/the SX tool yet (the read took at least a 1/2hr)

Hope this helps! Thanks again for all the hard work!
Tried finding your log with the MDI2 for reading but dont see it posted?? Can you post it again?
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
JonnyB
Posts: 13
Joined: Sun Jan 06, 2019 12:00 am
cars: 83 Ford Ranger, a friend's 91 Mustang that I'll be ls swapping with him (more like for him) and my daily driver 03 Silverado 2500hd rust bucket, lastly an lm7, lq4, and ly6 on stands

Re: PCM Hammer - new ls1 flash tool

Post by JonnyB »

Attached are both my debug (pcmdebug.txt) and the one from Shortuning's test which looked like the same error that I had.
Attachments
Debug P01 PCM with MDI2.txt
(19.4 KiB) Downloaded 215 times
pcmdebug.txt
(19.48 KiB) Downloaded 216 times
User avatar
Tazzi
Posts: 3422
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: PCM Hammer - new ls1 flash tool

Post by Tazzi »

As far as I can see.. the MDI2 is failing to receive a large frame back! Weird!

It attempts to request the first block from the ECM, and gets no response, on the second reattempt, it does receive a response by its extremely short.

Im wondering if the MDI2 is not very good for large VPW packets maybe? Will need to edit the packet size and see if it works at smaller ones first.. and go from there.
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
Gampy
Posts: 2330
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Hammer - new ls1 flash tool

Post by Gampy »

As Antus has already stated here, the issue is:

Code: Select all

[05:26:07:368]  Reading from 0 / 0x0, length 4096 / 0x1000
The kernel does not support a 4096 packet size, something is amiss with PcmHammer.

[edit]
As it is defined here on line 63 in Apps/PcmHammer/Devices/J2534Device.cs:

Code: Select all

             this.MaxReceiveSize = 4096+10+2; // Driver or protocol limit?
Changing to 2048 may very well solve the issue.

One has a few choices:
  1. wait for a new release.
  2. have someone build a version for you.
  3. build it yourself. It's not hard, just requires M$ Visual Studio. (it's free)
-Enjoy
Intelligence is in the details!

It is easier not to learn bad habits, then it is to break them!

If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
User avatar
NSFW
Posts: 679
Joined: Fri Feb 02, 2018 3:13 pm

Re: PCM Hammer - new ls1 flash tool

Post by NSFW »

Small correction: The kernel's 2k limit is for writing, not reading. Pete was able to read packets over 10k using a DVI prototype.

That said, this particular device might have a sub-4k maximum packet size, so it's definitely worth trying with 2k or even 1k if that's what it takes.

Right now the app assumes that any J2534 device can handle 4k packets, but that might not be a safe assumption.
Please don't PM me with technical questions - start a thread instead, and send me a link to it. That way I can answer in public, and help other people who have the same question. Thanks!
User avatar
Tazzi
Posts: 3422
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: PCM Hammer - new ls1 flash tool

Post by Tazzi »

May need to put some more debug messages for the J status code when reading out messages... may give some clues to whats happening. For all we know, its a bug in the current MDI2 firmware.

Whens the last time it was used with something like SPS for updating a vehicle? Have you let SPS update to the latest MDI manager, and then let the manager install latest firmware?
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
brandonwh64
Posts: 26
Joined: Mon Dec 31, 2018 9:17 pm
cars: building a 1965 F100 with a 5.3L LS

Re: PCM Hammer - new ls1 flash tool

Post by brandonwh64 »

How well would PCM hammer work with the OBDlink LX (Bluetooth version)?
Post Reply