PCM Hammer P01 and P59 flash tool v015
Re: PCM Hammer - new ls1 flash tool
This is a little embarrassing, but there's a bug in release 7 that prevents it from reading from P59s.
The fix is...
1) del read-kernel.bin
2) copy write-kernel.bin read-kernel.bin
In other words, write-kernel.bin works for both reading and writing.
The P59 requires a small change in the kernel, and I only made that change in the write kernel, because I forgot that we had two kernels, Because the write kernel does work for both reading and writing. We just weren't using for reading.
I'll put out another release that just has a single "kernel.bin" to simplify things.
It will also verify what gets read, just to be sure that nothing was garbled in transit. I'm working on that now.
The fix is...
1) del read-kernel.bin
2) copy write-kernel.bin read-kernel.bin
In other words, write-kernel.bin works for both reading and writing.
The P59 requires a small change in the kernel, and I only made that change in the write kernel, because I forgot that we had two kernels, Because the write kernel does work for both reading and writing. We just weren't using for reading.
I'll put out another release that just has a single "kernel.bin" to simplify things.
It will also verify what gets read, just to be sure that nothing was garbled in transit. I'm working on that now.
Please don't PM me with technical questions - start a thread instead, and send me a link to it. That way I can answer in public, and help other people who have the same question. Thanks!
Re: PCM Hammer - new ls1 flash tool
And let the floggings begin ... Naw, just can't do that, it happens to the best!
Shit happens!
Shit happens!
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 - new ls1 flash tool
Release 8 is up now: https://github.com/LegacyNsfw/PcmHacks/ ... 9.11.25.01
Please don't PM me with technical questions - start a thread instead, and send me a link to it. That way I can answer in public, and help other people who have the same question. Thanks!
Re: PCM Hammer - new ls1 flash tool
Just joined this forum now
NSFW shared a link here to my post in his ls1tech thread, helping him recover with bdm jtag his p59 amd
I'm trying to help with pcm hammer.
I've been testing 2 p59 Intel flash pcms in car.
So far read stops at 512kb
How can I help further?
NSFW shared a link here to my post in his ls1tech thread, helping him recover with bdm jtag his p59 amd
I'm trying to help with pcm hammer.
I've been testing 2 p59 Intel flash pcms in car.
So far read stops at 512kb
How can I help further?
- DavidBraley
- Posts: 172
- Joined: Thu Jun 07, 2018 8:15 am
- cars: 1948 GMC
- Location: Fort Collins, Colorado
Re: PCM Hammer - new ls1 flash tool
I420tom,
I wanted to thank you for figuring out the fix getting the BDM to read and write to the P59's! I'm now reading and writing to both Intel and AMD based P59's
I've offered to send NSFW an Intel based P59 if it helps too!
I wanted to thank you for figuring out the fix getting the BDM to read and write to the P59's! I'm now reading and writing to both Intel and AMD based P59's
I've offered to send NSFW an Intel based P59 if it helps too!
-David
I'm a machinist... because engineers need heroes too.
I'm a machinist... because engineers need heroes too.
Re: PCM Hammer - new ls1 flash tool
I have updated to PCM release 8, and have tried twice on a P59 - and read stops at 62% - this has pcm has previously read perfectly with release 6. Using J2534
Seems to be 2 spots where an error appears in debug - read is perfect from 1 to 62%
Have done a quick compare with previous bin file read and appears ok. It's an AMD chip.
Read on bench - as was compare bin file.
Of note - have just readthe same P59 PCM on my laptop as it has Release 6 still on it and that read properly.
Seems to be 2 spots where an error appears in debug - read is perfect from 1 to 62%
Have done a quick compare with previous bin file read and appears ok. It's an AMD chip.
Read on bench - as was compare bin file.
Of note - have just readthe same P59 PCM on my laptop as it has Release 6 still on it and that read properly.
- Attachments
-
- Quick Compare.docx
- (15.75 KiB) Downloaded 179 times
-
- Read Fail debug.docx
- (15.74 KiB) Downloaded 178 times
Last edited by Monaro on Wed Nov 27, 2019 12:01 pm, edited 4 times in total.
Re: PCM Hammer - new ls1 flash tool
Yup, I'd like to say Thank you as well!I420tom wrote:Just joined this forum now
NSFW shared a link here to my post in his ls1tech thread, helping him recover with bdm jtag his p59 amd
I'm trying to help with pcm hammer.
I've been testing 2 p59 Intel flash pcms in car.
So far read stops at 512kb
How can I help further?
It might be helpful if you were to create a debug log and attach it.
[edit]
Are these in vehicle reads that are failing?
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 - new ls1 flash tool
FYI Checked my debug afile gainst your error message posted on LS1tech - exactly the same - mine has the AMD chip though.I420tom wrote:Just joined this forum now
NSFW shared a link here to my post in his ls1tech thread, helping him recover with bdm jtag his p59 amd
I'm trying to help with pcm hammer.
I've been testing 2 p59 Intel flash pcms in car.
So far read stops at 512kb
How can I help further?
Re: PCM Hammer - new ls1 flash tool
Can you please upload the full log in?Monaro wrote:I have updated to PCM release 8, and have tried twice on a P59 - and read stops at 62% - this has pcm has previously read perfectly with release 6. Using J2534
Seems to be 2 spots where an error appears in debug - read is perfect from 1 to 62%
Have done a quick compare with previous bin file read and appears ok. It's an AMD chip.
Read on bench - as was compare bin file.
Of note - have just readthe same P59 PCM on my laptop as it has Release 6 still on it and that read properly.
I see something interesting appear on your error at 62%:
Code: Select all
[10:08:54:174] Reading from 659456 / 0xA1000, length 4096 / 0x1000
[10:08:54:174] TX: 6D 10 F0 35 01 10 00 0A 10 00
[10:08:56:264] ReadMsgs OBDError: STATUS_NOERROR
Im logging with my nano right now and it doesnt do that at all.
Im wondering if theres some sort of fault settin and the nano is dropping to 1x.. then actually sending a command back to software which we are not processing correctly maybe.
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
Re: PCM Hammer - new ls1 flash tool
Actually, I believe I see the problem there.
Ok.. so I just did a full read (On bench) and took only 4:30sec (not including the 30seconds done calculating CRCs at the end).
Whereas looking at your log... it took 5mins just to get to 62%.
When looking at the timestamps between each block for me, here is about a 1second difference. Im almost certain you are running at 1x and not 4x so you will likely have a 3-4sec difference?
Now looking back at your log:
Theres a 2second gap between tester present frames, so I am wondering if thats long enough to cause it to drop out of 4x mode.
Ok.. so I just did a full read (On bench) and took only 4:30sec (not including the 30seconds done calculating CRCs at the end).
Whereas looking at your log... it took 5mins just to get to 62%.
When looking at the timestamps between each block for me, here is about a 1second difference. Im almost certain you are running at 1x and not 4x so you will likely have a 3-4sec difference?
Now looking back at your log:
Code: Select all
10:03:49:472] Attempting switch to VPW 4x
[10:03:49:477] TX: 6C FE F0 A0
[10:03:49:507] RX: 6C F0 10 E0 AA
[10:03:49:507] Parsing 6C F0 10 E0 AA
[10:03:49:507] Module 0x10 (engine controller) has agreed to enter high-speed mode.
[10:03:49:512] Sending 'test device present' notification.
[10:03:49:512] TX: 8C FE F0 3F
[10:03:51:523] ReadMsgs OBDError: ERR_BUFFER_EMPTY
[10:03:51:523] Sending 'test device present' notification.
[10:03:51:523] TX: 8C FE F0 3F
[10:03:51:528] TX: 6C FE F0 A1
[10:03:53:539] ReadMsgs OBDError: ERR_BUFFER_EMPTY
[10:03:53:539] J2534 setting VPW 4X
[10:03:53:664] Sending 'test device present' notification.
[10:03:53:664] TX: 8C FE F0 3F
[10:03:53:669] Sending 'test device present' notification.
[10:03:53:669] TX: 8C FE F0 3F
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