J1939 mode 2c dynamically define pid ?

General Tuning Questions And Discussions
Post Reply
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

J1939 mode 2c dynamically define pid ?

Post by 04colyZQ8 »

Is there such a thing as mode 2c like the j1979 mode to dynamically define pid, available for the j1939 can protocol?

If so does anyone have an example of how to define it?
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: J1939 mode 2c dynamically define pid ?

Post by 04colyZQ8 »

Should be possible with dm14 dm15 dm16 after unlock with seed key using dm18.
Idk what dm is? Or how to send
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: J1939 mode 2c dynamically define pid ?

Post by antus »

Does this post here help you? Mode 2C looks like dpids, and yes they exist for can as well, but they are not part of J1938 that I can see. Rather they are still one and the same mode 2C.

viewtopic.php?p=45804#p45804
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
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: J1939 mode 2c dynamically define pid ?

Post by 04colyZQ8 »

Yeah that would work for gm can. But I don’t think it wires for j1939
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: J1939 mode 2c dynamically define pid ?

Post by 04colyZQ8 »

I got it to spit out raw hex values from sending a request of direct Ram address.

However it won’t do it if the controller is being used like any inputs going in break the connection? Only seems to work at key on?
yoda69
Posts: 1215
Joined: Sun Mar 15, 2009 10:20 am
cars: 2004 VYII Acclaim Wagon V6 Auto LPG/Petrol
2004 VYII Berlina sedan V6 Auto
2005 VZ Monaro CV8 manual
Location: Geelong, VIC

Re: J1939 mode 2c dynamically define pid ?

Post by yoda69 »

J1939 is pretty clearly defined for many parameters on the CAN network, but there are some manufacturer specific items still available.
As much as J1939 is “defined” not all parameters/messages are available or supported by all manufacturers or required depending on the vehicle.
Typically you don’t need to request PIDs, just listen into the CAN and decode.
What exactly are you trying to do or messages are you looking for?
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: J1939 mode 2c dynamically define pid ?

Post by 04colyZQ8 »

yoda69 wrote: Thu Feb 08, 2024 6:24 pm J1939 is pretty clearly defined for many parameters on the CAN network, but there are some manufacturer specific items still available.
As much as J1939 is “defined” not all parameters/messages are available or supported by all manufacturers or required depending on the vehicle.
Typically you don’t need to request PIDs, just listen into the CAN and decode.
What exactly are you trying to do or messages are you looking for?
Exact memory location is needed, I am writing new code, which has been injected into the stock disassembled code. I am using many new ram addressees that have not been defined yet. However I did find a way to dump the entire ram, but it would be handy to watch some of the variables live. I have not found where the stock SPN and PGN messages are implemented, otherwise I could just add my own or highjack one that is close to what I need.
Post Reply