PCM Hammer P12 development

They go by many names, P01, P10, P12, P59, E38, VPW, '0411 etc.
User avatar
Tazzi
Posts: 3550
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: PCM Hammer P12 development

Post by Tazzi »

I had issues with something similar previously, trying to perform commands before pins had completely initiated. So maybe same thing for the P12. Worth a shot regardless!
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
antus
Site Admin
Posts: 9008
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 »

Did we get the success message back from the erase, or a fail? It only takes under about 10 cpu instructions to trigger the erase, then the erase is run in hardware on the flash chip. so I can see that we could have time to trigger the erase process then the slave interferes before the erase is complete yet it still completes successfully in the chip. Having said that the factory tool failed too I am not assuming the slave is the problem. Just a possibility as we continue to test.
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 »

Tazzi wrote:I had issues with something similar previously, trying to perform commands before pins had completely initiated. So maybe same thing for the P12. Worth a shot regardless!
Yup it is, it's in the queue ...
antus wrote:Did we get the success message back from the erase, or a fail? It only takes under about 10 cpu instructions to trigger the erase, then the erase is run in hardware on the flash chip. so I can see that we could have time to trigger the erase process then the slave interferes before the erase is complete yet it still completes successfully in the chip. Having said that the factory tool failed too I am not assuming the slave is the problem. Just a possibility as we continue to test.
The erase process reads the erased to verify it's not the same ...
Yes, we get a success from the erase.
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
Tazzi
Posts: 3550
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: PCM Hammer P12 development

Post by Tazzi »

Gampy wrote:
Tazzi wrote:I had issues with something similar previously, trying to perform commands before pins had completely initiated. So maybe same thing for the P12. Worth a shot regardless!
Yup it is, it's in the queue ...
Impatiently taps foot.... :lol:
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
Gampy
Posts: 2332
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Hammer P12 development

Post by Gampy »

Yea, me too.

Unfortunately I seem to have lost the ability to Id the flash ... Doesn't make sense, same exact code!
If I cannot Id the flash, I don't expect anything else to work.

Obviously I'm missing something, somewhere ...

It was working perfect until I hardwired it to ensure it was not influencing the flash write failure.
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
Tazzi
Posts: 3550
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: PCM Hammer P12 development

Post by Tazzi »

Gampy wrote:Yea, me too.

Unfortunately I seem to have lost the ability to Id the flash ... Doesn't make sense, same exact code!
If I cannot Id the flash, I don't expect anything else to work.

Obviously I'm missing something, somewhere ...

It was working perfect until I hardwired it to ensure it was not influencing the flash write failure.
What have you changed? Have you kept a log of changes?

For instance, I lose the ability to ID the P01/P59 if removing the "HARDWARE_IO |= 0x0001;" when unlocking. Where HARDWARE_IO is 0xFFFFE2FA.
So whatever the equivalent was in P12 was.
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
Gampy
Posts: 2332
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Hammer P12 development

Post by Gampy »

Yea, with my oxygen deprived brain, I definitely keep records as well as the code!
My build system Zips up the code ...

diff doesn't disclose the issue ... I don't know what's up yet!
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
Gampy
Posts: 2332
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Hammer P12 development

Post by Gampy »

Pretty sure I found my mistake ... Ultimately diff did disclose it, I missed it in the diff. :(

Test is out with Tazzi's recommended delay, I used 4 nop'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
Gampy
Posts: 2332
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Hammer P12 development

Post by Gampy »

Well, the delay didn't help ...

There is another test out.
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
Tazzi
Posts: 3550
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: PCM Hammer P12 development

Post by Tazzi »

Gampy,

Can you copy in here exactly what you are changing/setting before you attempt to use the amd write command?
Just so we can verify if its missing anything in comparison to the gm kernel?
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
Post Reply