PCM Hammer P04 Support Project

They go by many names, P01, P59, VPW, '0411 etc. Also covering E38 and newer here.
User avatar
Gampy
Posts: 2330
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Hammer P04 Support Project

Post by Gampy »

Where is the OsID in the P04 binary ??

Bad thing about having lots of notes is finding the one you want ... I can't find it!

-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: 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 P04 Support Project

Post by antus »

There is no 'the' p04 binary. PeteS mentioned this. We're going to need a lookup list based on... OSID? Oh crap.... Best to use the data API and let the OS deal with it on the PCM, and/or look at universal patcher definitions and use that method.
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
In-Tech
Posts: 778
Joined: Mon Mar 09, 2020 4:35 pm
Location: California

Re: PCM Hammer P04 Support Project

Post by In-Tech »

Gampy wrote:Where is the OsID in the P04 binary ??

Bad thing about having lots of notes is finding the one you want ... I can't find it!

-Enjoy
In my '03 grand prix file, OS id is at 0007FFFA-D and is Hex to Decimal.
Mine is 00BFF535 and Decimal is 12580149
Here is the .bin file
Carl_3100_GrandPrix.bin
(512 KiB) Downloaded 50 times
User avatar
Gampy
Posts: 2330
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Hammer P04 Support Project

Post by Gampy »

Antus,

Are you saying the OsID is not in a uniform location across different OsID's ??

-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!
In-Tech
Posts: 778
Joined: Mon Mar 09, 2020 4:35 pm
Location: California

Re: PCM Hammer P04 Support Project

Post by In-Tech »

It was in the same location in a .bin you posted...2005 buick century, I haven't looked at any others.
User avatar
Gampy
Posts: 2330
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Hammer P04 Support Project

Post by Gampy »

Yea punched myself in the face a couple times on that one ... I could have looked in mine and I didn't even think about it until you posted and made me think of it!

Duh! What a dumb ass I am ...

-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!
In-Tech
Posts: 778
Joined: Mon Mar 09, 2020 4:35 pm
Location: California

Re: PCM Hammer P04 Support Project

Post by In-Tech »

Hiya Gampy,
No worries, I didn't think about looking for yours till your reply either. I went on the hunt and found one you posted, checked it and there it was :)
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 P04 Support Project

Post by antus »

Gampy wrote:Antus,

Are you saying the OsID is not in a uniform location across different OsID's ??

-Enjoy
Im a little unsure. I have been told they are, but that might be between different v6 pcms. I also dont know what defines a p04 compared to similar v6 pcms. I would say we need to be careful until we know for sure between different hardware IDs. Would love for more information on the subject.
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: 948
Joined: Sun Apr 10, 2016 9:20 pm

Re: PCM Hammer P04 Support Project

Post by kur4o »

V6 Os is stored at 2 places and both can vary per bin. The easier one is almost always at the end of bin -6 bytes but sometimes it is -8 bytes.

The other place is near checksum location and it is also needed for checksum calculation.
Checksum is also stored at different address.
Either a lookup table for both of this is needed, or some logic from universal patcher can be implemented.
There are some search string that identify both of these locations flawless. There is also another string that can identify end of OS part, and can be used for custom crc32 to identify cross compatible OS numbers.

The structure is like this

start of bin- end of OS part. It doesn`t contain any identifiers as part number
start 0f calibration - end of bin. It does have cheksum p/n1 and p/n2

First part can be identical between different bins that have different p/ns in calibration part.

I will try to get some example soon.
In-Tech
Posts: 778
Joined: Mon Mar 09, 2020 4:35 pm
Location: California

Re: PCM Hammer P04 Support Project

Post by In-Tech »

Thank You,
I don't have my 2003 grand prix anymore. I think I have 1 blue/clear pcm somewhere to play with.
Post Reply