GM Class 2 Data Request

NickInMN

Original poster
Member
Oct 4, 2024
9
Minnesota
I've been slowly trying to learn more about the J1850 VPW, specifically the GM flavor. This all started as a "simple" project to get the Oil Life and Fuel Filter life data from my Duramax ECM. At first I was just brute forcing things looking for very specific messages. Over the last few weeks I've decided to look at the bigger picture to get a better understanding of how it actually works. In doing so I started writing a Windows/Android/iOS application to parse Class 2 log files and make them easier to read. Somewhat similar to what TJBaker57 has done with his spreadsheet. I've made pretty good progress on this but I'm somewhat limited in my testing because the only vehicle I have is a truck with a Duramax swapped in. The only modules I have on the Class 2 bus are a TCM and ECM. I also have a BCM and IPC that I can plug in but they don't provide much info because so many other modules are missing.

Long story short, if anyone is willing to share their Class 2 logs with me so I can do some more testing and validation it would be much appreciated. Below are some screenshots of what I have so far.
 

Attachments

  • log.PNG
    log.PNG
    79 KB · Views: 6
  • filter.png
    filter.png
    17.1 KB · Views: 7
  • filter applied.png
    filter applied.png
    75.4 KB · Views: 7
  • details1.PNG
    details1.PNG
    17 KB · Views: 7
  • details2.PNG
    details2.PNG
    15.5 KB · Views: 6
  • response.PNG
    response.PNG
    20.5 KB · Views: 8

azswiss

Member
May 23, 2021
1,022
Tempe, AZ
Raw data from my '03 Suburban (5.3L, 4WD) attached. Enjoy!
Edit: Attached an Excel spreadsheet used to parse & translate the data
 

Attachments

  • Raw_splitter_data_7-25-24.txt
    139.4 KB · Views: 4
  • Raw_splitter_data_7-25-24.xlsx
    810.6 KB · Views: 3
Last edited:

TJBaker57

Lifetime VIP Donor
Member
Aug 16, 2015
3,366
Colorado

I have an overwhelming amount of logfiles.

A good deal of them were created for researching specific operating conditions or the like.

Here is one that contains a 2002 TrailBlazer during a startup. I paused like 15 seconds at each observed change during rotation of the ignition key so I could capture message traffic related to each change of state. Things like the "power moding" messages etc.

It begins with a "bus wake-up" from the drivers door module as I open the door.
 

Attachments

  • TrailBlazer_Startup.txt
    55.9 KB · Views: 3

endjuser

Member
Jul 7, 2020
6
PA
I have an overwhelming amount of logfiles.

A good deal of them were created for researching specific operating conditions or the like.

Here is one that contains a 2002 TrailBlazer during a startup. I paused like 15 seconds at each observed change during rotation of the ignition key so I could capture message traffic related to each change of state. Things like the "power moding" messages etc.

It begins with a "bus wake-up" from the drivers door module as I open the door.

Do you know what state your ignition key was in for this power mode?
28 FF 40 06 07 0F 0F DA

I'm working on documenting all the Class 2 messages in my 2004 Suburban.
On my truck, the power mode sequence looks like this:

Code:
TIMESTAMP  CLASS2 MESSAGE        CHKSUM  POWER MODE  KEY POSITION  INPUTS
---------  --------------------  --      ----------  ------------  ------
00:00.000  28 FF 40 06 04 01 0B  CD      unlock      unlock        ign0
00:00.000  28 FF 40 06 06 09 0B  94      accessory   accessory     ign0 + acc
00:00.132  28 FF 40 06 07 0B 0B  83      run         on            ign0 + ign1 + acc
00:00.166  28 FF 40 06 08 03 0B  5F      crank       start         ign0 + ign1
00:04.718  28 FF 40 06 07 03 0B  D9      run         start         ign0 + ign1

00:04.964  28 FF 40 06 07 0B 0B  83      run         on            ign0 + ign1 + acc

01:00.000  28 FF 40 06 07 09 0B  1B      run         accessory     ign0 + acc
01:00.123  28 FF 40 06 05 01 0B  42      RAP unlock  unlock        ign0
01:00.164  28 FF 40 06 09 00 0B  04      RAP         off           

01:03.616  28 FF 40 06 03 00 0B  0B      off awake   off

I haven't figured out what the last byte represents (always 0B for me, always 0F for you). But I also don't have a power mode of 0F.
 
Last edited:

TJBaker57

Lifetime VIP Donor
Member
Aug 16, 2015
3,366
Colorado
Do you know what state your ignition key was in for this power mode?
28 FF 40 06 07 0F 0F DA

This is the RUN (on) key position and the "RUN" power mode for my 2002 TrailBlazer 4.2L.

It occurs before and after engine start.


On my truck, the power mode sequence looks like this:


My 2005 Yukon SLT with 5.3 LM7 looks like yours I think. I don't remember if I have studied the Yukons Power Moding.



Here is a link to some documentation of what the BCM uses to assess power mode.

 

TJBaker57

Lifetime VIP Donor
Member
Aug 16, 2015
3,366
Colorado
@endjuser

I just scanned logfiles and found my Yukon pretty much is the same sequence as your Suburban.

I did catch an entry not seen in your listing..

28 FF 40 06 07 03 0B D9 seen between others.

Screenshot_20250219-202123_aGrep.jpg
 

endjuser

Member
Jul 7, 2020
6
PA
@TJBaker57

Thank you. I checked a few other logs from the Suburban and noticed the same 07 03 sequence that was missing from my scan yesterday. I've updated my previous post to include that, as well as the related BCM inputs, in case anyone else is looking to decode.

Off-topic, do you happen to know the decoding for either of these messages:

88 09 10 22 XX (theoretically engine torque, but I don't know the conversion formula)
88 25 29 07 XX (something to do with wheels from the ABS/TCS, but not wheel speed)
 
Last edited:

endjuser

Member
Jul 7, 2020
6
PA
@NickInMN

Attached is a sample log exported from my own VPW decoding project. It's supposed to be a .csv file, but had to rename it to .txt for uploading to the forum.

I haven't figured out how to decode all of the messages yet, so take the "Value" details with a grain of salt for anything that lists the information source as "Observed"

Hope this helps!
 

Attachments

  • endjuser-2004-suburban-example.csv.txt
    2.9 MB · Views: 2
Last edited:

TJBaker57

Lifetime VIP Donor
Member
Aug 16, 2015
3,366
Colorado
88 09 10 22 XX (theoretically engine torque, but I don't know the conversion formula)


Units are Newton Meters and resolution is 1 bit = 4 NM.


88 25 29 07 XX (something to do with wheels from the ABS/TCS, but not wheel speed)


I have watched this one also but have not figured out what it is.


I haven't figured out how to decode all of the messages yet, so take the "Value" details with a grain of salt for anything that lists the information source as "Observed"


I have spreadsheets that break out some of these unknowns so I can see how they behave. I haven't looked at your upload yet.
 

endjuser

Member
Jul 7, 2020
6
PA
Units are Newton Meters and resolution is 1 bit = 4 NM.

Thank you.

On my Suburban, a conversion of (a * 4) seems a bit high for a 5.3L.
Using (a * 3) matches up to the curve I found here:
https://www.automobile-catalog.com/...uburban_lt_12-ton_4x4_5_3l_v-8.html#gsc.tab=0

torque-plot.png

I've noticed some other messages like that where GM is using a different secondary address for functional messages already defined in J2178 but they decided to use a different scale (e.g. UNM-08-131)
 
Last edited:

TJBaker57

Lifetime VIP Donor
Member
Aug 16, 2015
3,366
Colorado
Thank you.

On my Suburban, a conversion of (a * 4) seems a bit high for a 5.3L.
Using (a * 3) matches up to the curve I found here:
https://www.automobile-catalog.com/...uburban_lt_12-ton_4x4_5_3l_v-8.html#gsc.tab=0

View attachment 116285

I've noticed some other messages like that where GM is using a different secondary address for functional messages already defined in J2178 but they decided to use a different scale (e.g. UNM-08-131)


My go-to test would be to record what Tech-2 displays vs the class 2 message for these sorts of things.

Usually I pretty much defer to the Tech-2 output regardless of what I think it should be.

Some time ago I evaluated a PID, $19FC and came up with a multiplier of about 2.7. That's close to the 3.0 you have there. This was on a P10 PCM though.

In looking at it again I see I misread the message you had posted. I looked too quickly and got the source address as the secondary address. So I then grabbed the wrong data from J2178.
 
Last edited:

Forum Statistics

Threads
23,781
Posts
643,343
Members
19,450
Latest member
amw3000

Members Online