PCMHammer P04

User avatar
Gampy
Posts: 2332
Joined: Fri Dec 14, 2018 9:38 pm

Re: PCMHammer P04

Post by Gampy »

These
[07:52:24:619] Timeout.. no data present A
Are strictly on the OBDX VCI's, no other VCI's have this issue.

-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: 785
Joined: Mon Mar 09, 2020 6:35 am
Location: California

Re: PCMHammer P04

Post by In-Tech »

antus wrote:Most excellent. I had a feeling it was seed + key 0000. There must be some code in the factory OS that implements FFFF = 0000. Maybe they know FFFF is a blank prom but wanted 0000 to signal unlocked because the suits in the office were confused by FFFF.... And that code does it to both seed and key. I can't see any other reason we'd get this seed and key, but its proven.
Hiya, I think it is a simple XOR to check if output register "matches".
User avatar
antus
Site Admin
Posts: 10016
Joined: Sat Feb 28, 2009 10:34 am
cars: TX Gemini 2L Twincam 8psi
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Subaru WRX 2007

Re: PCMHammer P04

Post by antus »

Thing is 0000 does not match FFFF, but somehow seed and key both become 0000 when they have FFFF on the flash. Special case. It doesn't matter, its just an observation.
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: 1146
Joined: Sun Apr 10, 2016 11:20 am

Re: PCMHammer P04

Post by kur4o »

When pcm is unlocked it sends 0000 for seed. Maybe if it is FFFF it is also unlocked since it can`t be FFFF by gm specs so it also sends 0000 for seed. Some test can be done to omit unlocking, to confirm the theory.
User avatar
antus
Site Admin
Posts: 10016
Joined: Sat Feb 28, 2009 10:34 am
cars: TX Gemini 2L Twincam 8psi
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Subaru WRX 2007

Re: PCMHammer P04

Post by antus »

In this case we know flash has FFFF for seed and key (as the whole segment is erased). We know it is locked, and we receive 0000 for seed. We must send 0000 for key before we can upload. There is not really a question here, it is fact. When seed and key are FFFF in flash, they become 0000 and 0000 somehow and still requires unlock. It doesn't matter how, I was just commenting there must be code that does it in these PCMs.
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
zack4200
Posts: 116
Joined: Fri Jun 24, 2022 3:35 pm
cars: 1982 Chevy Chevette 3400 LA1 swapped
1986 Chevy Chevette
1998 Chevy s10

Re: PCMHammer P04

Post by zack4200 »

Gampy, the version you PM'd me worked perfectly. got the original file back on the PCM
You do not have the required permissions to view the files attached to this post.
zack4200
Posts: 116
Joined: Fri Jun 24, 2022 3:35 pm
cars: 1982 Chevy Chevette 3400 LA1 swapped
1986 Chevy Chevette
1998 Chevy s10

Re: PCMHammer P04

Post by zack4200 »

ProfessWRX wrote:Saw this in the log from Zack's P04 read.
[07:52:21:263] Read-request messages had to be re-sent 4 times.

Is this a bench setup? If it is, I'd bet that read could fail in car like mine does.
yeah it is on the bench, I sometimes get the message that messages had to be re-sent and sometimes it doesn't have to retry any ¯\_(ツ)_/¯
kur4o
Posts: 1146
Joined: Sun Apr 10, 2016 11:20 am

Re: PCMHammer P04

Post by kur4o »

antus wrote:In this case we know flash has FFFF for seed and key (as the whole segment is erased). We know it is locked, and we receive 0000 for seed. We must send 0000 for key before we can upload. There is not really a question here, it is fact. When seed and key are FFFF in flash, they become 0000 and 0000 somehow and still requires unlock. It doesn't matter how, I was just commenting there must be code that does it in these PCMs.

I will need to look that in disassembly to uncover the mystery.
zack4200
Posts: 116
Joined: Fri Jun 24, 2022 3:35 pm
cars: 1982 Chevy Chevette 3400 LA1 swapped
1986 Chevy Chevette
1998 Chevy s10

Re: PCMHammer P04

Post by zack4200 »

Gampy wrote:Yea, I recognize this file, it is blank from 4000 to 8000 ... No parameter segments.

Bad file ...

-Enjoy
I meant to ask, how would one go about checking if a bin has this issue?
User avatar
Gampy
Posts: 2332
Joined: Fri Dec 14, 2018 9:38 pm

Re: PCMHammer P04

Post by Gampy »

Hex editor and visually inspecting the range from 4000 to 8000.

4000 to 5FFF is parameter segment 1
6000 to 7FFF is parameter segment 2

-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!