PCM Hammer P04 Support Project

They go by many names, P01, P59, VPW, '0411 etc. Also covering E38 and newer here.
kur4o
Posts: 956
Joined: Sun Apr 10, 2016 9:20 pm

Re: PCM Hammer P04 Support Project

Post by kur4o »

Thorwon wrote:Well, I got the Aurora PCM to read. Here are the logs the Bin and what Universal Patcher reads. Universal Patcher reads the DTCs, the VE table and the MAF.
Get the latest version zip folder of Universal patcher form github. It will will open much more tables for that bin.
MudDuck514
Posts: 397
Joined: Wed Jul 05, 2017 8:30 am
cars: 2001 Pontiac Grand AM SE
LD9 2.4l I4, 4T40E
2005 Chevrolet Venture
LA1 3400 V6, 4T65E
Location: North TX, USA

Re: PCM Hammer P04 Support Project

Post by MudDuck514 »

kur4o wrote:
Thorwon wrote:Well, I got the Aurora PCM to read. Here are the logs the Bin and what Universal Patcher reads. Universal Patcher reads the DTCs, the VE table and the MAF.
Get the latest version zip folder of Universal patcher form github. It will will open much more tables for that bin.
0.22.09 is the latest one?
That is the last one I have Downloaded.

Mike
User avatar
antus
Site Admin
Posts: 8253
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 P04 Support Project

Post by antus »

The 1996/1997 V6 computer seems pretty similar to the rest. The 256Kb checksum stuff was in there from last time I looked at that for P04 and now that I have a PCM on the bench read seems to work fine. Write goes through the motions but doesnt quite work. Not sure what the priority will be for this, but at a minimum it'll include read.

Code: Select all

[12:45:39:685]  PCM Hammer (20/08/2023, 12:45 AM)
[12:45:39:695]  Sunday, August 20 2023 @12:45:39:69
[12:45:39:704]  Thanks for using PCM Hammer.
[12:45:39:755]  AVT 852 Reset OK
[12:45:39:765]  AVT Firmware 1.5
[12:45:41:324]  WARNING: This version uses the new Assembly Kernels, USE AT YOUR OWN RISK!
[12:45:45:324]  Will save to C:\Users\\Documents\test2.bin
[12:45:46:328]  Querying operating system of current PCM.
[12:45:46:435]  OSID: 9352140
[12:45:46:447]  WARNING: P04 Support is still in development.
[12:45:48:149]  Unlock succeeded.
[12:45:48:216]  Attempting switch to VPW 4x
[12:45:48:237]  Module 0x10 (engine controller) has agreed to enter high-speed mode.
[12:45:51:379]  PCM uses a kernel loader.
[12:45:51:652]  Loader upload 100% complete.
[12:45:51:662]  Loader Version: 69000104
[12:45:51:665]  Loader uploaded to PCM succesfully.
[12:45:51:901]  Kernel upload 20% complete.
[12:45:52:074]  Kernel upload 47% complete.
[12:45:52:251]  Kernel upload 73% complete.
[12:45:52:424]  Kernel upload 100% complete.
[12:45:53:566]  Kernel Version: 82400204
[12:45:53:575]  Kernel uploaded to PCM succesfully. Requesting data...
[12:45:53:669]  Flash chip: Intel 28F200BX, 256kb
[12:46:48:138]  Read complete.
[12:46:48:141]  All read-request messages succeeded on the first try. You have an excellent connection to the PCM.
[12:46:48:145]  Please help by sharing your results in the PCM Hammer thread at pcmhacking.net.
[12:46:48:148]  Starting verification...
[12:46:48:165]  Calculating CRCs from file.
[12:46:48:174]  Requesting CRCs from PCM.
[12:46:48:177]  	Range		File CRC		PCM CRC	Verdict	Purpose
[12:46:51:222]  020000-03FFFF	C8722AA2	C8722AA2	Same	OperatingSystem
[12:46:53:556]  008000-01FFFF	AFAAB1D0	AFAAB1D0	Same	Calibration
[12:46:53:871]  006000-007FFF	10AC436C	10AC436C	Same	Parameter
[12:46:54:198]  004000-005FFF	93AE129F	93AE129F	Same	Parameter
[12:46:54:712]  000000-003FFF	8A87D1D8	8A87D1D8	Same	Boot
[12:46:54:789]  The contents of the file match the contents of the PCM.
[12:46:54:858]  Clearing trouble codes.
[12:46:56:057]  Clearing trouble codes.
[12:46:57:188]  Elapsed time 00:01:09.0366099
[12:46:57:204]  Saving contents to C:\Users\\Documents\test2.bin
This early PCM seems to have no respect for flash sector boundaries as defined by intel, so we might soon need a general purpose type instead of param/calibration/operating system, and need to re-think how that'll work when you select the different types of flashes in the main app.

I also hit the problem in another thread where I was reading the P12 with XPro and packets were dropped while researching this, but this time with the AVT interface on this PCM. I think my bus just might just have poor signal integrity and too many things on it. So it turns out that particular problem might not be a problem after all.
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
kur4o
Posts: 956
Joined: Sun Apr 10, 2016 9:20 pm

Re: PCM Hammer P04 Support Project

Post by kur4o »

Where can be found latest beta version that works with p04. A zip file for download will be preferred.
User avatar
antus
Site Admin
Posts: 8253
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 P04 Support Project

Post by antus »

I don't think anything works for all P04, but you are welcome to try antus/p08 branch. You'll need to check it out and build it yourself, and I can't remember what state its in, which ones it works for. I don't think any build has worked for P04 AMD and Intel at the same time. It *is dangerous* to try that version, but if your ready to tinker putting a nop here or there in the kernel it'll probably change which platforms it works on.

You could also try develop branch. You'll need to remove the code that blocks P04 write, and again, it is dangerous and will probably not work for all. If you want to help get one of the branches stable for all platforms, you are welcome too. There is also still a possibility Gampy will give a different answer, and/or submit a newer branch.
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
User avatar
Gampy
Posts: 2333
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Hammer P04 Support Project

Post by Gampy »

Perfect timing ... I will be posting a public test version today sometime that works for all, I would post it now but I'm puking my guts out ATM ...

-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
antus
Site Admin
Posts: 8253
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 P04 Support Project

Post by antus »

I really appreciate that you are still working on this, and am looking forward to your post!
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