Page 41 of 56
Re: PCM Hammer P12 development
Posted: Thu Mar 17, 2022 10:37 am
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!
Re: PCM Hammer P12 development
Posted: Thu Mar 17, 2022 11:01 am
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.
Re: PCM Hammer P12 development
Posted: Thu Mar 17, 2022 11:45 am
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.
Re: PCM Hammer P12 development
Posted: Fri Mar 18, 2022 3:48 pm
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....

Re: PCM Hammer P12 development
Posted: Fri Mar 18, 2022 6:27 pm
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.
Re: PCM Hammer P12 development
Posted: Fri Mar 18, 2022 7:42 pm
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.
Re: PCM Hammer P12 development
Posted: Fri Mar 18, 2022 8:32 pm
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!
Re: PCM Hammer P12 development
Posted: Sat Mar 19, 2022 5:17 am
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.
Re: PCM Hammer P12 development
Posted: Sat Mar 19, 2022 10:47 pm
by Gampy
Well, the delay didn't help ...
There is another test out.
Re: PCM Hammer P12 development
Posted: Tue Mar 22, 2022 8:57 am
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?