PCM Hammer Release 021

They go by many names, P01, P59, VPW, '0411 etc. Also covering E38 and newer here.
User avatar
antus
Site Admin
Posts: 8237
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 Release 021

Post by antus »

yep thats right. you also need to take the 3 kernel files (kernel*.bin) from an existing copy of the app and copy them in to the directory where pcmhammer is compiled to. Otherwise it'll get up to the point its ready to flash and say it cant find the kernel. You can build it from source but you need more tools and to change an osid you dont need to rebuild it.

if you get errors building it out of the box there might be something else missing on your system. it happens, it all just depends. but it should build as is.
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
spyder09
Posts: 76
Joined: Thu Apr 21, 2022 3:50 am
cars: saturn ion redline
hhr ss

Re: PCM Hammer Release 021

Post by spyder09 »

I have not compiled the program yet to add the OS numbers that it doesnt recognize but I did try writing a bin of the same OS to this p12 I have. attached is the debug log
Attachments
07 p12 flash log.txt
(953.04 KiB) Downloaded 57 times
Last edited by spyder09 on Sat Jun 18, 2022 12:27 am, edited 1 time in total.
spyder09
Posts: 76
Joined: Thu Apr 21, 2022 3:50 am
cars: saturn ion redline
hhr ss

Re: PCM Hammer Release 021

Post by spyder09 »

attempt 2
Attachments
07 p12 flash log attempt 2.txt
(57.07 KiB) Downloaded 48 times
Last edited by spyder09 on Sat Jun 18, 2022 12:28 am, edited 1 time in total.
spyder09
Posts: 76
Joined: Thu Apr 21, 2022 3:50 am
cars: saturn ion redline
hhr ss

Re: PCM Hammer Release 021

Post by spyder09 »

update, after taking a break and getting some suggestions to try a few other things, it finally wrote
Attachments
p12 finally write complete.txt
(669.85 KiB) Downloaded 59 times
BillNobody
Posts: 31
Joined: Sun Feb 24, 2019 7:52 pm
cars: 2001 Camaro 3.8L 1990 Chevy 1500 5.7L

Re: PCM Hammer Release 021

Post by BillNobody »

Hello folks, having a bit of an issue using PCH 21 on P01/P59 reads. I will attach the last debug log from a failed Read Entire event. It has failed to read on 3 different PCMs. I will add that I was not experiencing these issues with PCH 20, this issue appeared only after the update to v21. Tried 2 different Win 10 Pro machines, and the same j2534 device I have used for the past 2 years. All drivers are up to date on the J2534 device(DGTECH D-bridgePRO, not some cheap MDI clone). Any insight is appreciated.


[08:37:15:794] PCM Hammer 021.2
[08:37:15:808] Thursday, June 23 2022 @08:37:15:80
[08:37:15:812] Initializing J2534 Device
[08:37:15:874] Loaded DLL
[08:37:16:184] Connected to the device.
[08:37:16:187] Battery Voltage is: 12.04
[08:37:16:191] Protocol Set
[08:37:16:194] Device initialization complete.
[08:37:16:324] Unable to retrieve start.txt from network: HTTP NotFound.
[08:37:16:325] Unable to retrieve help.html from network: HTTP NotFound.
[08:37:16:325] Unable to retrieve credits.html from network: HTTP NotFound.
[08:37:16:354] Loaded start.txt from cache.
[08:37:16:356] Thanks for using PCM Hammer.
[08:37:16:358] Loaded credits.html from cache.
[08:37:16:360] Loaded help.html from cache.
[08:37:23:710] TX: 6C 10 F0 3C 01
[08:37:23:740] RX: 6C F0 10 7C 01 00 33 47 4E 45 43
[08:37:23:741] TX: 6C 10 F0 3C 02
[08:37:23:764] RX: 6C F0 10 7C 02 31 36 54 34 59 47
[08:37:23:765] TX: 6C 10 F0 3C 03
[08:37:23:790] RX: 6C F0 10 7C 03 31 39 35 39 39 32
[08:37:23:791] VIN: 3GNEC16T4YG195992
[08:37:23:798] TX: 6C 10 F0 3C 0A
[08:37:23:825] RX: 6C F0 10 7C 0A 00 8F 25 E0
[08:37:23:826] OS ID: 9381344
[08:37:23:832] Hardware Type: P01_P59
[08:37:23:836] TX: 6C 10 F0 3C 08
[08:37:23:862] RX: 6C F0 10 7C 08 00 8F 40 1D
[08:37:23:862] Calibration ID: 9388061
[08:37:23:866] TX: 6C 10 F0 3C 04
[08:37:23:886] RX: 6C F0 10 7C 04 00 8F 21 18
[08:37:23:886] Hardware ID: 9380120
[08:37:23:891] TX: 6C 10 F0 3C 05
[08:37:23:910] RX: 6C F0 10 7C 05 30 33 33 34
[08:37:23:910] TX: 6C 10 F0 3C 06
[08:37:23:937] RX: 6C F0 10 7C 06 30 33 39 39
[08:37:23:937] TX: 6C 10 F0 3C 07
[08:37:23:960] RX: 6C F0 10 7C 07 30 31 32 39
[08:37:23:964] Serial Number: 033403990129
[08:37:23:970] TX: 6C 10 F0 3C 14
[08:37:23:998] RX: 6C F0 10 7C 14 44 42 4C 4B
[08:37:23:998] Broad Cast Code: DBLK
[08:37:24:002] TX: 6C 10 F0 3C A0
[08:37:24:020] RX: 6C F0 10 7C A0 00
[08:37:24:020] MEC: 0
[08:37:44:243] Will save to C:\Users\Bud\Desktop\COMACHO ORIGINAL.bin
[08:37:45:803] Querying operating system of current PCM.
[08:37:45:808] TX: 6C 10 F0 3C 0A
[08:37:45:827] RX: 6C F0 10 7C 0A 00 8F 25 E0
[08:37:45:827] OSID: 9381344
[08:37:45:832] Suppressing VPW chatter.
[08:37:45:833] TX: 6C FE F0 28 00
[08:37:45:840] Sending 'test device present' notification.
[08:37:45:841] TX: 8C FE F0 3F
[08:37:45:854] RX: 6C F0 10 68 00
[08:37:45:855] Ignoring chatter: 6C F0 10 68 00
[08:37:45:859] Sending seed request.
[08:37:45:860] TX: 6C 10 F0 27 01
[08:37:45:876] RX: 6C F0 10 67 01 35 57
[08:37:45:876] Parsing seed value.
[08:37:45:886] Sending unlock request (3557, 3C18)
[08:37:45:887] TX: 6C 10 F0 27 02 3C 18
[08:37:45:912] RX: 6C F0 10 67 02 34
[08:37:45:913] Unlock succeeded.
[08:37:45:923] Sending 'test device present' notification.
[08:37:45:924] TX: 8C FE F0 3F
[08:37:45:931] Attempting switch to VPW 4x
[08:37:45:938] TX: 6C FE F0 A0
[08:37:45:962] RX: 6C F0 10 E0 AA
[08:37:45:962] Parsing 6C F0 10 E0 AA
[08:37:45:964] Module 0x10 (engine controller) has agreed to enter high-speed mode.
[08:37:45:968] Sending 'test device present' notification.
[08:37:45:968] TX: 8C FE F0 3F
[08:37:48:069] ReadMsgs OBDError: ERR_BUFFER_EMPTY
[08:37:48:069] Sending 'test device present' notification.
[08:37:48:070] TX: 8C FE F0 3F
[08:37:48:075] TX: 6C FE F0 A1
[08:37:50:070] ReadMsgs OBDError: ERR_BUFFER_EMPTY
[08:37:50:071] J2534 setting VPW 4X
[08:37:50:075] Sending 'test device present' notification.
[08:37:50:075] TX: 8C FE F0 3F
[08:37:50:082] Sending 'test device present' notification.
[08:37:50:082] TX: 8C FE F0 3F
[08:37:50:103] Loaded C:\PCM Hammer 21\PcmHammer021.2\PcmHammer021.2\Kernel-P01.bin
[08:37:50:107] Sending upload request for kernel size 7890, loadaddress FF8000
[08:37:50:110] TX: 6C 10 F0 34 00 10 00 FF 80 00
[08:37:51:493] RX: 6C F0 10 7F 34 00 10 00 FF 80 33
[08:37:51:494] Received an unexpected response. Attempt #1, status Refused.
[08:37:51:501] RX: 6C F0 10 60
[08:37:51:501] Received an unexpected response. Attempt #2, status UnexpectedResponse.
[08:37:53:491] ReadMsgs OBDError: ERR_BUFFER_EMPTY
[08:37:53:491] Sending 'test device present' notification.
[08:37:53:492] TX: 8C FE F0 3F
[08:37:55:491] ReadMsgs OBDError: ERR_BUFFER_EMPTY
[08:37:55:491] Sending 'test device present' notification.
[08:37:55:491] TX: 8C FE F0 3F
[08:37:57:493] ReadMsgs OBDError: ERR_BUFFER_EMPTY
[08:37:57:493] Sending 'test device present' notification.
[08:37:57:494] TX: 8C FE F0 3F
[08:37:59:491] ReadMsgs OBDError: ERR_BUFFER_EMPTY
[08:37:59:499] Sending 'test device present' notification.
[08:37:59:505] TX: 8C FE F0 3F
[08:38:01:508] ReadMsgs OBDError: ERR_BUFFER_EMPTY
[08:38:01:513] Receive timed out. Attempt #7, Timeout #5.
[08:38:01:519] TX: 6C 10 F0 34 00 10 00 FF 80 00
[08:38:01:546] RX: 6C F0 10 7F 34 00 10 00 FF 80 33
[08:38:01:550] Received an unexpected response. Attempt #1, status Refused.
[08:38:03:555] ReadMsgs OBDError: ERR_BUFFER_EMPTY
[08:38:03:560] Sending 'test device present' notification.
[08:38:03:564] TX: 8C FE F0 3F
[08:38:05:570] ReadMsgs OBDError: ERR_BUFFER_EMPTY
[08:38:05:574] Sending 'test device present' notification.
[08:38:05:579] TX: 8C FE F0 3F
[08:38:07:585] ReadMsgs OBDError: ERR_BUFFER_EMPTY
[08:38:07:589] Sending 'test device present' notification.
[08:38:07:596] TX: 8C FE F0 3F
[08:38:09:601] ReadMsgs OBDError: ERR_BUFFER_EMPTY
[08:38:09:605] Sending 'test device present' notification.
[08:38:09:609] TX: 8C FE F0 3F
[08:38:11:617] ReadMsgs OBDError: ERR_BUFFER_EMPTY
[08:38:11:622] Receive timed out. Attempt #6, Timeout #5.
[08:38:11:627] Permission to upload kernel was denied.
[08:38:11:632] If this persists, try cutting power to the PCM, restoring power, waiting ten seconds, and trying again.
[08:38:11:638] Failed to upload kernel to PCM
[08:38:11:643] Halting the kernel.
[08:38:11:650] TX: 6C 10 F0 20
[08:38:11:662] J2534 setting VPW 1X
[08:38:11:668] TX: 6C 10 F0 20
[08:38:11:683] Clearing trouble codes.
[08:38:11:941] TX: 68 6A F0 04
[08:38:12:201] TX: 68 6A F0 04
[08:38:12:461] TX: 8C FE F0 14
[08:38:12:721] TX: 8C FE F0 14
[08:38:12:731] Elapsed time 00:00:26.8126343
[08:38:12:737] Read failed, Error
User avatar
antus
Site Admin
Posts: 8237
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 Release 021

Post by antus »

the pcm should not say 7F to your 34 00 here (rejecting the upload request). pcmhammer is doing the right thing. you might need to jump the pins on the pcm to get recovery mode and clone a complete or param block only from an earlier good bin backup you have to fix the pcm. we have seen this before but are not clear what causes it. it seems something on the pcm in the paramater block prevents it from saying ok to the upload request and the way to fix it is to restore the param block back to how it was before it started happening. its the state of the pcm, not pcmhammer.

Code: Select all

[08:37:50:110] TX: 6C 10 F0 34 00 10 00 FF 80 00
[08:37:51:493] RX: 6C F0 10 7F 34 00 10 00 FF 80 33
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
BillNobody
Posts: 31
Joined: Sun Feb 24, 2019 7:52 pm
cars: 2001 Camaro 3.8L 1990 Chevy 1500 5.7L

Re: PCM Hammer Release 021

Post by BillNobody »

No disrespect Antus, but I would believe that if this issue pertained to a single PCM. However, this has been the case on at least three P01/P59 PCMs I have tried using PCH v21. I had no issues using PCH v20. Only after the update did this issue occur. I know this because I routinely test and use the software and my hardware. I used PCH v20 to read and write several PCMs, including 2 of the 3 aforementioned units. I will add that HP Tuner MPVI2 did read and write these same PCMs without issue.

Bill
kur4o
Posts: 948
Joined: Sun Apr 10, 2016 9:20 pm

Re: PCM Hammer Release 021

Post by kur4o »

BillNobody wrote:No disrespect Antus, but I would believe that if this issue pertained to a single PCM. However, this has been the case on at least three P01/P59 PCMs I have tried using PCH v21. I had no issues using PCH v20. Only after the update did this issue occur. I know this because I routinely test and use the software and my hardware. I used PCH v20 to read and write several PCMs, including 2 of the 3 aforementioned units. I will add that HP Tuner MPVI2 did read and write these same PCMs without issue.

Bill
It looks like the pcm exits unlocking after switching to high speed. It could be some delays added, or some bus on the module.

Do you have another device that can be used for monitoring bus? It will really help debugging.

This RX: 6C F0 10 60 also indicates a mode 20 was send somehow on bus, which can explain the 7f refusing to take the upload.
Cincinnatus
Posts: 305
Joined: Fri Jul 30, 2021 5:49 pm
cars: 97 Corvette
92 Camaro
2005 Silverado
2001 Savana 2500
1998 c3500hd
1998 tahoe

Re: PCM Hammer Release 021

Post by Cincinnatus »

Bill, did v21 PCH work on some pcms you tried to read? We're the non readables stock bins? Just curious
BillNobody
Posts: 31
Joined: Sun Feb 24, 2019 7:52 pm
cars: 2001 Camaro 3.8L 1990 Chevy 1500 5.7L

Re: PCM Hammer Release 021

Post by BillNobody »

Antus, I can get you a Sigrok file to view bus activity in a bit. This particular vehicle is a 5.3L swap into a 95 Chevrolet 1500. I am unsure if/which modules may still attached to the bus. That being said, this problem arose the bench during previous read attempts . I will log a bench read in a bit as well and log the process here.

Cincinnatus,

I have been unable to use v21 successfully for any P01/P59 reads. The previous binaries/PCMs are stock, this particular unit is "tuned" by another shop. It also has a segment swap for 4L80E from my understanding. I have read the binary with HPT. Nothing crazy comes up during the read process using HPT. Same with the other PCMs that fail to read using v21 but HPT reads fine.

Bill
Post Reply