PCM Hammer P12 development

They go by many names, P01, P59, VPW, '0411 etc. Also covering E38 and newer here.
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 »

Gampy wrote:
darkman5001 wrote:Many have worked hard on this in many ways, not just you, and not just me. Its about team work and pulling our resources together and doing it as a team. I have always seen this as a team effort as I know it can't be accomplished by one person without taking an extreme amount of time and resources of the one person. I look at it this way... We are all helping the world and this community. Not about you or me.
Shows your newness around here ... You're preaching to the choir!

Not that there is anything wrong with being new ... We all have to start someplace!

Whatever that means. Not sure what you are trying to say there. I may be new here, but you don't know my capabilities... Nobody does. So keep judgement to yourself. Regardless, this thread is about P12 development. Rant Over! Let's get back to work.
User avatar
Gampy
Posts: 2330
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Hammer P12 development

Post by Gampy »

A common phrase, I would recommend some google education ...

You are the one doing the judging ... Not I.

It is my prerogative to say as I please, and I will.
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 P12 development

Post by antus »

Lets stay on topic and stay technical please. Any further non-technical posts will be deleted. Its a 49 page thread and we dont need to lower the signal to noise ratio.
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 P12 development

Post by kur4o »

After reading the measurement part, I think we need to finish the 2mb part.

It can be set just like ls1 512kb and 1mb are used.

On code upload the program reads chipid and use that for size identifier. No need to know each os size.

The only issue is that the code and calibration segment is a bit different layout but nothing big.
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 »

Thanks gampy for the latest p12 branch and darkman5001 for testing some more we have found the 2007 P12s are the P12b variant with the 2Mb flash, and the image is larger and with slightly different checksums. We'll need to add code to know these OSIDs and add support for the 2Mb image and update the checksum code, then the P12b support should be good.

@kur4o your right we could use the logic of when hardware type is P12 and flash size is 2Mb use that, but it'll be tidyer to keep all the image size information in the same place in pcminfo.cs, and I think we can find a list of OSIDs. Otherwise we end up with more logic in more places for different hardware types, since P10 needs to do the opposite thing and only read half the chip when a 1Mb chip is detected and we solved that by adding imagesize to pcminfo by OSID.
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
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 »

I have a few bins from different OSs I can post, hoping someone can help disassemble them for modifying, and hopefully I can help progress/research on these quirky computers. P12 and P12b I have been able to successfully upload the primary, slave, and shadow programming (with some help of course) as I am primarily doing this for the ecotec LSJ platform (04-07 saturn ion redline, 05-07 chevy cobalt ss 2.0) In my research I was able to get ahold of 2 different trailblazer p12s as well, 06 trailblazer is p12 where 07 trailblazer is p12b. ALL LSJ ones 04-07 are p12. I have pulled tune repository from 07 hummer as well and see that it is a p12b.

Now: with HPT and the other programs I have used the p12b takes twice as long to pull tunes/binaries out of. it appears so far I can write successfully those to regular p12 boards but I have not tested if they work yet. I hope some of this helps!
Attachments
06 SS 729430.hpt
(395.56 KiB) Downloaded 69 times
06 SS 729430 slave.bin
(256 KiB) Downloaded 67 times
06 SS 729430 shadow.bin
(256 Bytes) Downloaded 75 times
06 SS 729430 primary.bin
(1 MiB) Downloaded 62 times
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 »

bin dump #2
Attachments
06 ss 867718.hpt
(399.88 KiB) Downloaded 67 times
06 ss 867718 slave.bin
(256 KiB) Downloaded 61 times
06 ss 867718 shadow.bin
(256 Bytes) Downloaded 72 times
06 ss 867718 primary.bin
(1 MiB) Downloaded 64 times
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 »

bin dump #3
Attachments
07 trailblazer 135921 p12b.hpt
(428.35 KiB) Downloaded 72 times
07 trailblazer 135921 p12b slave.bin
(256 KiB) Downloaded 61 times
07 trailblazer 135921 p12b shadow.bin
(256 Bytes) Downloaded 65 times
07 trailblazer 135921 p12b primary.bin
(1 MiB) Downloaded 62 times
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 »

last bin dump of tonight, I have plenty more from different OSs, mostly from the platform I am interested in. If for some reason there is more to the p12b and it is in fact 2mb chips I will need to get another in my hands and do some more testing with it.

Really hoping someone can help hack these files for some much needed tuning support :)
Attachments
06 trailblazer 345532.hpt
(415.11 KiB) Downloaded 64 times
06 trailblazer 345532 slave.bin
(256 KiB) Downloaded 56 times
06 trailblazer 345532 shadow.bin
(256 Bytes) Downloaded 66 times
06 trailblazer 345532 primary.bin
(1 MiB) Downloaded 68 times
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 »

Thanks thats very helpful. At the moment we dont know how to read or write the slave and the theory is that they are all the same and it doesnt need to be updated, but your slave bins give us something to investigate. We also did yet realise there was a slave and a shadow, so that is interesting too.
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