PCM Hammer P12 development

They go by many names, P01, P10, P12, P59, E38, VPW, '0411 etc.
User avatar
Gampy
Posts: 2332
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Hammer P12 development

Post by Gampy »

NSFW wrote:Is there any chance that voltage is dipping during the erase?
Corruption sounds more like an electrical problem than a software problem.
I'm just guessing though.
[12:36:27:692] Battery Voltage is: 13.649
kur4o wrote:I think it is time of waiting till the erase is done, Usually 2-3 seconds per segment.

You can also check if the erase is done with reading register where 3030 is loaded, And wait for specific response.
We are reading the address where erase is commanded (0x3030) for 0x640000 iterations, but are only looking for change.

I've often wondered if we should be looking for a change to FF's ...
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: 9009
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 »

My hardware arrived today and ive set it up on the bench. So far so good, Ive pulled a bin of the pcm in its virgin state. Not sure when I'll have time to get too serious with this but im keen to test and see if I can figure anything out.
Attachments
P12 initial read.bin
(1 MiB) Downloaded 88 times
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: 2332
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Hammer P12 development

Post by Gampy »

Tap Tap Tap ...
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!
darkman5001
Posts: 252
Joined: Sat Dec 18, 2021 8:15 am
cars: 2005 Yukon, 2004 Suburban, 2001 Tahoe, 2002 Envoy, 2006 Envoy, 2003 Lincoln LS
Location: New Jersey, USA

Re: PCM Hammer P12 development

Post by darkman5001 »

I hope we can get more testing... I wish there was more I can do.
User avatar
Gampy
Posts: 2332
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Hammer P12 development

Post by Gampy »

My P12 diffs, they are NOT valid diff patch files, they are strictly hand patches ...

The techniques used are likely not the best way or place, they were done in the method of least path of resistance to an end goal and not intended as production code!

I use preprocessor directives to select between P12 and P01/P59 purely because it's easy, my build system handles it.
In VS it's done by adding P12 to the Conditional Compilation Symbols in the projects properties under the Build tab...
For the kernel it's done with '-D=P12' added to the gcc.exe command line.

Use at your own risk ...
Kernel-P12.diff.txt
(8.89 KiB) Downloaded 85 times
PcmHacks-P12.diff.txt
(7.81 KiB) Downloaded 92 times
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!
darkman5001
Posts: 252
Joined: Sat Dec 18, 2021 8:15 am
cars: 2005 Yukon, 2004 Suburban, 2001 Tahoe, 2002 Envoy, 2006 Envoy, 2003 Lincoln LS
Location: New Jersey, USA

Re: PCM Hammer P12 development

Post by darkman5001 »

antus wrote:My hardware arrived today and ive set it up on the bench. So far so good, Ive pulled a bin of the pcm in its virgin state. Not sure when I'll have time to get too serious with this but im keen to test and see if I can figure anything out.
Antus, what is the vin number is programmed into that P12 you have there? I am trying to look up the operating system numbers. I don't think the P12 you got came from a trailblazer or envoy.
User avatar
Gampy
Posts: 2332
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Hammer P12 development

Post by Gampy »

Open the bin in a hex editor ...
Browse/goto address 0x8004, 0x8005, 0x8006, 0x8007
In the bin Antus posted you will see, 00 C0 AF AB
Convert that to decimal and you will get: 12627883
That is the Operating System ID.

The VIN is the 17 ASCII bytes starting at 0x40E8 or 0x60E8 ...
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: 9009
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 »

The vin from mine comes up as 1GCCS148268305278 2006 Chevrolet Colorado / Blazer 1/2 Ton (4x2)
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
darkman5001
Posts: 252
Joined: Sat Dec 18, 2021 8:15 am
cars: 2005 Yukon, 2004 Suburban, 2001 Tahoe, 2002 Envoy, 2006 Envoy, 2003 Lincoln LS
Location: New Jersey, USA

Re: PCM Hammer P12 development

Post by darkman5001 »

antus wrote:The vin from mine comes up as 1GCCS148268305278 2006 Chevrolet Colorado / Blazer 1/2 Ton (4x2)
Okay, then the different operation system makes sense then.
User avatar
Gampy
Posts: 2332
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Hammer P12 development

Post by Gampy »

So, we have the 3 inlines covered ...

The I6 is covered by darkman5001's bin.
The I5 is covered by my attached bin.
The I4 is covered by Antus's bin.
Attachments
2006_Colorado_3.5L(I5)L52_Os12606375.bin
(1 MiB) Downloaded 93 times
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!
Post Reply