PCM Hammer 2 Preview

They go by many names, P01, P10, P12, P59, E38, VPW, '0411 etc.
sparepartsblazer
Posts: 101
Joined: Mon Dec 04, 2023 1:18 am
Location: Missouri

Re: PCM Hammer 2 Preview

Post by sparepartsblazer »

It reads but seems to have errors. Get lots of Unable to transmit
You do not have the required permissions to view the files attached to this post.
User avatar
antus
Site Admin
Posts: 10087
Joined: Sat Feb 28, 2009 10:34 am
cars: TX Gemini 2L Twincam 8psi
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Subaru WRX 2007

Re: PCM Hammer 2 Preview

Post by antus »

Can you post the debug log of that? I've not seen that before. It seems to still be working but I'd like to know what its trying to do in the background. Does the same operation work with 021? There havnt been any changes to the xpro driver.
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
sparepartsblazer
Posts: 101
Joined: Mon Dec 04, 2023 1:18 am
Location: Missouri

Re: PCM Hammer 2 Preview

Post by sparepartsblazer »

antus wrote: Wed Jun 10, 2026 10:28 pm Can you post the debug log of that? I've not seen that before. It seems to still be working but I'd like to know what its trying to do in the background. Does the same operation work with 021? There havnt been any changes to the xpro driver.
Ill try to get the debug log. Seems to have happened in one of the newer releases. Cant remember which one
sparepartsblazer
Posts: 101
Joined: Mon Dec 04, 2023 1:18 am
Location: Missouri

Re: PCM Hammer 2 Preview

Post by sparepartsblazer »

Heres the debug log. Will check a few other versions to see when it happened
You do not have the required permissions to view the files attached to this post.
User avatar
antus
Site Admin
Posts: 10087
Joined: Sat Feb 28, 2009 10:34 am
cars: TX Gemini 2L Twincam 8psi
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Subaru WRX 2007

Re: PCM Hammer 2 Preview

Post by antus »

Thanks for that. One of the crash issues in the kernel that was found and fixed was actually to do with the checksum function overflowing the DLC chip RX FIFO as the checksum function was doing the whole segment, without flushing the DLC chip. Then the retry requests stacked up until the platform crashed. It would have been worse in car because bus traffic would have gone in to the RX FIFO and gotten stuck during CRC before hitting the normal flash kernel packet filter and being discarded. Now the CRC loop flushes the RX FIFO and we rely on PCM Hammer sending retries until it gets the data. This looks like it could be related to those dropped packets. Harmless, in fact more stable, but if that's it, its more noisy than we want.
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
sparepartsblazer
Posts: 101
Joined: Mon Dec 04, 2023 1:18 am
Location: Missouri

Re: PCM Hammer 2 Preview

Post by sparepartsblazer »

So anything after pull request #47 is when problems started.
You do not have the required permissions to view the files attached to this post.
User avatar
antus
Site Admin
Posts: 10087
Joined: Sat Feb 28, 2009 10:34 am
cars: TX Gemini 2L Twincam 8psi
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Subaru WRX 2007

Re: PCM Hammer 2 Preview

Post by antus »

I think I have fix, I'll test it locally and then push it up. It was the XPro driver was getting confused when it saw that message come in between the transmit and receive. It was harmless, but the driver can be smarter.
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
sparepartsblazer
Posts: 101
Joined: Mon Dec 04, 2023 1:18 am
Location: Missouri

Re: PCM Hammer 2 Preview

Post by sparepartsblazer »

antus wrote: Thu Jun 11, 2026 1:07 am I think I have fix, I'll test it locally and then push it up. It was the XPro driver was getting confused when it saw that message come in between the transmit and receive. It was harmless, but the driver can be smarter.
Never thought to try my VCX Nano
User avatar
antus
Site Admin
Posts: 10087
Joined: Sat Feb 28, 2009 10:34 am
cars: TX Gemini 2L Twincam 8psi
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Subaru WRX 2007

Re: PCM Hammer 2 Preview

Post by antus »

Fix tested OK

Code: Select all

[10:56:07.834]  Sending 'test device present' notification.
[10:56:07.834]  TX: 8C FE F0 3F
[10:56:07.836]  Requesting CRCs from PCM.
[10:56:07.840]  	Range		File CRC		PCM CRC	Verdict	Purpose
[10:56:07.846]  TX: 6C 10 F0 3D 02 01 00 00 0F 00 00
[10:56:08.912]  RX: 6C F0 10 7D 02 01 00 00 0F 00 00 8D 0F 8F 91
[10:56:08.912]  Received: 6C F0 10 7D 02 01 00 00 0F 00 00 8D 0F 8F 91
[10:56:08.913]  0F0000-0FFFFF	8D0F8F91	8D0F8F91	Same	OperatingSystem
[10:56:08.920]  TX: 6C 10 F0 3D 02 01 00 00 0E 00 00
[10:56:09.987]  RX: 6C F0 10 7D 02 01 00 00 0E 00 00 A5 0F 3C 90
[10:56:09.988]  Received: 6C F0 10 7D 02 01 00 00 0E 00 00 A5 0F 3C 90
[10:56:09.989]  0E0000-0EFFFF	A50F3C90	A50F3C90	Same	OperatingSystem
[10:56:10.002]  Sending 'test device present' notification.
[10:56:10.003]  TX: 8C FE F0 3F
[10:56:10.010]  TX: 6C 10 F0 3D 02 01 00 00 0D 00 00
[10:56:11.077]  RX: 6C F0 10 7D 02 01 00 00 0D 00 00 A5 0F 3C 90
[10:56:11.078]  Received: 6C F0 10 7D 02 01 00 00 0D 00 00 A5 0F 3C 90
[10:56:11.079]  0D0000-0DFFFF	A50F3C90	A50F3C90	Same	OperatingSystem
[10:56:11.096]  TX: 6C 10 F0 3D 02 01 00 00 0C 00 00
[10:56:12.164]  RX: 6C F0 10 7D 02 01 00 00 0C 00 00 A5 0F 3C 90
[10:56:12.165]  Received: 6C F0 10 7D 02 01 00 00 0C 00 00 A5 0F 3C 90
[10:56:12.166]  0C0000-0CFFFF	A50F3C90	A50F3C90	Same	OperatingSystem
[10:56:12.182]  Sending 'test device present' notification.
[10:56:12.183]  TX: 8C FE F0 3F
[10:56:12.189]  TX: 6C 10 F0 3D 02 01 00 00 0B 00 00
[10:56:13.257]  RX: 6C F0 10 7D 02 01 00 00 0B 00 00 A5 0F 3C 90
[10:56:13.257]  Received: 6C F0 10 7D 02 01 00 00 0B 00 00 A5 0F 3C 90
[10:56:13.259]  0B0000-0BFFFF	A50F3C90	A50F3C90	Same	OperatingSystem
[10:56:13.285]  TX: 6C 10 F0 3D 02 01 00 00 0A 00 00
[10:56:14.351]  RX: 6C F0 10 7D 02 01 00 00 0A 00 00 A5 0F 3C 90
[10:56:14.353]  Received: 6C F0 10 7D 02 01 00 00 0A 00 00 A5 0F 3C 90
[10:56:14.354]  0A0000-0AFFFF	A50F3C90	A50F3C90	Same	OperatingSystem
[10:56:14.377]  Sending 'test device present' notification.
[10:56:14.378]  TX: 8C FE F0 3F
[10:56:14.384]  TX: 6C 10 F0 3D 02 01 00 00 09 00 00
[10:56:15.451]  RX: 6C F0 10 7D 02 01 00 00 09 00 00 A5 0F 3C 90
[10:56:15.452]  Received: 6C F0 10 7D 02 01 00 00 09 00 00 A5 0F 3C 90
[10:56:15.453]  090000-09FFFF	A50F3C90	A50F3C90	Same	OperatingSystem
[10:56:15.474]  TX: 6C 10 F0 3D 02 01 00 00 08 00 00
[10:56:16.541]  RX: 6C F0 10 7D 02 01 00 00 08 00 00 58 2F 9B 20
[10:56:16.542]  Received: 6C F0 10 7D 02 01 00 00 08 00 00 58 2F 9B 20
[10:56:16.543]  080000-08FFFF	582F9B20	582F9B20	Same	OperatingSystem
[10:56:16.565]  Sending 'test device present' notification.
[10:56:16.566]  TX: 8C FE F0 3F
[10:56:16.572]  TX: 6C 10 F0 3D 02 01 00 00 07 00 00
[10:56:17.639]  RX: 6C F0 10 7D 02 01 00 00 07 00 00 4B BA 10 38
[10:56:17.640]  Received: 6C F0 10 7D 02 01 00 00 07 00 00 4B BA 10 38
[10:56:17.641]  070000-07FFFF	4BBA1038	4BBA1038	Same	OperatingSystem
[10:56:17.664]  TX: 6C 10 F0 3D 02 01 00 00 06 00 00
[10:56:18.731]  RX: 6C F0 10 7D 02 01 00 00 06 00 00 9A 01 41 FC
[10:56:18.733]  Received: 6C F0 10 7D 02 01 00 00 06 00 00 9A 01 41 FC
[10:56:18.734]  060000-06FFFF	9A0141FC	9A0141FC	Same	OperatingSystem
[10:56:18.761]  Sending 'test device present' notification.
[10:56:18.762]  TX: 8C FE F0 3F
[10:56:18.768]  TX: 6C 10 F0 3D 02 01 00 00 05 00 00
[10:56:19.836]  RX: 6C F0 10 7D 02 01 00 00 05 00 00 13 32 EC D2
[10:56:19.836]  Received: 6C F0 10 7D 02 01 00 00 05 00 00 13 32 EC D2
[10:56:19.837]  050000-05FFFF	1332ECD2	1332ECD2	Same	OperatingSystem
[10:56:19.849]  TX: 6C 10 F0 3D 02 01 00 00 04 00 00
[10:56:20.916]  RX: 6C F0 10 7D 02 01 00 00 04 00 00 84 ED 68 6D
[10:56:20.917]  Received: 6C F0 10 7D 02 01 00 00 04 00 00 84 ED 68 6D
[10:56:20.925]  040000-04FFFF	84ED686D	84ED686D	Same	OperatingSystem
[10:56:20.939]  Sending 'test device present' notification.
[10:56:20.940]  TX: 8C FE F0 3F
[10:56:20.943]  TX: 6C 10 F0 3D 02 01 00 00 03 00 00
[10:56:22.010]  RX: 6C F0 10 7D 02 01 00 00 03 00 00 D3 97 1A 70
[10:56:22.011]  Received: 6C F0 10 7D 02 01 00 00 03 00 00 D3 97 1A 70
[10:56:22.012]  030000-03FFFF	D3971A70	D3971A70	Same	OperatingSystem
[10:56:22.041]  TX: 6C 10 F0 3D 02 01 00 00 02 00 00
[10:56:23.109]  RX: 6C F0 10 7D 02 01 00 00 02 00 00 C8 A6 C5 E5
[10:56:23.109]  Received: 6C F0 10 7D 02 01 00 00 02 00 00 C8 A6 C5 E5
[10:56:23.111]  020000-02FFFF	C8A6C5E5	C8A6C5E5	Same	OperatingSystem
[10:56:23.138]  Sending 'test device present' notification.
[10:56:23.139]  TX: 8C FE F0 3F
[10:56:23.146]  TX: 6C 10 F0 3D 02 01 00 00 01 00 00
[10:56:24.214]  RX: 6C F0 10 7D 02 01 00 00 01 00 00 68 2C 53 12
[10:56:24.215]  Received: 6C F0 10 7D 02 01 00 00 01 00 00 68 2C 53 12
[10:56:24.216]  010000-01FFFF	682C5312	682C5312	Same	Calibration
[10:56:24.248]  TX: 6C 10 F0 3D 02 00 80 00 00 80 00
[10:56:24.786]  RX: 6C F0 10 7D 02 00 80 00 00 80 00 DC 07 BE CE
[10:56:24.787]  Received: 6C F0 10 7D 02 00 80 00 00 80 00 DC 07 BE CE
[10:56:24.789]  008000-00FFFF	DC07BECE	DC07BECE	Same	Calibration
[10:56:24.823]  TX: 6C 10 F0 3D 02 00 20 00 00 60 00
[10:56:24.963]  RX: 6C F0 10 7D 02 00 20 00 00 60 00 85 B5 BB 36
[10:56:24.964]  Received: 6C F0 10 7D 02 00 20 00 00 60 00 85 B5 BB 36
[10:56:24.966]  006000-007FFF	85B5BB36	85B5BB36	Same	Parameter
[10:56:25.007]  TX: 6C 10 F0 3D 02 00 20 00 00 40 00
[10:56:25.147]  RX: 6C F0 10 7D 02 00 20 00 00 40 00 70 4E 59 6C
[10:56:25.148]  Received: 6C F0 10 7D 02 00 20 00 00 40 00 70 4E 59 6C
[10:56:25.150]  004000-005FFF	704E596C	704E596C	Same	Parameter
[10:56:25.170]  Sending 'test device present' notification.
[10:56:25.170]  TX: 8C FE F0 3F
[10:56:25.174]  TX: 6C 10 F0 3D 02 00 40 00 00 00 00
[10:56:25.445]  RX: 6C F0 10 7D 02 00 40 00 00 00 00 4D 37 0E 96
[10:56:25.447]  Received: 6C F0 10 7D 02 00 40 00 00 00 00 4D 37 0E 96
[10:56:25.456]  000000-003FFF	4D370E96	4D370E96	Same	Boot
[10:56:25.491]  The contents of the file match the contents of the PCM.
The fix is building here: https://github.com/PcmHammer/PcmHammer/ ... 7318064123
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
sparepartsblazer
Posts: 101
Joined: Mon Dec 04, 2023 1:18 am
Location: Missouri

Re: PCM Hammer 2 Preview

Post by sparepartsblazer »

antus wrote: Thu Jun 11, 2026 1:40 am The fix is building here: https://github.com/PcmHammer/PcmHammer/ ... 7318064123
Will give it a go later this evening