mag2bits
12-12-2010, 09:48 AM
I want to become one of you (but it looks like a long road ahead)
(Maybe should have posted in tech-torque, but some of this is vehicle specific)
Overview (bit of a long post)
After 20 years scooting about in a 1st gen Magna, I've finally upgraded to a KJ Verada Xi, which
I love. But what I don't like is that because I've moved from a car that I could happily maintain and repair myself, with one simple ECU, to one with a number of more complex ECUs, I may find myself forced in the future to go to a dealer and/or an auto electrician.
This bugs me, and because electronics and software are my living and long-time hobbies, I want to gain control of these aspects of my new car. What I'd like to acheive is:-
* Read DTCs myself
* Do whatever else dealers can do with a MUT-II
* Access dynamic data such as speed, RPM, etc.
* Access body electronics status (doors, windows, lights, etc)
* Control body electronics from a ECU of my own
I also intend to install a car computer, and interface it to the above functions.
Now I've done a lot of research into what might be done via the diagnostic connector, and while i've learned a lot, I've also beome overwhelmed and confused. And a lot of what I've read seems vague and imprecise. People talk about things like:-
* Using this or that scanning/logging/diagnostic/reprogramming software
* with this or that interface cable/device
* short out/ground this pin on the connector to read the codes
* OBD-II compliance
All this seems to go on with little reference or apparent concern about which particular car and which of the several interfaces is being used, as if it is all fairly interchangable. Surely there's a whole mess of compatibility issues going on here? The advice for selecting the right cables and software for any given car seems too vague to be sure that you'll buy something that will work for you. Then again, maybe I've just read so much that it's all just got blurred...
Ultimately, I want to build the interface electronics and write the software for it myself, but it would be unwise of me to not to take advantage of and learn from all the work others have already done in this area. So I should first start with some of the existing software and buy/build the appropriate cable/interface device for it.
To help with selecting these, and for my own understanding, I began by looking at the diagnostic connector.
Investigation
From the workshop manual cicruit diagrams, I made the following diagram for the KJ:-
http://img89.imageshack.us/img89/8481/veradaobdcconnector.jpg (http://img89.imageshack.us/i/veradaobdcconnector.jpg/)
It would appear that there are two major interafces to the ECUs, the ISO K-Line (ISO9141/ISO14230) and Single-Wire CAN (SWC), plus some possibly/probably proprietry interfaces for the AirCon and Cruise Control on the unstandardized pins.
(Starting from 2008, The CAN bus will replace the other interfaces and protocols, making all this
much more straightforward, but my car is stuck in the transition/bloody mess period...)
I have some "industrial strength" USB to CAN interface devices made by Softing in Germany, and some control software that came with them (from Warwick control technology), but these only use the standard 2 wire CAN bus. Possibly these can be made to talk to SWC, but I don't know about this yet.
The K-line can be interfaced with just a few resistors and a tranistor, and the protocol doesn't seem overly hard to implement. CAN bus on the other hand, is much more complex, especially the protocol, so as mentioned above, it would be good to start with existing interfaces and software.
My Questions (at last)
Are the two major ECU interfaces (SWC and K-Line) functionaly identical, or is each dedicated to a specific set of functions?
Which of these does the MUT conect to? Or does it use both?
Does the MUT also interface to the specialzed interfaces (for A/C and CC)?
Can anyone here tell me more about these other interfaces, and the protocols they use?
If anyone has a MUT, can they see which pins it uses on the diagnostic connector?
The 12 pin "ECU flash" connector next to the OBDC with just a single wire on pin 6 appears to be related to programming the engine ECU.
When and how is this connector used?
Is there any documentation on its interface and protocol?
Can anyone find it in the cicruit diagrams? (buggered if I can see it)
Can someone recommend a cable/interface device that is known to do useful things on 3rd gens and can be used by the Mitsulogger/EVOscan/Freediag/Whatever software? (cheap/free is of course better)
Do these things use both of the major interfaces?
On 3rd gens, is there a simple method of reading fault codes, morse code style with a voltmeter/LED/dash panel lamps. (I get the impression this is only for 1st and 2nd gens)
I apologize if any of these questions are dumb or have obvious answers - I am a little overwhelmed and confused by all I've seen so far.
Rob Storey
(Maybe should have posted in tech-torque, but some of this is vehicle specific)
Overview (bit of a long post)
After 20 years scooting about in a 1st gen Magna, I've finally upgraded to a KJ Verada Xi, which
I love. But what I don't like is that because I've moved from a car that I could happily maintain and repair myself, with one simple ECU, to one with a number of more complex ECUs, I may find myself forced in the future to go to a dealer and/or an auto electrician.
This bugs me, and because electronics and software are my living and long-time hobbies, I want to gain control of these aspects of my new car. What I'd like to acheive is:-
* Read DTCs myself
* Do whatever else dealers can do with a MUT-II
* Access dynamic data such as speed, RPM, etc.
* Access body electronics status (doors, windows, lights, etc)
* Control body electronics from a ECU of my own
I also intend to install a car computer, and interface it to the above functions.
Now I've done a lot of research into what might be done via the diagnostic connector, and while i've learned a lot, I've also beome overwhelmed and confused. And a lot of what I've read seems vague and imprecise. People talk about things like:-
* Using this or that scanning/logging/diagnostic/reprogramming software
* with this or that interface cable/device
* short out/ground this pin on the connector to read the codes
* OBD-II compliance
All this seems to go on with little reference or apparent concern about which particular car and which of the several interfaces is being used, as if it is all fairly interchangable. Surely there's a whole mess of compatibility issues going on here? The advice for selecting the right cables and software for any given car seems too vague to be sure that you'll buy something that will work for you. Then again, maybe I've just read so much that it's all just got blurred...
Ultimately, I want to build the interface electronics and write the software for it myself, but it would be unwise of me to not to take advantage of and learn from all the work others have already done in this area. So I should first start with some of the existing software and buy/build the appropriate cable/interface device for it.
To help with selecting these, and for my own understanding, I began by looking at the diagnostic connector.
Investigation
From the workshop manual cicruit diagrams, I made the following diagram for the KJ:-
http://img89.imageshack.us/img89/8481/veradaobdcconnector.jpg (http://img89.imageshack.us/i/veradaobdcconnector.jpg/)
It would appear that there are two major interafces to the ECUs, the ISO K-Line (ISO9141/ISO14230) and Single-Wire CAN (SWC), plus some possibly/probably proprietry interfaces for the AirCon and Cruise Control on the unstandardized pins.
(Starting from 2008, The CAN bus will replace the other interfaces and protocols, making all this
much more straightforward, but my car is stuck in the transition/bloody mess period...)
I have some "industrial strength" USB to CAN interface devices made by Softing in Germany, and some control software that came with them (from Warwick control technology), but these only use the standard 2 wire CAN bus. Possibly these can be made to talk to SWC, but I don't know about this yet.
The K-line can be interfaced with just a few resistors and a tranistor, and the protocol doesn't seem overly hard to implement. CAN bus on the other hand, is much more complex, especially the protocol, so as mentioned above, it would be good to start with existing interfaces and software.
My Questions (at last)
Are the two major ECU interfaces (SWC and K-Line) functionaly identical, or is each dedicated to a specific set of functions?
Which of these does the MUT conect to? Or does it use both?
Does the MUT also interface to the specialzed interfaces (for A/C and CC)?
Can anyone here tell me more about these other interfaces, and the protocols they use?
If anyone has a MUT, can they see which pins it uses on the diagnostic connector?
The 12 pin "ECU flash" connector next to the OBDC with just a single wire on pin 6 appears to be related to programming the engine ECU.
When and how is this connector used?
Is there any documentation on its interface and protocol?
Can anyone find it in the cicruit diagrams? (buggered if I can see it)
Can someone recommend a cable/interface device that is known to do useful things on 3rd gens and can be used by the Mitsulogger/EVOscan/Freediag/Whatever software? (cheap/free is of course better)
Do these things use both of the major interfaces?
On 3rd gens, is there a simple method of reading fault codes, morse code style with a voltmeter/LED/dash panel lamps. (I get the impression this is only for 1st and 2nd gens)
I apologize if any of these questions are dumb or have obvious answers - I am a little overwhelmed and confused by all I've seen so far.
Rob Storey