PCM Hammer release 011

They go by many names, P01, P59, VPW, '0411 etc . Circa 1999 to 2006. All VPW OBD2 PCMs.
Posts: 372
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Hammer release 011

Postby Gampy » Fri Jan 17, 2020 8:19 pm

Irregardless of how the truncated packet happened, should this happen??
[03:19:59:186] RX: 6D F0 10 36 01 04 00 0A 28 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[03:19:59:203] Processing message
[03:19:59:251] Something went wrong. Index was outside the bounds of the array.
[03:19:59:314] System.IndexOutOfRangeException: Index was outside the bounds of the array.
at PcmHacking.VpwUtilities.CalcBlockChecksum(Byte[] Block)
at PcmHacking.Protocol.ParsePayload(Message message, Int32 length, Int32 address)
at PcmHacking.CKernelReader.<>c__DisplayClass5_0.<TryReadBlock>b__1(Message payloadMessage)
at PcmHacking.Vehicle.<ReadMemory>d__29.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at PcmHacking.CKernelReader.<TryReadBlock>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at PcmHacking.CKernelReader.<ReadContents>d__4.MoveNext()
It is truncated due to a test kernel.

On the App side it is fresh develop.

User avatar
Posts: 317
Joined: Fri Feb 02, 2018 3:13 pm

Re: PCM Hammer release 011

Postby NSFW » Sat Jan 18, 2020 5:50 am

That's a bug. I thought I'd fixed that in release 11, but apparently not.

There's a loop in that function that needs to check the index against the length of the given array.
Please don't PM me with questions about tuning or flashing - start a thread instead. Thanks!

Posts: 150
Joined: Wed Dec 06, 2017 1:02 pm

Re: PCM Hammer release 011

Postby Vampyre » Sat Jan 18, 2020 5:54 am

dang gampy

Posts: 45
Joined: Mon Feb 11, 2019 12:48 pm

Re: PCM Hammer release 011

Postby jlvaldez » Tue Jan 28, 2020 9:48 am

Alright. I'm ready to declare war on Ice mode. NSFW, I've got a module in my garage I can take apart and try to figure out which MCU it has. If we can get a binary out of it... I went off track this weekend and it turned out to be ice mode but I didn't realize it was ice mode.

https://youtube.com/watch?v=p1RsStyVrPU

User avatar
Posts: 317
Joined: Fri Feb 02, 2018 3:13 pm

Re: PCM Hammer release 011

Postby NSFW » Tue Jan 28, 2020 7:56 pm

jlvaldez wrote:Alright. I'm ready to declare war on Ice mode. NSFW, I've got a module in my garage I can take apart and try to figure out which MCU it has. If we can get a binary out of it... I went off track this weekend and it turned out to be ice mode but I didn't realize it was ice mode.

https://youtube.com/watch?v=p1RsStyVrPU


Yikes!

Let's do this. I started a thread: viewtopic.php?f=42&t=6648
Please don't PM me with questions about tuning or flashing - start a thread instead. Thanks!

User avatar
Posts: 13
Joined: Fri Dec 27, 2019 2:28 am

Re: PCM Hammer release 011

Postby Jim Blackwood » Fri Jan 31, 2020 5:50 am

Having a bit of trouble: Permission to upload kernel denied. Any idea what I'm doing wrong?

Here is the Debug Log.

[02:29:04:997] PCM Hammer 010
[02:29:11:012] Sending message 6C 10 F0 3C 01
[02:29:11:012] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Read Data Block / VIN 1 (ASCII)
[02:29:11:012] Sending message 6C 10 F0 3C 02
[02:29:11:013] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Read Data Block / VIN 2 (ASCII)
[02:29:11:013] Sending message 6C 10 F0 3C 03
[02:29:11:013] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Read Data Block / VIN 3 (ASCII)
[02:29:11:014] VIN: 12345ABCDEF123456
[02:29:11:016] Sending message 6C 10 F0 3C 0A
[02:29:11:016] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Read Data Block / 4-byte Operating System ID
[02:29:11:016] OS ID: 12593358
[02:29:11:018] Sending message 6C 10 F0 3C 08
[02:29:11:018] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Read Data Block / calibration ID (UINT32)
[02:29:11:019] Calibration ID: 12345
[02:29:11:021] Sending message 6C 10 F0 3C 04
[02:29:11:021] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Read Data Block / HDW No. (UINT32)
[02:29:11:021] Hardware ID: 23456
[02:29:11:024] Sending message 6C 10 F0 3C 05
[02:29:11:024] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Read Data Block / Serial No 1 (ASCII)
[02:29:11:024] Sending message 6C 10 F0 3C 06
[02:29:11:024] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Read Data Block / Serial No 2 (ASCII)
[02:29:11:025] Sending message 6C 10 F0 3C 07
[02:29:11:025] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Read Data Block / Serial No 3 (ASCII)
[02:29:11:025] Serial Number: 123423453456
[02:29:11:027] Sending message 6C 10 F0 3C 14
[02:29:11:028] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Read Data Block / Broadcast Code (BCC) (ASCII)
[02:29:11:028] Broad Cast Code: 4321
[02:29:11:030] Sending message 6C 10 F0 3C A0
[02:29:11:031] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Read Data Block / Manufacturer Enable Counter
[02:29:11:031] MEC: 123
[02:30:33:789] Sending message 6C 10 F0 3C 0A
[02:30:33:789] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Read Data Block / 4-byte Operating System ID
[02:30:33:790] Sending message 6C 10 F0 3C 01
[02:30:33:790] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Read Data Block / VIN 1 (ASCII)
[02:30:33:790] Sending message 6C 10 F0 3C 02
[02:30:33:791] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Read Data Block / VIN 2 (ASCII)
[02:30:33:791] Sending message 6C 10 F0 3C 03
[02:30:33:791] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Read Data Block / VIN 3 (ASCII)
[02:31:09:786] Sending seed request.
[02:31:09:787] Sending message 6C 10 F0 27 01
[02:31:09:787] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Security Access Mode / VIN 3 (ASCII)
[02:31:09:788] Parsing seed value.
[02:31:09:789] Sending unlock request (ED2A, A623)
[02:31:09:789] Sending message 6C 10 F0 27 02 A6 23
[02:31:09:790] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Security Access Mode / VIN 3 (ASCII)
[02:31:09:793] Changing VIN to MGBAGHN5UB240478G
[02:31:09:796] Block 1
[02:31:09:802] Sending message 6C 10 F0 3B 01 00 4D 47 42 41 47
[02:31:09:803] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Write Data Block / VIN 1 (ASCII)
[02:31:09:803] Successful write to block 1
[02:31:09:804] Block 2
[02:31:09:807] Sending message 6C 10 F0 3B 02 48 4E 35 55 42 32
[02:31:09:807] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Write Data Block / VIN 2 (ASCII)
[02:31:09:808] Successful write to block 2
[02:31:09:808] Block 3
[02:31:09:812] Sending message 6C 10 F0 3B 03 34 30 34 37 38 47
[02:31:09:812] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Write Data Block / VIN 3 (ASCII)
[02:31:09:812] Successful write to block 3
[02:31:09:812] VIN successfully updated to MGBAGHN5UB240478G
[02:31:32:442] Please try again with a less important PCM.
[02:31:46:192] C:\Users\Jim\Documents\MG\First Files\MGBAGHN5UB240478G.bin
[02:31:56:339] Validating 512k file.
[02:31:56:343] Start End Stored Needed Verdict Segment Name
[02:31:56:354] 00000 7FFFD 3D37 3D37 Good Operating system
[02:31:56:364] 08002 13FFF 365D 365D Good Engine calibration
[02:31:56:373] 14002 16DFF FD97 FD97 Good Engine diagnostics.
[02:31:56:382] 16E02 1BDFF 5D3A 5D3A Good Transmission calibration
[02:31:56:394] 1BE02 1C7FF 7BF9 7BF9 Good Transmission diagnostics
[02:31:56:409] 1C802 1E51F 6D0C 6D0C Good Fuel system
[02:31:56:423] 1E522 1EE9F DBD4 DBD4 Good System
[02:31:56:437] 1EEA2 1EF9F BD17 BD17 Good Speedometer
[02:31:56:456] Requesting operating system ID...
[02:31:56:471] Sending message 6C 10 F0 3C 0A
[02:31:56:471] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Read Data Block / 4-byte Operating System ID
[02:31:56:472] Operating system IDs do not match.
[02:31:56:488] PCM operating system ID: 12593358
[02:31:56:506] File operating system ID: 12202088
[02:31:56:522] Changing PCM to operating system12202088
[02:31:56:538] Suppressing VPW chatter.
[02:31:56:539] Sending message 6C FE F0 28 00
[02:31:56:539] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to Broadcast, Disable Normal Message Transmission / 4-byte Operating System ID
[02:31:56:539] Sending 'test device present' notification.
[02:31:56:540] Sending message 8C FE F0 3F
[02:31:56:540] Mock PCM Received: 8C (Pri4 GM1 No_IFR Phy), Scanner/tester to Broadcast, Test Device Present / 4-byte Operating System ID
[02:31:56:541] Sending seed request.
[02:31:56:541] Sending message 6C 10 F0 27 01
[02:31:56:541] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Security Access Mode / 4-byte Operating System ID
[02:31:56:542] Parsing seed value.
[02:31:56:542] Sending unlock request (ED2A, A623)
[02:31:56:543] Sending message 6C 10 F0 27 02 A6 23
[02:31:56:543] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Security Access Mode / 4-byte Operating System ID
[02:31:56:543] Unlock succeeded.
[02:31:56:558] Sending 'test device present' notification.
[02:31:56:558] Sending message 8C FE F0 3F
[02:31:56:558] Mock PCM Received: 8C (Pri4 GM1 No_IFR Phy), Scanner/tester to Broadcast, Test Device Present / 4-byte Operating System ID
[02:31:56:559] This interface does not support VPW 4x
[02:31:56:592] Loaded C:\Users\Jim\Documents\PcmHammer010\PcmHammer010\kernel.bin
[02:31:56:593] Uploading kernel to PCM.
[02:31:56:606] Sending upload request for kernel size 8176, loadaddress FF8000
[02:31:56:606] Sending message 6C 10 F0 34 00 10 00 FF 80 00
[02:31:56:607] Mock PCM Received: 6C (Pri3 GM1 No_IFR Phy), Scanner/tester to ECU, Request Download (tool to module) / 4-byte Operating System ID
[02:31:56:607] Sending 'test device present' notification.
[02:31:56:607] Sending message 8C FE F0 3F
[02:31:56:608] Mock PCM Received: 8C (Pri4 GM1 No_IFR Phy), Scanner/tester to Broadcast, Test Device Present / 4-byte Operating System ID
[02:31:56:608] Permission to upload kernel was denied.
[02:31:56:623] This can usually be solved by cutting power to the PCM, restoring power, waiting ten seconds, and trying again.
[02:31:56:640] Failed to upload kernel to PCM
[02:31:56:657] Elapsed time 00:00:00.0991706

Posts: 12
Joined: Mon Nov 25, 2019 11:03 am

Re: PCM Hammer release 011

Postby Monaro » Fri Jan 31, 2020 6:28 am

Looks like your using version 10 - it had a couple of bugs - get version 11 and see how you go.

User avatar
Posts: 13
Joined: Fri Dec 27, 2019 2:28 am

Re: PCM Hammer release 011

Postby Jim Blackwood » Fri Jan 31, 2020 7:36 am

ok, did that. Selecting Com3, AllPro:

[04:31:29:432] PCM Hammer 011
[04:31:29:479] Voltage: 15.6V
[04:31:29:495] Elm ID: ELM327 v2.1
[04:31:29:501] All Pro ID: Copyright (c) 2009-2018 ObdDiag.Net This is free software; see the source for copying conditions.
[04:31:29:517] All Pro self test result: PWM wiring is OK VPW wiring is OK ISO9141/14230 wiring is OK CAN wiring is OK
[04:31:29:517] All Pro firmware: 1.22
[04:31:46:856] VIN query failed: Timeout
[04:31:55:920] Operating system query failed: Error
[04:32:01:703] Operating system query failed: Error
[04:32:02:890] Save canceled.
[04:32:11:316] C:\Users\Jim\Documents\MG\First Files\MGBAGHN5UB240478G.bin
[04:32:21:380] Validating 512k file.
[04:32:21:380] Start End Stored Needed Verdict Segment Name
[04:32:21:380] 00000 7FFFD 3D37 3D37 Good Operating system
[04:32:21:396] 08002 13FFF 365D 365D Good Engine calibration
[04:32:21:396] 14002 16DFF FD97 FD97 Good Engine diagnostics.
[04:32:21:411] 16E02 1BDFF 5D3A 5D3A Good Transmission calibration
[04:32:21:418] 1BE02 1C7FF 7BF9 7BF9 Good Transmission diagnostics
[04:32:21:433] 1C802 1E51F 6D0C 6D0C Good Fuel system
[04:32:21:449] 1E522 1EE9F DBD4 DBD4 Good System
[04:32:21:465] 1EEA2 1EF9F BD17 BD17 Good Speedometer
[04:32:21:480] Requesting operating system ID...
[04:32:25:083] Operating system request failed, checking for a live kernel...
[04:32:27:471] Checking for recovery mode...
[04:32:31:071] PCM is not responding to OSID, kernel version, or recovery mode checks.
[04:32:31:086] Unlock may not work, but we'll try...
[04:32:31:582] Unlock was not successful.

Selecting Mock Port, Mock Serial Device:

[04:45:49:970] PCM Hammer 011
[04:45:53:637] VIN: 12345ABCDEF123456
[04:45:53:652] OS ID: 12593358
[04:45:53:668] Calibration ID: 12345
[04:45:53:668] Hardware ID: 23456
[04:45:53:683] Serial Number: 123423453456
[04:45:53:683] Broad Cast Code: 4321
[04:45:53:699] MEC: 123
[04:46:04:931] C:\Users\Jim\Documents\MG\First Files\MGBAGHN5UB240478G.bin
[04:46:15:004] Validating 512k file.
[04:46:15:004] Start End Stored Needed Verdict Segment Name
[04:46:15:004] 00000 7FFFD 3D37 3D37 Good Operating system
[04:46:15:019] 08002 13FFF 365D 365D Good Engine calibration
[04:46:15:019] 14002 16DFF FD97 FD97 Good Engine diagnostics.
[04:46:15:035] 16E02 1BDFF 5D3A 5D3A Good Transmission calibration
[04:46:15:035] 1BE02 1C7FF 7BF9 7BF9 Good Transmission diagnostics
[04:46:15:050] 1C802 1E51F 6D0C 6D0C Good Fuel system
[04:46:15:066] 1E522 1EE9F DBD4 DBD4 Good System
[04:46:15:082] 1EEA2 1EF9F BD17 BD17 Good Speedometer
[04:46:15:107] Requesting operating system ID...
[04:46:15:123] Operating system IDs do not match.
[04:46:15:139] PCM operating system ID: 12593358
[04:46:15:154] File operating system ID: 12202088
[04:46:15:170] Changing PCM to operating system12202088
[04:46:15:208] Unlock succeeded.
[04:46:15:223] This interface does not support VPW 4x
[04:46:15:254] Uploading kernel to PCM.
[04:46:15:270] Permission to upload kernel was denied.
[04:46:15:270] This can usually be solved by cutting power to the PCM, restoring power, waiting ten seconds, and trying again.
[04:46:15:286] Failed to upload kernel to PCM
[04:46:15:309] Elapsed time 00:00:00.1009571


Jim

Posts: 115
Joined: Wed Jul 05, 2017 8:30 am
Location: TX USA

Re: PCM Hammer release 011

Postby MudDuck514 » Fri Jan 31, 2020 12:07 pm

Hi all,

Jim, does your All Pro work with any OTHER apps?
The reason I ask is looking at line 2 you are showing 15.6v and I am not sure if the All Pro likes that kind of voltage. (I realize the device isn't DOA or it wouldn't work at all)
Other than that, I have no advice to offer.

Mike

Site Admin
User avatar
Posts: 6027
Joined: Sat Feb 28, 2009 8:34 pm

Re: PCM Hammer release 011

Postby antus » Fri Jan 31, 2020 1:09 pm

Its also not getting any response from the pcm. Check your connections, check the ignition signal is live. 15.6 is a bit high but I dont think its a problem and the allpro is passing its internal tests. It looks more like a connection or power problem to the pcm.
Have you read the FAQ? For lots of information and links to significant threads see here: viewtopic.php?f=7&t=1396

PreviousNext

Return to GM LS1 512Kbyte and 1Mbyte

Who is online

Users browsing this forum: Chuff and 1 guest