Switches for turning on/off J1850 VPW information

They go by many names, P01, P59, VPW, '0411 etc. Also covering E38 and newer here.
bubba2533
Posts: 498
Joined: Wed Apr 11, 2018 8:50 am
cars: 03 Chevy S10 Turbo V6

Re: Switches for turning on/off J1850 VPW information

Post by bubba2533 »

RADustin wrote: Through some brute force I know the data to be modified is in this range- left does not work. right does work. so getting close.
Capture.JPG
From OS 12587603 in that range a function (0x3e4f2) looks to reference that parameter section starting at (0x1F98A) 11 times that could be the phases and there is 18 bytes (144 bits) for each phase.

TunerPro doesn't really have a good way to look at bits, but if we get enough people to post on the TunerPro forum (Thread Here) maybe we can get support for it.
LS1 Boost OS V3 Here. For feature suggestions post in here Development Thread. Support future development ->Patreon.
kur4o
Posts: 950
Joined: Sun Apr 10, 2016 9:20 pm

Re: Switches for turning on/off J1850 VPW information

Post by kur4o »

I found some info on the topic, and hope we get a solution for testing soon. The biggest issue is 1mb have 18 bytes of data, while 512kb bins have 16 bytes defined. So solution will be valid only for 1mb bins, if we can get proper encoding for 512kb layout that can be added too.
kur4o
Posts: 950
Joined: Sun Apr 10, 2016 9:20 pm

Re: Switches for turning on/off J1850 VPW information

Post by kur4o »

This one is from 7603 OS that is available already.

C2_TX_MSGS;KV_C2_MSGS_ALLOWED_AT_MODE7_P1;0001F98A;129418;18
C2_TX_MSGS;KV_C2_MSGS_QUEUED_AT_MODE7_P1;0001F99C;129436;18
C2_TX_MSGS;KV_C2_MSGS_ALLOWED_AT_MODE7_P2;0001F9AE;129454;18
C2_TX_MSGS;KV_C2_MSGS_ALLOWED_AT_MODE7_P3;0001F9C0;129472;18
C2_TX_MSGS;KV_C2_MSGS_ALLOWED_AT_MODE7_P4;0001F9D2;129490;18
C2_TX_MSGS;KV_C2_MSGS_ALLOWED_AT_MODE8_P1;0001F9E4;129508;18
C2_TX_MSGS;KV_C2_MSGS_QUEUED_AT_MODE8_P1;0001F9F6;129526;18
C2_TX_MSGS;KV_C2_MSGS_ALLOWED_AT_MODE8_P2;0001FA08;129544;18
C2_TX_MSGS;KV_C2_MSGS_ALLOWED_AT_MODE10_P1;0001FA1A;129562;18
C2_TX_MSGS;KV_C2_MSGS_QUEUED_AT_MODE10_P1;0001FA2C;129580;18
C2_TX_MSGS;KV_C2_MSGS_ALLOWED_AT_MODE28;0001FA3E;129598;18


And this is the encoding per bits of the 18 bytes being used. Definitely some decoding of the modes will be needed.
I will really appreciate someone make a better description of them

Code: Select all

C2_Msgs_Allowed_At_Mode7_P1.Dummy_Bit_144
C2_Msgs_Allowed_At_Mode7_P1.Dummy_Bit_143
C2_Msgs_Allowed_At_Mode7_P1.Dummy_Bit_142
C2_Msgs_Allowed_At_Mode7_P1.Dummy_Bit_141
C2_Msgs_Allowed_At_Mode7_P1.Dummy_Bit_140
C2_Msgs_Allowed_At_Mode7_P1.Dummy_Bit_139
C2_Msgs_Allowed_At_Mode7_P1.Mode_7B
C2_Msgs_Allowed_At_Mode7_P1.Mode_69
C2_Msgs_Allowed_At_Mode7_P1.Mode_74
C2_Msgs_Allowed_At_Mode7_P1.Mode_E0
C2_Msgs_Allowed_At_Mode7_P1.Mode_67
C2_Msgs_Allowed_At_Mode7_P1.Mode_50
C2_Msgs_Allowed_At_Mode7_P1.Mode_68
C2_Msgs_Allowed_At_Mode7_P1.Mode_52
C2_Msgs_Allowed_At_Mode7_P1.Mode_7C
C2_Msgs_Allowed_At_Mode7_P1.Mode_6C
C2_Msgs_Allowed_At_Mode7_P1.Mode_59
C2_Msgs_Allowed_At_Mode7_P1.Mode_57
C2_Msgs_Allowed_At_Mode7_P1.Mode_54
C2_Msgs_Allowed_At_Mode7_P1.Mode_6A_O
C2_Msgs_Allowed_At_Mode7_P1.Mode_63
C2_Msgs_Allowed_At_Mode7_P1.Mode_62
C2_Msgs_Allowed_At_Mode7_P1.Mode_60
C2_Msgs_Allowed_At_Mode7_P1.Mode_E8
C2_Msgs_Allowed_At_Mode7_P1.Mode_EE
C2_Msgs_Allowed_At_Mode7_P1.Mode_6A_P
C2_Msgs_Allowed_At_Mode7_P1.Mode_7F
C2_Msgs_Allowed_At_Mode7_P1.Mode_46
C2_Msgs_Allowed_At_Mode7_P1.Mode_45
C2_Msgs_Allowed_At_Mode7_P1.Mode_42
C2_Msgs_Allowed_At_Mode7_P1.Mode_41
C2_Msgs_Allowed_At_Mode7_P1.Mode_49
C2_Msgs_Allowed_At_Mode7_P1.Mode_48
C2_Msgs_Allowed_At_Mode7_P1.Mode_47
C2_Msgs_Allowed_At_Mode7_P1.Mode_44
C2_Msgs_Allowed_At_Mode7_P1.Mode_43
C2_Msgs_Allowed_At_Mode7_P1.N_3A10_REQ
C2_Msgs_Allowed_At_Mode7_P1.State_Of_Health
C2_Msgs_Allowed_At_Mode7_P1.N_580B_RACK
C2_Msgs_Allowed_At_Mode7_P1.N_2A3C_REQ
C2_Msgs_Allowed_At_Mode7_P1.N_1410_REQ
C2_Msgs_Allowed_At_Mode7_P1.N_3A03_REQ
C2_Msgs_Allowed_At_Mode7_P1.N_FE06_REQ
C2_Msgs_Allowed_At_Mode7_P1.N_EA209B_RQCV
C2_Msgs_Allowed_At_Mode7_P1.N_E42000_REQ
C2_Msgs_Allowed_At_Mode7_P1.N_B23C_REQ
C2_Msgs_Allowed_At_Mode7_P1.N_8216_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_6220_RQCV
C2_Msgs_Allowed_At_Mode7_P1.N_580B_REQ
C2_Msgs_Allowed_At_Mode7_P1.N_583C_REQ
C2_Msgs_Allowed_At_Mode7_P1.N_5222_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_4A14_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_4803_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_3A3C_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_3A30_RQCV
C2_Msgs_Allowed_At_Mode7_P1.N_3A22_RQCV
C2_Msgs_Allowed_At_Mode7_P1.N_3A10_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_3A05_REQ
C2_Msgs_Allowed_At_Mode7_P1.N_2A07_REQ
C2_Msgs_Allowed_At_Mode7_P1.N_1401_RQCV
C2_Msgs_Allowed_At_Mode7_P1.N_1410_RACK
C2_Msgs_Allowed_At_Mode7_P1.N_D230_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_3A0D_REQ
C2_Msgs_Allowed_At_Mode7_P1.N_3A01_REQ
C2_Msgs_Allowed_At_Mode7_P1.N_3A03_RACK
C2_Msgs_Allowed_At_Mode7_P1.Wake_Up_Bus
C2_Msgs_Allowed_At_Mode7_P1.N_FA05_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_FA04_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_FA03_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_FA02_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_FA01_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_F211_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_CE07_REQ
C2_Msgs_Allowed_At_Mode7_P1.N_B230_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_B211_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_8213_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_8212_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_8208_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_7208_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_6206_REQ
C2_Msgs_Allowed_At_Mode7_P1.N_4A09_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_4801_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_3A30_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_3A22_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_3A05_RACK
C2_Msgs_Allowed_At_Mode7_P1.N_2A07_RACK
C2_Msgs_Allowed_At_Mode7_P1.N_240500_REQ
C2_Msgs_Allowed_At_Mode7_P1.N_2403_REQ
C2_Msgs_Allowed_At_Mode7_P1.N_0A20_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_EA2077_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA20E9_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA20E4_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA20E2_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA20DF_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA20D5_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA20CC_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA20CB_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA20B7_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA20B4_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA209D_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA209C_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA208F_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA208E_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA208C_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA208A_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA2089_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA2088_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA2085_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA2084_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA2083_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA2082_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA2081_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA2076_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_820A_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_7A06_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_6220_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_6210_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_6202_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_5830_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_5204_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_4A11_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_4806_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_3A3D_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_3A03_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_3A02_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_3222_RACK
C2_Msgs_Allowed_At_Mode7_P1.N_3222_REQ
C2_Msgs_Allowed_At_Mode7_P1.N_2A0B_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_2802_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_2801_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_1A10_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_1401_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_0822_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_9611_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_EA0A_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_8602_LOAD
C2_Msgs_Allowed_At_Mode7_P1.N_4810_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_3A20_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_3221_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_1211_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_3A04_RPT
C2_Msgs_Allowed_At_Mode7_P1.N_9201_REQ
C2_Msgs_Allowed_At_Mode7_P1.N_9202_RPT
C2_Msgs_Allowed_At_Mode7_P1.None
RADustin
Posts: 162
Joined: Fri Oct 17, 2014 9:44 am

Re: Switches for turning on/off J1850 VPW information

Post by RADustin »

bubba2533 wrote:
RADustin wrote: Through some brute force I know the data to be modified is in this range- left does not work. right does work. so getting close.
Capture.JPG
From OS 12587603 in that range a function (0x3e4f2) looks to reference that parameter section starting at (0x1F98A) 11 times that could be the phases and there is 18 bytes (144 bits) for each phase.

TunerPro doesn't really have a good way to look at bits, but if we get enough people to post on the TunerPro forum (Thread Here) maybe we can get support for it.
I did make it work through somewhat brute force in a bit by bit fashion. But I really learned nothing other than making it work.

It would be awesome to use this databus and learn it well IMO. It's separate to OBD2 and could send important parameters outside the PCM to a secondary controller at a high data rate while still communicating with a scantool....say an external boost controller or something..
RADustin
Posts: 162
Joined: Fri Oct 17, 2014 9:44 am

Re: Switches for turning on/off J1850 VPW information

Post by RADustin »

kur4o wrote:This one is from 7603 OS that is available already.
To share a little more of what I've figured out...

I've found the volt meter message info in both 603 and 618 via brute force. 603 is in the 10th column, and the bit switch is 3rd from LSB(the right). So basically factor is 0x38. Set it to 0x3A and it works.
OS603 VPW Switch Table .png
On OS 618, its in the 12 column. The bit switch is 4th from LSB. So basically factory is 0xE1, set it to E9.
OS618 VPW Switch Table .png
I hope to have more time to define what information other columns represent but I haven't lately. All my further development will be on OS603 though as I've finally switched away from OS618.
User avatar
lsxautumn
Posts: 21
Joined: Sun Oct 30, 2022 6:36 am
cars: 02 sierra 2500HD LQ4 4L80E
AKA a void that eats all my money

Re: Switches for turning on/off J1850 VPW information

Post by lsxautumn »

You are amazing for posting this information. I got an 06 cluster now working almost flawlessly in my 02 truck with the SWC and DIC with the 03 steering wheel swapped too. The only thing that doesn't work for some bizarre reason so far I've found is the cargo lamp indicator light but I know the lamp itself is good because it works on the bench but all 7 gauges work, same with, PRNDL, all other warning lights, cluster messages on odometer vfd, ect. I figured everything else out but no way I figure out the voltage over serial data on a p59 without this.

Cargo lamp indicator must use a different message because it did work on the 02 cluster, I tried flashing every 06 calibration on the cluster but no luck with that. Since its the same mcu might be worth trying the 05 OSes or 07c since they can be used on the 06 cluster. I also wonder if any other indicator messages aren't working but so far the only one I can tell is the cargo lamp
04colyZQ8
Posts: 380
Joined: Thu Jan 16, 2014 12:41 pm
cars: 2004 Colorado 4.8L swap
86/90 Jimmy 6.5L diesel swap
80 Chevrolet Silverado TBI swap
88dodge W100 LPG conversion

Re: Switches for turning on/off J1850 VPW information

Post by 04colyZQ8 »

Very interesting! What bit sets each message? I don’t follow how it works?
User avatar
lsxautumn
Posts: 21
Joined: Sun Oct 30, 2022 6:36 am
cars: 02 sierra 2500HD LQ4 4L80E
AKA a void that eats all my money

Re: Switches for turning on/off J1850 VPW information

Post by lsxautumn »

lsxautumn wrote:You are amazing for posting this information. I got an 06 cluster now working almost flawlessly in my 02 truck with the SWC and DIC with the 03 steering wheel swapped too. The only thing that doesn't work for some bizarre reason so far I've found is the cargo lamp indicator light but I know the lamp itself is good because it works on the bench but all 7 gauges work, same with, PRNDL, all other warning lights, cluster messages on odometer vfd, ect. I figured everything else out but no way I figure out the voltage over serial data on a p59 without this.

Cargo lamp indicator must use a different message because it did work on the 02 cluster, I tried flashing every 06 calibration on the cluster but no luck with that. Since its the same mcu might be worth trying the 05 OSes or 07c since they can be used on the 06 cluster. I also wonder if any other indicator messages aren't working but so far the only one I can tell is the cargo lamp
Just to update, the cargo lamp turned out to be user error on my part, they communicate the same way. I do notice the volt gauge only samples seemingly a little after key on and then is static, but I find it a non issue since the battery light operates as it should. The VFD thought does read out warnings like it would in a newer truck and the DIC is flawless. I need to test if a stock 03+ truck volt gague updates live or if it too only updates at key on
Post Reply