Page 53 of 56

Re: PCM Hammer P12 development

Posted: Thu May 25, 2023 1:46 pm
by Lowlyfe1
Here are the stock files from a few other ones I have recently done.

Re: PCM Hammer P12 development

Posted: Thu May 25, 2023 2:54 pm
by Lowlyfe1
Using 12605261 as a base, looks like high octane ignition table starts at 0x02CCF2 and low octane starts at 0x02D22A. Is vats a single bit switch or code patch?
Edit
looks like a single switch at 0x020520 for vats still need to verify

Power enrichment ratio starts at 0x029458

Edit
Primary VE is located at 0x02B6B4

Edit
maf table is located at 0x02C2A4

Edit
regarding vats it looks like it is a single bit switch 0 = enabled and 1 = off. Checked in several software versions all seem to have the same structure

Edit
open loop eq while in gear 0x0288A2
open loop eq while in park or neutral 0x028D0A

Hopefully I have time tomorrow to find more maps, the larger ones are easy to find so ill try to do all of those first

Re: PCM Hammer P12 development

Posted: Sat May 27, 2023 4:45 pm
by Lowlyfe1
Had a little time tonight found some injector calibration maps
Dead times (offset vs kpa) 0x025014
injection quantity (flow vs kpa) 0x026122

Re: PCM Hammer P12 development

Posted: Sat May 27, 2023 4:50 pm
by Lowlyfe1
Am I the only one whos currently working on defining the P12? It would be nice to collaborate... IDA project anyone?

Re: PCM Hammer P12 development

Posted: Sun May 28, 2023 1:05 am
by MudDuck514
Lowlyfe1 wrote:Am I the only one whos currently working on defining the P12? It would be nice to collaborate... IDA project anyone?
I'd be more than willing to help on any of this as I have plenty of time.
BUT, I don't really know HOW to use IDA.
Anyone have a link to a video on HOW to use IDA for this?

Mike

Re: PCM Hammer P12 development

Posted: Sun May 28, 2023 3:20 am
by Gatecrasher
Use Ghidra. It's free and every bit as capable. Once you learn it, it's pretty damn powerful.

Re: PCM Hammer P12 development

Posted: Sun May 28, 2023 3:51 am
by MudDuck514
Gatecrasher wrote:Use Ghidra. It's free and every bit as capable. Once you learn it, it's pretty damn powerful.
OK, Can I assume that they got CPU32 support working properly now?
ALSO, any video tutorials on WHERE to start?
I REALLY want to learn so I can better contribute as I have LOTS of free time now.

Mike

Re: PCM Hammer P12 development

Posted: Sun May 28, 2023 6:20 am
by Gatecrasher
It looks like CPU32 is mostly fixed?

viewtopic.php?f=42&t=7920

There's some really good how-to info in that thread as well.

I might take a quick look at it too. I came up with some really helpful auto labeling scripts for my E92 disassembly. It'd be interesting to see if the same logic works on an older PCM.

Re: PCM Hammer P12 development

Posted: Sun May 28, 2023 9:32 am
by MudDuck514
Gatecrasher wrote:It looks like CPU32 is mostly fixed?

viewtopic.php?f=42&t=7920

There's some really good how-to info in that thread as well.

I might take a quick look at it too. I came up with some really helpful auto labeling scripts for my E92 disassembly. It'd be interesting to see if the same logic works on an older PCM.
Thanks, I had forgotten all about that thread.

Mike

Re: PCM Hammer P12 development

Posted: Sun May 28, 2023 9:56 am
by Gatecrasher
It was only dumb luck that I saw it and remembered it.

I found the diagnostic PID table. It's not laid out as conveniently as the E92, so it'll be a lot harder to script.

It starts at 0x6263a and ends at 0x6347a. The format is like this:

2 byte PID (Padded with 00 for the OBD2 standard PIDS. So PID 0x0C for RPM is 0x000C)
4 byte function address
1 byte count of bytes returned
1 byte padding. 0x00

That should help get you started matching up memory locations to the data they represent. I'll keep looking for other stuff. This may come in handy if I decide to poke around in the E67 on my Hummer.

How similar is this OS to the E40s? I've got some address info for those.