PCM Hammer P12 development
Re: PCM Hammer P12 development
Gm flash routine is executed on request, never takes full control. Pcm have full control on communication loop.
You sent first block. Pcm code receive and stores it to ram, jump to uploaded code, erase, than program. Than return to pcm code. upload next block and so on.
You sent first block. Pcm code receive and stores it to ram, jump to uploaded code, erase, than program. Than return to pcm code. upload next block and so on.
-
- 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
kur4o wrote:darkman5001,
you are trying to flash pcm with corrupted file. Last part of bin is FFs while there is some data in non corrupted file. The tech2 exits when Os is done, but checks that is good are not passed and it fails when you start caldata write.
It is either corrupted file are loaded to tech2 or the tech2 bugs out for some reason.
You can try using tech2 as passthrough and flash from tis2000 utility, or try reuploading flash files to tech2.
I used a virtual machine with TIS2000 and the tech2, but I am starting to wonder if something is wrong with the files on the virtual machine. I am going to install the TIS2000 software on an actual computer and see if I have better results.
Re: PCM Hammer P12 development
It's not a multi threaded os, what ever code is executing is in control ...
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!
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!
Re: PCM Hammer P12 development
You need very solid connection between PC and T2. Real COM port or high quality converter. I doubt the files can get screwed inside a database.I used a virtual machine with TIS2000 and the tech2, but I am starting to wonder if something is wrong with the files on the virtual machine. I am going to install the TIS2000 software on an actual computer and see if I have better results.
You can also use T2 as a pass through j-device or mdi and flash from tis2000 program.
Re: PCM Hammer P12 development
Take it a like that.Gampy wrote:It's not a multi threaded os, what ever code is executing is in control ...
I think we are on different pages.
Communication is executed from ROM, program and erase routines are executed from RAM. Slave routine is at ffff6000, maybe that is a shared memory with slave cpu.
Re: PCM Hammer P12 development
We have control over communication, we have control over flash chip, we work directly with the hardware, well as directly as one can get through the SIM.kur4o wrote:Take it a like that.
Communication is executed from ROM, program and erase routines are executed from RAM. Slave routine is at ffff6000, maybe that is a shared memory with slave cpu.
Slave, I don't know about, I suspect it is just an ignorant fly by wire slave, I cannot imagine it is a babysitter ... I could be wrong.
The one thing I know for sure ... I do not have the time into the disassembles that you do!
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!
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!
Re: PCM Hammer P12 development
Yeah I understand what hes saying.
GM's kernel gets uploaded to RAM (FF2000), but it is not executed.
The code uploaded is used by the operating system to update the flash.
Right at the top of GMs kernel, (from FF2020), you can see all the main calls for flash commands for AMD processors.
At FF2096, we see the FFFA7E register being changed, and below what has the FA7E and also FA7C.
GM's kernel gets uploaded to RAM (FF2000), but it is not executed.
The code uploaded is used by the operating system to update the flash.
Right at the top of GMs kernel, (from FF2020), you can see all the main calls for flash commands for AMD processors.
At FF2096, we see the FFFA7E register being changed, and below what has the FA7E and also FA7C.
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726

Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726

- 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
I agree we need to get a good confirmed write with factory tools as a starting point. We may be chasing our tails and we may have a working solution already. We got the same result as the tech2 and that should be a working solution. Whatever broke the tech2 flash might be external and breaking our possibly otherwise working tests too.
Ive pulled the slave kernel out of the tech2 log. I havnt looked in to what its doing yet, but it does look like its doing something. Something required? Dont know....
One question for Kur4o, are you sure this code is executing on the slave? Or could it be called by code on the main CPU?
Ive pulled the slave kernel out of the tech2 log. I havnt looked in to what its doing yet, but it does look like its doing something. Something required? Dont know....
One question for Kur4o, are you sure this code is executing on the slave? Or could it be called by code on the main CPU?
- Attachments
-
- FF6000.bin.lst.txt
- (70.71 KiB) Downloaded 135 times
-
- FF6000.bin
- (1.72 KiB) Downloaded 169 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
Re: PCM Hammer P12 development
I think code at ffff6000 writes slave for sure, Main processor likely execute it, but not confirmed yet how it is done.
The T2 flash fails on checksum error. After OS write is completed it checks for integrity. And last messages contains FFs instead of data. so something with T2 parsing data or the files that are loaded in T2 are corrupted.
The T2 flash fails on checksum error. After OS write is completed it checks for integrity. And last messages contains FFs instead of data. so something with T2 parsing data or the files that are loaded in T2 are corrupted.
- 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
I think the fail fail on checksum error is more than a minor fault. Here is the read from a good pcm with pcmhammer compared to the read after the bad tech2 flash read by lifting the chip. The whole cal segment 20000-40000 is FF. So Its a genuine flash write fail to the whole segment after a successful erase, not just a bad sum and minor data error. The same as the result as pcmhammer got.
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