PCM Hammer P12 development

They go by many names, P01, P59, VPW, '0411 etc. Also covering E38 and newer here.
spyder09
Posts: 76
Joined: Thu Apr 21, 2022 3:50 am
cars: saturn ion redline
hhr ss

Re: PCM Hammer P12 development

Post by spyder09 »

kur4o wrote:spyder09,

I see you can recover these pcm even the slave cpu. We can do some testing for slave flashing securely. An mdi or avt or obdxpro cable will be needed.

If you have a link to any of these you recommend I will pick one up. I have VXnano currently
bubba2533
Posts: 498
Joined: Wed Apr 11, 2018 8:50 am
cars: 03 Chevy S10 Turbo V6

Re: PCM Hammer P12 development

Post by bubba2533 »

spyder09 wrote:approval to post cpu info :)

mc68377/77 cpu
That’s awesome info.

I might be able to figure out some disassembly stuff with this.
LS1 Boost OS V3 Here. For feature suggestions post in here Development Thread. Support future development ->Patreon.
darkman5001
Posts: 212
Joined: Sat Dec 18, 2021 8:15 am
cars: 2004 Suburban, 2001 Tahoe, 2002 Envoy, 2006 Envoy, 2003 Lincoln LS
Location: New Jersey, USA

Re: PCM Hammer P12 development

Post by darkman5001 »

spyder09 wrote:approval to post cpu info :)

mc68377/77 cpu

That is the same CPU as the E40 PCM.
Cincinnatus
Posts: 305
Joined: Fri Jul 30, 2021 5:49 pm
cars: 97 Corvette
92 Camaro
2005 Silverado
2001 Savana 2500
1998 c3500hd
1998 tahoe

Re: PCM Hammer P12 development

Post by Cincinnatus »

E40 is not vpw only
spyder09
Posts: 76
Joined: Thu Apr 21, 2022 3:50 am
cars: saturn ion redline
hhr ss

Re: PCM Hammer P12 development

Post by spyder09 »

bubba2533 wrote:
spyder09 wrote:approval to post cpu info :)

mc68377/77 cpu
That’s awesome info.

I might be able to figure out some disassembly stuff with this.
I hope you can! Not sure what you can disassemble/how far you can disassemble it but keep us posted
spyder09
Posts: 76
Joined: Thu Apr 21, 2022 3:50 am
cars: saturn ion redline
hhr ss

Re: PCM Hammer P12 development

Post by spyder09 »

bumping the thread in hopes there is any progress :) If I can help anymore I will
User avatar
NSFW
Posts: 679
Joined: Fri Feb 02, 2018 3:13 pm

Re: PCM Hammer P12 development

Post by NSFW »

Today's update to PCM Hammer includes support for P12 PCMs:
viewtopic.php?f=42&t=7843

And by "includes support for" I mean "we need more volunteers to test it."
And by "volunteers" I mean "guinea pigs."
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!
spyder09
Posts: 76
Joined: Thu Apr 21, 2022 3:50 am
cars: saturn ion redline
hhr ss

Re: PCM Hammer P12 development

Post by spyder09 »

Once my VT comes in I will bench test this with every OS I have if it’ll help
Sleepy
Posts: 4
Joined: Mon Apr 18, 2022 12:44 pm

Re: PCM Hammer P12 development

Post by Sleepy »

I was wondering why when I read the entire PCM it says the operating system is from 040000 to 0FFFFF in four segments, but when I verify the file checksums it says that it is from 08002 to FFFFF. This overlaps other areas of the file that are listed.

Also as can be seen below the file is corrupted. Apparently one bit flipped. I have done two downloads with the same result. This makes sense as the PCM would reset under certain conditions. I would like to know exactly where the incorrect bit is but have not been able to find a good bin for reference. I considered reprogramming with SPS and reading it again, but there was an update so I don't know how to get the same file that way. If someone could share a bin for 12597778 I would greatly appreciate it.

Code: Select all

 OS ID: 12597778
[09:36:59:804]  Hardware Type: P12
[09:36:59:864]  Calibration ID: 12597777
[09:37:00:054]  Serial Number: 5034KG04U
[09:37:00:104]  Broad Cast Code: YLCB
[09:37:00:154]  MEC: 0
[09:37:27:714]  Querying operating system of current PCM.
[09:37:27:761]  OSID: 12597778
[09:37:27:978]  PCM Unlock not required
[09:37:27:988]  Unlock succeeded.
[09:37:28:048]  This interface does not support VPW 4x
[09:37:29:298]  Kernel upload 11% complete.
[09:37:30:412]  Kernel upload 23% complete.
[09:37:31:610]  Kernel upload 36% complete.
[09:37:32:762]  Kernel upload 49% complete.
[09:37:33:956]  Kernel upload 61% complete.
[09:37:35:112]  Kernel upload 74% complete.
[09:37:36:303]  Kernel upload 87% complete.
[09:37:37:455]  Kernel upload 100% complete.
[09:37:38:726]  Kernel Version: 0103050C
[09:37:38:746]  kernel uploaded to PCM succesfully. Requesting data...
[09:37:38:862]  Flash chip: AMD AM29BL802C, 1mb
[09:57:21:256]  Read complete.
[09:57:21:266]  All read-request messages succeeded on the first try. You have an excellent connection to the PCM.
[09:57:21:266]  We're not sure how much retrying is normal for a read operation on a 1024kb PCM.
[09:57:21:276]  Please help by sharing your results in the PCM Hammer thread at pcmhacking.net.
[09:57:21:276]  Starting verification...
[09:57:21:299]  Calculating CRCs from file.
[09:57:21:311]  Initializing CRC algorithm on PCM, this will take a minute...
[09:57:21:433]  Requesting CRCs from PCM.
[09:57:21:473]  	Range		File CRC		PCM CRC	Verdict	Purpose
[09:57:28:080]  0C0000-0FFFFF	4D0D6C07	4D0D6C07	Same	OperatingSystem
[09:57:34:698]  080000-0BFFFF	4F05C834	4F05C834	Same	OperatingSystem
[09:57:38:134]  060000-07FFFF	2F4D85D2	2F4D85D2	Same	OperatingSystem
[09:57:41:558]  040000-05FFFF	E439462E	E439462E	Same	OperatingSystem
[09:57:44:980]  020000-03FFFF	DEE10700	DEE10700	Same	Calibration
[09:57:47:619]  008000-01FFFF	92BC974F	92BC974F	Same	Calibration
[09:57:48:067]  006000-007FFF	0FEF7761	0FEF7761	Same	Parameter
[09:57:48:515]  004000-005FFF	85B5BB36	85B5BB36	Same	Parameter
[09:57:49:168]  000000-003FFF	7EBCD52C	7EBCD52C	Same	Boot
[09:57:49:266]  The contents of the file match the contents of the PCM.

Code: Select all

[07:12:14:950]  Validating 1024k file.
[07:12:14:955]  Trying P59 1Mb
[07:12:14:955]  Trying P12 1Mb
[07:12:14:955]  	Start	End	Stored	Needed	Verdict	Segment Name
[07:12:14:960]  	00000	03FFF	15DD	15DD	Good	Boot Block
[07:12:14:968]  	08002	FFFFF	7F56	7F55	BAD	OS
[07:12:14:968]  	20662	3248F	DE97	DE97	Good	Engine Calibration
[07:12:14:978]  	32492	36ECF	63C1	63C1	Good	Engine Diagnostics
[07:12:14:988]  	36ED2	3F3EF	3C89	3C89	Good	Transmission Calibration
[07:12:14:998]  	3F3F2	3FFFB	1410	1410	Good	Transmission Diagnostics
[07:12:15:008]  	20002	2012F	2818	2818	Good	Speedometer
[07:12:15:018]  	20132	2065F	05A8	05A8	Good	System
[07:12:15:038]  This file is corrupt. It would render your PCM unusable.
User avatar
antus
Site Admin
Posts: 8237
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: PCM Hammer P12 development

Post by antus »

They are different checksums. The ones from the pcm are our own implementation of crc-16 used to optimise the flash process, and they are calculated by the flash kernel at runtime. They represent the data on the pcm at runtime, not from the GM factory. The segments fit the definition of how the ranges on the flash chip are defined by intel and amd (not gm).

The ones from the validation are checksum-16 as implemented in the data by gm. The ranges and the required sum are in the bin from the factory, so although it's a weaker algorithm than crc-16 it can still be used to check if a file is probably not corrupted from how the factory intended.

If a pcm is corrupted its possible to get a successful read that is validated by pcm hammer as matching the pcm but then but which fails validation on your pc. This would indicate the pcm is working enough to accurately read, but the pcm has some kind of data errors on it and probably requires a re-flash.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
Post Reply