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: 8253
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 the 07 is the p12b 2mb. I was able to reproduce this last night and I think the timeout is borderline too short for the larger sectors on the amd flash chip with the xpro timeout calcs. I'll try and get this sorted soon and send you a test build.
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
Bingus
Posts: 5
Joined: Sun Aug 13, 2023 1:16 am
cars: 74 Ford Maverick
02 Dodge Dakota
18 Subaru WRX

Re: PCM Hammer Release 021

Post by Bingus »

Yep! I was able to reproduce exactly that by building locally and debugging. Stepping through line by line I got a success response from the kernel and was able to write! Now I have 2 happy P12 pcms :)

I'm still willing to test that fix to confirm - hopefully it'll help others!
User avatar
Tazzi
Posts: 3431
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: PCM Hammer Release 021

Post by Tazzi »

Bingus wrote:Yep! I was able to reproduce exactly that by building locally and debugging. Stepping through line by line I got a success response from the kernel and was able to write! Now I have 2 happy P12 pcms :)

I'm still willing to test that fix to confirm - hopefully it'll help others!
If using the OBDX Pro VT on Bench for some of these older style ECUS like P12/P04 ect, we found that you may need to add a pull down resistor (connect resistor between VPW and ground) to help with communication stability.
This is due to those style ecus were typically in vehicles which had multiple modules that would all pull the bus down slightly (loading the bus) which acts as the method for pulling the VPW line low. Without these pulldowns, some modules will 'float' there VPW voltage back to ground which can cause stability issues at high speed as this takes too long.

Quick fix for this is adding a 2k-5k resistor from VPW pin to ground. :thumbup:

Some J2534 tools may apply a slightly stronger pull down inside the tool which also accommodates to this, so may not be needed on something like a GM MDI.
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
DavidBraley
Posts: 172
Joined: Thu Jun 07, 2018 8:15 am
cars: 1948 GMC
Location: Fort Collins, Colorado

Re: PCM Hammer Release 021

Post by DavidBraley »

Tazzi,

Does the (sometimes) need for a pull-down resistor between the VPW line and ground need to be close to the ecu? Or can it be an addition to the bench harness?

A switched resistance path between the VPW line and ground would be super easy to add to a bench harness.
-David

I'm a machinist... because engineers need heroes too.
User avatar
Tazzi
Posts: 3431
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: PCM Hammer Release 021

Post by Tazzi »

I only have the pull down for the VT, and mines near the scantool
Itself, but I believe it could be done anywhere in the harness.

This all only applies when using a bench harness with the VT.
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
antus
Site Admin
Posts: 8253
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 »

I will just add that I havn't needed this with my VT, so its not an always thing either. Also I am having trouble with the first write packet on P12, but I think it is something else as I have added that resistor and it made no difference for me. I am testing the new asm kernels that are not released though. I still think its a timing issue, but I don't know for sure yet. I'd like to get this new asm kernel issue solved as I think all other issues are solved with it and it'll be good to look towards the next pcmhammer release supporting P04 and P08 as well.
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
User avatar
Tazzi
Posts: 3431
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: PCM Hammer Release 021

Post by Tazzi »

antus wrote:I will just add that I havn't needed this with my VT, so its not an always thing either. Also I am having trouble with the first write packet on P12, but I think it is something else as I have added that resistor and it made no difference for me. I am testing the new asm kernels that are not released though. I still think its a timing issue, but I don't know for sure yet. I'd like to get this new asm kernel issue solved as I think all other issues are solved with it and it'll be good to look towards the next pcmhammer release supporting P04 and P08 as well.
If it is timing, it can be adjusted by commands to the VT also if thats the case 8-)

I would expect seeing issues trying to upload a kernel/loader if timing was a problem though for large chunks. Maybe looping through uploading a chunk of data to the ECU over and over could test the theory?
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
antus
Site Admin
Posts: 8253
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 its just time. It all fundamentally works - it probably just needs a small tweak... in the right place.
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
ScarabEpic22
Posts: 21
Joined: Fri Jan 08, 2021 3:36 am
cars: TrailBlazer SS E67 LS2, Sonic E78 LUV
Location: Seattle, WA, USA

Re: PCM Hammer Release 021

Post by ScarabEpic22 »

antus wrote:Yep the 07 is the p12b 2mb. I was able to reproduce this last night and I think the timeout is borderline too short for the larger sectors on the amd flash chip with the xpro timeout calcs. I'll try and get this sorted soon and send you a test build.
Can you confirm the 07 actually has 2MB? GM talked about releasing a 2MB P12, haven't seen one yet (but want to be proven wrong here)!
Bingus
Posts: 5
Joined: Sun Aug 13, 2023 1:16 am
cars: 74 Ford Maverick
02 Dodge Dakota
18 Subaru WRX

Re: PCM Hammer Release 021

Post by Bingus »

Here is the bin I pulled from the 07 P12b I have. It is indeed 2MB.

It also took a lot longer to read due to failures - wondering if the resistor trick would help. I'm surprised at how unstable the P12b read was compared to the P12 I have.
Attachments
07_P12b.bin
(2 MiB) Downloaded 134 times
Post Reply