P04 Custom Code

For discussion and distribution of custom code and hacks
zack4200
Posts: 79
Joined: Sat Jun 25, 2022 1:35 am
cars: 1982 Chevy Chevette 3400 LA1 swapped
1986 Chevy Chevette
1998 Chevy s10

Re: P04 Custom Code

Post by zack4200 »

kur4o wrote:I am sure these performance modes are triggered by external switches. We need to locate the pins that are being used for this. 2nd gear start and performance might use the same pin, but 4wd low will be definitely another pin. Than we can manipulate the command logic. I think some might be mutually exclusive via software settings. There might be other input/output pins left on board, paired with AD channels and PWM channels. Some hardware tracing will be needed, to fully exploit the p04 pcm.

A good indicator is to measure each pin for resistance to ground. When pcm is powered to measure voltage to ground and voltage to B+. Some analysis after that can reveal similar channels, and matching that with existing data sheets can spot quickly some of the unused pins capabilities. Last some board tracing and finding patterns of RC networks.

The only "4WD" p04 vehicles I'm aware of are the Venture/Montana vans, which are more of a part time AWD than true 4WD. I don't think it has 4High/4Low and techline seems to confirm this.
VirtualBoxVM_EQIi0yE4hL.png
VirtualBoxVM_yHP65avWqO.png
Maybe there are other 4wd applications that could explain it though
ProfessWRX wrote:Any chance you guys have a pinout for the 04 L67 Pcm? I haven’t seen one.
04 Monte Carlo pcm pinouts - L36_L67.pdf
(43.59 KiB) Downloaded 207 times
ProfessWRX
Posts: 139
Joined: Tue Oct 03, 2023 9:33 am
cars: 04 Monte SSSC
04 Tahoe
92 Trans Am
Location: AZ USA

Re: P04 Custom Code

Post by ProfessWRX »

Thanks!
zack4200
Posts: 79
Joined: Sat Jun 25, 2022 1:35 am
cars: 1982 Chevy Chevette 3400 LA1 swapped
1986 Chevy Chevette
1998 Chevy s10

Re: P04 Custom Code

Post by zack4200 »

no problem!
ProfessWRX
Posts: 139
Joined: Tue Oct 03, 2023 9:33 am
cars: 04 Monte SSSC
04 Tahoe
92 Trans Am
Location: AZ USA

Re: P04 Custom Code

Post by ProfessWRX »

I'm always hoping that the pinout will make sense against input registers, but this one doesn't give me any hints.

I did find quite a few dead inputs that are read. But I'm no hardware man. Finding the corresponding pins on the PCM itself is a bit too much for me right now. I'll do what I can.

I think I found the CPU register for some inputs in the logic. I saw them before but never traced them. It's confusing code, but I'll get at it too just so I can understand exactly what's happening.
zack4200
Posts: 79
Joined: Sat Jun 25, 2022 1:35 am
cars: 1982 Chevy Chevette 3400 LA1 swapped
1986 Chevy Chevette
1998 Chevy s10

Re: P04 Custom Code

Post by zack4200 »

If you haven't seen it before, this post http://www.gearhead-efi.com/Fuel-Inject ... CM-pinouts is pretty helpful for seeing some of the various used/unused pins on different applications. It is missing the pin for the rear locker in the U vans, so I'm sure there are probably others still missing as well.
ProfessWRX
Posts: 139
Joined: Tue Oct 03, 2023 9:33 am
cars: 04 Monte SSSC
04 Tahoe
92 Trans Am
Location: AZ USA

Re: P04 Custom Code

Post by ProfessWRX »

zack4200 wrote:If you haven't seen it before, this post http://www.gearhead-efi.com/Fuel-Inject ... CM-pinouts is pretty helpful for seeing some of the various used/unused pins on different applications. It is missing the pin for the rear locker in the U vans, so I'm sure there are probably others still missing as well.
I’ve seen it. I assume Kur4o has as well. What Kur4os trying to get done is mapping those outside pins to the registers in the code so we can make outside stuff talk to the pcm as we wish.
ProfessWRX
Posts: 139
Joined: Tue Oct 03, 2023 9:33 am
cars: 04 Monte SSSC
04 Tahoe
92 Trans Am
Location: AZ USA

Re: P04 Custom Code

Post by ProfessWRX »

Boom. This is 4WD
kur4o wrote:4WD_Lamp_On_Car -present/not present
Type_Of_Shift_Pattern - ???class2/pcm <--CPU control FFFF8FD9/FFFFC002
Shift_Patern_press_Time -time for switch pressed to activate
4WD_Switch - switch)type fitted <--7D514/7CFCB - Transmission Type/4WDSwitch
Trans type 4 and 2 are NOT 4WD allowed
4WD_press_Time -time for switch pressed to activate <--7CFAE - Debounce Time
I haven't found anything else yet.
MudDuck514
Posts: 397
Joined: Wed Jul 05, 2017 8:30 am
cars: 2001 Pontiac Grand AM SE
LD9 2.4l I4, 4T40E
2005 Chevrolet Venture
LA1 3400 V6, 4T65E
Location: North TX, USA

Re: P04 Custom Code

Post by MudDuck514 »

kur4o wrote:Maybe trace where it get saved and monitor that value.

Found some 2nd gear switch that use the same logic as 4Low/tow and performance switches. Might give you good starting point to figure all the inputs, tracing the board.

It is from 2002 v6 firebird pcm
It would appear that this is the SAME schematic that I have in the GM SI database program!

Mike
ProfessWRX
Posts: 139
Joined: Tue Oct 03, 2023 9:33 am
cars: 04 Monte SSSC
04 Tahoe
92 Trans Am
Location: AZ USA

Re: P04 Custom Code

Post by ProfessWRX »

Any of you Bin collectors want to share an 02 firebird bin so I can see the 2nd gear start stuff?
kur4o
Posts: 955
Joined: Sun Apr 10, 2016 9:20 pm

Re: P04 Custom Code

Post by kur4o »

There is some big archive of v6 files here, but can`t find the thread. Here is one from 2001.
Attachments
'01Firebird 3.8 L36 os12211492.bin
(512 KiB) Downloaded 188 times
Post Reply