Previous in Forum: Transfer Hard Drive Image   Next in Forum: TEEVEE miserEE
Close
Close
Close
16 comments
Rate Comments: Nested
Active Contributor

Join Date: Jan 2011
Location: Montreal, QC
Posts: 24

Problem With ECU Communication

08/17/2011 7:29 AM

Hello everybody,

We are a racing team and we are having problem talking to our ECU. Signal from computer is received but nothing is sent back (this has been checked with RS232 sniffer). All wiring has been double checked. RS232 port is working. We can't work on the problem. Does any of you experienced guys would know what our problem could be? I have no more details right now since I'm asking this question for one of my collegue. May be this is enough for you to give us ideas. More details to come next...

Thanks, have a good day!

Cheers.

__________________
PatNV
Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru

Join Date: Sep 2009
Posts: 1056
Good Answers: 88
#1

Re: Problem with ECU communication

08/17/2011 7:58 AM

For starters, in RS232 (serial) communication you must make sure both sides use compatible config modes (i.e. speed, data bits, stop bits, parity, flow control, etc.) If those are OK, possibly you have a cable or hardware problem. Also make sure your terminal is configured to echo both your input and response on screen, to make sure data is actually sent. You can't expect response to zero data. And something else. Are you using USB to serial adaptor? If yes, did this adaptor established any communication with ECU in the past? S.M.

__________________
Life is complex. It has a real part and an imaginary part.
Register to Reply
Guru
Hobbies - DIY Welding - Don't Know What Made The Old Title Attractive... Popular Science - Weaponology - New Member United States - US - Statue of Liberty - 60 Year Member

Join Date: Apr 2009
Location: Yellowstone Valley, in Big Sky Country
Posts: 7425
Good Answers: 295
#2

Re: Problem With ECU Communication

08/17/2011 8:38 AM

Did it work and then quit? If yes, what changed?

__________________
Semper Ubi Sub Ubi
Register to Reply
Guru
Popular Science - Evolution - New Member Popular Science - Weaponology - New Member

Join Date: May 2006
Location: The 'Space Coast', USA
Posts: 11119
Good Answers: 918
#3

Re: Problem With ECU Communication

08/17/2011 12:42 PM

Yeah, I am thinking the same thing that SimpleMind is.

I am assuming that you are monitoring the RS232 lines and see data sent to the ECU, but no return data.

The first thing that comes to mind is incorrect baud rate to the ECU or incorrect data protocol/format to the ECU. The ECU does not know you are trying to talk to it.

My recommendation is to check the specification for the ECU's serial data port and make sure that your transmission parameters are correct.

You may also want to contact the ECU manufacture and ask their technical support line. They are the experts.

Register to Reply
Active Contributor

Join Date: Jan 2011
Location: Montreal, QC
Posts: 24
#4
In reply to #3

Re: Problem With ECU Communication

08/17/2011 1:50 PM

Ofc we tried contacting the manufacturer, but it don't specialize in ECUs anymore and those products have been bought by another company. We are trying to get the needed info contacting them but it might be a little long or complicated.

We'll try it with an older computer with which everything was working. I guess if it works with this one, the problem might be about incorrect data protocol sent to the ECU.

Until we try that, feel free to express other ideas regarding our issue - it may help us finding more problems that may be hidden in our actual setup.

Thanks

__________________
PatNV
Register to Reply
Guru
Popular Science - Evolution - New Member Popular Science - Weaponology - New Member

Join Date: May 2006
Location: The 'Space Coast', USA
Posts: 11119
Good Answers: 918
#5
In reply to #4

Re: Problem With ECU Communication

08/17/2011 4:03 PM

If you have a machine that works, simply "sniff" that data and get the protocol. Then compare that with the machine that does not work for clues.

However, before you do that, confirm the serial port settings for the working machine and see if the non-working machine is set up the same.'

Of course, the problem could be that the host software does not run on your non-working machine due to an out of date driver software or something.

Register to Reply
Commentator

Join Date: Aug 2009
Location: Carrollton, TX.
Posts: 78
Good Answers: 6
#6

Re: Problem With ECU Communication

08/17/2011 4:58 PM

The problem may also be a 'virtual' 232 port in the newer OS. In the 'old days', the com ports were handled by the BIOS at fixed address locations (0x3F8 for COM1 if I remember correctly). I remember upgrading to a newer OS and the address port was no longer handled by the BIOS, but rather the OS, and it had given it a 'virtual' address that the older DOS software couldn't recognize. As stated earlier, the data speed, parity, and stop bit settings need to be confirmed. Check the internal BIOS for com port being enabled as well, it can also be seen in the Device Manager (assuming Windows OS here) configuration screen.

__________________
MRH - "The search for truth is more precious than its possession." Albert Einstein
Register to Reply
Guru
Popular Science - Weaponology - New Member Fans of Old Computers - PDP 11 - New Member Technical Fields - Architecture - New Member Hobbies - HAM Radio - New Member

Join Date: Oct 2009
Location: Maine, USA
Posts: 2168
Good Answers: 71
#7
In reply to #6

Re: Problem With ECU Communication

08/18/2011 7:28 AM

ahhhh...brings back fond memories of RISC processing.

__________________
Tom - "Hoping my ship will come in before the dock rots!"
Register to Reply
Participant

Join Date: Aug 2011
Posts: 3
#8
In reply to #7

Re: Problem With ECU Communication

08/18/2011 10:20 AM

Hi everyone,

I'm currently working with the OP about the ECU problem. To answer some questions, I verified my settings for the rs232 protocol (BaudRate: 19200, Stop bits: 1, flow control: none, data bits: 8, parity: none) Which is what we've been using the communicate with our ECU and used to always work.

Also, I verified my cables many times and I even have two

I tried what Anonymous Hero said about the request sent to the ECU, I used a rs232 sniffer and the software sends the right request but it doesn't read anything in return. By the way, we had the find the request by ourself because the company didn't want to give to us when we bought it. So the request that we know is the request that is sent to the ECU.

For the rest we didn't change anything except plug 2 new wires for our driver interface.

Other than that I'm stuck if any other idea let me kno

thks, seb_cc

Register to Reply
Guru

Join Date: Sep 2009
Posts: 1056
Good Answers: 88
#9
In reply to #8

Re: Problem With ECU Communication

08/18/2011 10:58 AM

...verified my cables many times and I even have two... two what? Have you tested these wires with another bi-directional serial device? (There are one-way variants and you can't tell the difference unless you test pin by pin.)

OK. Connect like this on computer side to test with hyper terminal or something equivalent if you have immediate echo back. (you must be able to see each character twice)

And there is another possible issue if ECU serial cirquit is really old, and you use USB to RS232 converter or a laptop serial etc. The problem is it's pulse voltage will be too low ~ 7-8V and old interfaces will not 'hear' anything below 10-11V. Try with an older motherboard with build-in serial (they will rock up to 15V) and W98SE (if you can find one) that needs no drivers and OS does not interfere with hardware all the time. S.M.

__________________
Life is complex. It has a real part and an imaginary part.
Register to Reply
Guru

Join Date: Aug 2005
Location: Hemel Hempstead, UK
Posts: 5826
Good Answers: 322
#10
In reply to #8

Re: Problem With ECU Communication

08/18/2011 11:00 AM

Earlier RS232 signals were much higher voltage than more recent ones. Maybe the signal going into the ECU is not big enough.

Can you borrow an oscilloscope?

__________________
If you spend all your time looking for people and things to complain about: trust me, you will find plenty to complain about.
Register to Reply
Guru
Popular Science - Evolution - New Member Popular Science - Weaponology - New Member

Join Date: May 2006
Location: The 'Space Coast', USA
Posts: 11119
Good Answers: 918
#11
In reply to #8

Re: Problem With ECU Communication

08/18/2011 11:04 AM

Time to reverse gears.

Try going back to the exact same physical/software configuration that you had when it worked.

Once you get that working, again, then start adding the changes you made - one by one - until it breaks again.

That will isolate the problem to the offending change. At that point you should be able to figure out why.

Register to Reply
Participant

Join Date: Aug 2011
Posts: 3
#12
In reply to #11

Re: Problem With ECU Communication

08/18/2011 12:15 PM

What I meant about the two different is: I have two different cables to connect with my ECU. I made sure to test the cables with a multimeter to make sure there is no inteference between pins.

Also, I'm not using an USB-Serial converter. On the laptop, there is an DB9 RS232 plug at the back which I'm using. I tried doing the echo on hyperterminal and it was a success (it displayed twice the character that I entered).

After all this, I couldn't find the problem so I decided to do what Anonymous Hero said which is go back to my original setup and I still couldn't communicate with it.

Register to Reply
Anonymous Poster #1
#13
In reply to #12

Re: Problem With ECU Communication

08/18/2011 12:27 PM

Who said anything about interference between pins? Test one by one the pins if they are all connected in the other side, or make the pictured connection in my last post on cable end on computer side. Not at computer output. That's basic serial cable troubleshooting. And I specifically said about voltage level of laptop serial. Of course one can't push info into another's head can he? S.M.

Register to Reply
Guru
Popular Science - Evolution - New Member Popular Science - Weaponology - New Member

Join Date: May 2006
Location: The 'Space Coast', USA
Posts: 11119
Good Answers: 918
#14
In reply to #12

Re: Problem With ECU Communication

08/18/2011 12:31 PM

So, ask yourself what do you think changed?

Once you have rechecked and eliminated all else, the most likely problem would be the ECU itself. Perhaps a hardware problem in or on the ECU board.

Register to Reply
Participant

Join Date: Aug 2011
Posts: 3
#15
In reply to #14

Re: Problem With ECU Communication

08/18/2011 1:14 PM

I might have express myself in a wrong way but ya I meant check pin by pin.

I'll try and get an oscilloscope for now and see what it gets me.

Thanks for your advice. Seb_cc

Register to Reply
Member

Join Date: Aug 2011
Posts: 8
#16

Re: Problem With ECU Communication

08/18/2011 4:54 PM

Check the baud rate (1200? 9600? Etc.) and bit string (8N1? 7N2)? Check for need for cross-over cable to interchange the Tx and Rx lines.

Regards/J

Register to Reply
Register to Reply 16 comments
Copy to Clipboard

Users who posted comments:

Anonymous Hero (4); Anonymous Poster (1); Doorman (1); Jim Potter (1); MRH620 (1); PatNV (1); Randall (1); seb_cc (3); SimpleMind (2); Tom_Consulting (1)

Previous in Forum: Transfer Hard Drive Image   Next in Forum: TEEVEE miserEE

Advertisement