Gm bcm and cluster can bus messages through eml327 script
-
- 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
Gm bcm and cluster can bus messages through eml327 script
I need help sending gm can commands
I have several things mapped out just need a way to send commands
I have a python script that works well for vpw
But trying to convert it to can not going so well
I think the error is in the at commands I don’t think I’m setting up either the header or rx /tx response filter correctly.
I’m using com port through elm327 I set to protocol 6 for can np
And if I send 00 00 7e0 plus 1A 90 it should send the vin
But when I print the response I get data na?
If I send can clutch learn command I can learn the clutch but I’m
Not seeing any response messages!
How to print the gosh darn response messages lol
I have several things mapped out just need a way to send commands
I have a python script that works well for vpw
But trying to convert it to can not going so well
I think the error is in the at commands I don’t think I’m setting up either the header or rx /tx response filter correctly.
I’m using com port through elm327 I set to protocol 6 for can np
And if I send 00 00 7e0 plus 1A 90 it should send the vin
But when I print the response I get data na?
If I send can clutch learn command I can learn the clutch but I’m
Not seeing any response messages!
How to print the gosh darn response messages lol
Re: Gm bcm and cluster can bus messages through eml327 scrip
This is all I use ...
Then just send 1a90.AT Z
AT E1
AT L1
AT S0
AT AL
AT SP6
AT DP
. . ISO 15765-4 (CAN 11/500)
AT AR
AT AT0
AT H1
AT ST FF
Intelligence is in the details!
It is easier not to learn bad habits, then it is to break them!
If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
It is easier not to learn bad habits, then it is to break them!
If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
- Gatecrasher
- Posts: 272
- Joined: Sat Apr 25, 2020 6:09 am
Re: Gm bcm and cluster can bus messages through eml327 scrip
This is what I use to set up my OBDLink MX for single wire operation. It's based on a STN1151 chip. A legit ELM327 should be similar.
ATL1
ATE1
STP 63 (SW CAN (ISO 15765, 11-bit Tx, 33.3kbps, DLC=8))
ATSH 00 02 4C
ATCRA 00 00 06 4C
Dual wire CAN would be STP 33 (HS CAN (ISO 15765, 11-bit Tx, 500kbps, DLC=8))
I don't know what the ELM protocol equivalents would be.
ATL1
ATE1
STP 63 (SW CAN (ISO 15765, 11-bit Tx, 33.3kbps, DLC=8))
ATSH 00 02 4C
ATCRA 00 00 06 4C
Dual wire CAN would be STP 33 (HS CAN (ISO 15765, 11-bit Tx, 500kbps, DLC=8))
I don't know what the ELM protocol equivalents would be.
-
- 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: Gm bcm and cluster can bus messages through eml327 scrip
Elm is exactly the same will give this a try tomorrow
ATCRA 00 00 06 4C
Thats like the missing link
ATCRA 00 00 06 4C
Thats like the missing link
- antus
- Site Admin
- Posts: 8252
- 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: Gm bcm and cluster can bus messages through eml327 scrip
ELM is a hard one, there are probably no legit elms in the wild. But there are many versions, clones of different firmwares, different hacks, different bugs, different configurations, entirely different 'compatible' codebases with minor differences or some commands not implemented and different hardware both MCU, and on board outside of the ELM327 chip. What works on one ELM327 wont work another. You can definitely try what works for someone else but no guarantees. This is why they are not a good option for playing with this stuff, even if they are cheap and plentiful. If you want to spend time problem solving and save a few bucks, they can be OK.
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
Re: Gm bcm and cluster can bus messages through eml327 scrip
Hiya antus and all,
is there a database of elm commands? I'm sure there is but I have been too lazy to look I like my little red usb cable for generic stuff. I've never logged much with it. If anyone has it or most of it handy, I'd like to look at it and the definitions. Thank You
is there a database of elm commands? I'm sure there is but I have been too lazy to look I like my little red usb cable for generic stuff. I've never logged much with it. If anyone has it or most of it handy, I'd like to look at it and the definitions. Thank You
Re: Gm bcm and cluster can bus messages through eml327 scrip
Or if you want the latest full manualIntelligence is in the details!
It is easier not to learn bad habits, then it is to break them!
If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
It is easier not to learn bad habits, then it is to break them!
If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
-
- 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: Gm bcm and cluster can bus messages through eml327 scrip
Thanks:) no matter what I try this is the out come always says rNO DATA
('The cable model and version is', 'AT Z \r\r\rELM327 v1.5\r\r>')
('The repsonse from AT DP is', 'AT E1 \rOK\r\r>L1 \r?\r\r>S0 \r?\r\r>AL \r?\r\r>SP 6 \r?\r\r>DP \r?\r\r>')
('AT AT0', 'AT AR \rOK\r\r>AT AT0 \rOK\r\r>')
('The repsonse from AT CRA 00 00 06 41 is', 'AT H1\rOK\r\r>FC SH 00 00 01 01 FE 01 3E 00 00 00 00 00 \r?\r\r> FC SH 00 02 41 \r?\r\r>CRA 00 00 06 41 \r?\r\r>')
('The repsonse from 1A 90 is', '1A 90 \rNO DATA\r\r>')
('The repsonse from 1A 90 is', 'AT CRA 00 00 02 41 \rOK\r\r>90 \rNO DATA\r\r>')
>>>
('The cable model and version is', 'AT Z \r\r\rELM327 v1.5\r\r>')
('The repsonse from AT DP is', 'AT E1 \rOK\r\r>L1 \r?\r\r>S0 \r?\r\r>AL \r?\r\r>SP 6 \r?\r\r>DP \r?\r\r>')
('AT AT0', 'AT AR \rOK\r\r>AT AT0 \rOK\r\r>')
('The repsonse from AT CRA 00 00 06 41 is', 'AT H1\rOK\r\r>FC SH 00 00 01 01 FE 01 3E 00 00 00 00 00 \r?\r\r> FC SH 00 02 41 \r?\r\r>CRA 00 00 06 41 \r?\r\r>')
('The repsonse from 1A 90 is', '1A 90 \rNO DATA\r\r>')
('The repsonse from 1A 90 is', 'AT CRA 00 00 02 41 \rOK\r\r>90 \rNO DATA\r\r>')
>>>
Re: Gm bcm and cluster can bus messages through eml327 scrip
If you break that down to it's individual elements you will see that there are multiple incorrect AT commands , they have no preceding AT, that is incorrect, each AT command must be proceeded with AT else it will be interpreted as an OBD message.
IMO you should be testing with something like PuTTY that is simple and clear.
Once you figure out the command sequence then use that to create/modify a script.
Just my opinion ... Take it or leave it as you will!
-Enjoy
IMO you should be testing with something like PuTTY that is simple and clear.
Once you figure out the command sequence then use that to create/modify a script.
Just my opinion ... Take it or leave it as you will!
-Enjoy
Intelligence is in the details!
It is easier not to learn bad habits, then it is to break them!
If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
It is easier not to learn bad habits, then it is to break them!
If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
-
- 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: Gm bcm and cluster can bus messages through eml327 scrip
The below settings worked for me but won't receive or send long enough messages the response is cut off? And python is not working correctly with these commands it doesn't print correctly.
example request for vin is cut off
>1A 90
7E810135A9031474350
msg should be much longer
putty
session settings:
Serial com4
speed 38400
Terminal :
deselect auto warap
select both implicit CR fields
open
type commands bellow
AT Z
AT E1
AT L1
AT S0
AT AL
AT SP6
AT DP
AT AR
AT AT0
AT H1
AT SH 00 07 E0
AT CRA 00 00 07 E8
27 01
example request for vin is cut off
>1A 90
7E810135A9031474350
msg should be much longer
putty
session settings:
Serial com4
speed 38400
Terminal :
deselect auto warap
select both implicit CR fields
open
type commands bellow
AT Z
AT E1
AT L1
AT S0
AT AL
AT SP6
AT DP
AT AR
AT AT0
AT H1
AT SH 00 07 E0
AT CRA 00 00 07 E8
27 01