P04 Flashing—STN-Based App in the Works

User avatar
Kdog
Posts: 60
Joined: Sun Mar 09, 2025 5:48 pm
cars: 1991 k2500 454 4speed C6P
2002 40th anniversary Pontiac grand Prix gtp "Madison"
Location: Cheyenne Wyoming

P04 Flashing—STN-Based App in the Works

Post by Kdog »

Been chasing down some quirks with P04 flashing and finally pinned the issue in my setup. PCM Hammer’s solid, but the timing and pacing weren’t lining up with my SX adapter and the way P04 handles unlocks and kernel loads. I’ve worked with Mopars professionally for years, so I know how calibration swaps and VIN juggling go—sometimes you just need a tool that gets out of the way and lets you finish the job.

So I’m building a dedicated app around the STN command set, tuned specifically for the SX and P04. It’s called -P04_FlashSX-. No licensing traps, no VIN locks—just clean unlocks, loader/kernel uploads, and verified writes. I’ve got it running stable at 4x VPW under controlled conditions, similar to Jet’s interface. CRC checks, readbacks, VIN changes—all in scope.

Still early, but it’s already doing things I couldn’t get reliably before. If anyone’s working with the same OS or adapter and hitting walls, happy to share notes or test bins. Respect to the devs who laid the groundwork—just trying to build something that fits my workflow and maybe helps a few others along the way.
Oh, and I've got about 6 P04's if anyone has a BDM they would like to get familiar with.

~!!! SPECIFIC TO P04 AND SX from OBDLink ONLY!!!!!!!!---
-"The only rock a man needs, is his Chevrolet"
Kenneth "-Kdog-" Pauli 2023-
User avatar
antus
Site Admin
Posts: 10014
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: P04 Flashing—STN-Based App in the Works

Post by antus »

Good luck! Do STN have 4x support now?
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
kur4o
Posts: 1145
Joined: Sun Apr 10, 2016 11:20 am

Re: P04 Flashing—STN-Based App in the Works

Post by kur4o »

You may already know, that these PCMs accept single upload message, it needs to fit in SX buffer, or otherwise you need a loader that will get you a multiframe uploads, for larger code upload. You didn`t specify what pcm code will be used for flashing, will it be borrowed from pcmhammer, or it is some custom developed code.
User avatar
Kdog
Posts: 60
Joined: Sun Mar 09, 2025 5:48 pm
cars: 1991 k2500 454 4speed C6P
2002 40th anniversary Pontiac grand Prix gtp "Madison"
Location: Cheyenne Wyoming

Re: P04 Flashing—STN-Based App in the Works

Post by Kdog »

preview, work is really slow but seems pretty solid. i am also trying to figure out some parameters as i want certain features.
You do not have the required permissions to view the files attached to this post.
-"The only rock a man needs, is his Chevrolet"
Kenneth "-Kdog-" Pauli 2023-
User avatar
Kdog
Posts: 60
Joined: Sun Mar 09, 2025 5:48 pm
cars: 1991 k2500 454 4speed C6P
2002 40th anniversary Pontiac grand Prix gtp "Madison"
Location: Cheyenne Wyoming

Re: P04 Flashing—STN-Based App in the Works

Post by Kdog »

preview, work is really slow but seems pretty solid. i am also trying to figure out some parameters as i want certain features.
Python 3.13 9_20_2025 11_03_15 PM.png
Python 3.13 9_20_2025 11_03_30 PM.png
Python 3.13 9_20_2025 11_04_38 PM.png
You do not have the required permissions to view the files attached to this post.
-"The only rock a man needs, is his Chevrolet"
Kenneth "-Kdog-" Pauli 2023-
User avatar
Kdog
Posts: 60
Joined: Sun Mar 09, 2025 5:48 pm
cars: 1991 k2500 454 4speed C6P
2002 40th anniversary Pontiac grand Prix gtp "Madison"
Location: Cheyenne Wyoming

Re: P04 Flashing—STN-Based App in the Works

Post by Kdog »

this is how its configured when first opened mind you. kinda dig .py. didnt know there was a deticated obd2 .py when i started
-"The only rock a man needs, is his Chevrolet"
Kenneth "-Kdog-" Pauli 2023-
User avatar
Kdog
Posts: 60
Joined: Sun Mar 09, 2025 5:48 pm
cars: 1991 k2500 454 4speed C6P
2002 40th anniversary Pontiac grand Prix gtp "Madison"
Location: Cheyenne Wyoming

Re: P04 Flashing—STN-Based App in the Works

Post by Kdog »

kur4o wrote: Thu Aug 28, 2025 11:08 pm You may already know, that these PCMs accept single upload message, it needs to fit in SX buffer, or otherwise you need a loader that will get you a multiframe uploads, for larger code upload. You didn`t specify what pcm code will be used for flashing, will it be borrowed from pcmhammer, or it is some custom developed code.
borrowed pcm hammers. as this is taking forever
-"The only rock a man needs, is his Chevrolet"
Kenneth "-Kdog-" Pauli 2023-
User avatar
Kdog
Posts: 60
Joined: Sun Mar 09, 2025 5:48 pm
cars: 1991 k2500 454 4speed C6P
2002 40th anniversary Pontiac grand Prix gtp "Madison"
Location: Cheyenne Wyoming

Re: P04 Flashing—STN-Based App in the Works

Post by Kdog »

gave up. obdx vx is the shit n im lazy.
-"The only rock a man needs, is his Chevrolet"
Kenneth "-Kdog-" Pauli 2023-