Notices
Drivetrain Gearbox, Diffs & Driveshafts etc

ECU reader baud rate

Thread Tools
 
Search this Thread
 
Old 24 May 2002, 10:24 PM
  #1  
dnb
Scooby Regular
Thread Starter
 
dnb's Avatar
 
Join Date: Feb 2002
Location: oustide the asylum?
Posts: 3,306
Likes: 0
Received 0 Likes on 0 Posts
Post

I'm told that the baud rate of the ECU select monitor connector is very non standard. (1953 bps or something similar).

Can anyone confirm/deny this, as I want to use my laptop to view the ECU data and it only has a standard serial port.

Any ideas for simple baud rate converters - would prefer not to go to a PIC solution. I would like to have a laptop connector for data logging...

(I have seen a couple of web references and the ECU monitor thread)
Old 24 May 2002, 11:07 PM
  #2  
dnb
Scooby Regular
Thread Starter
 
dnb's Avatar
 
Join Date: Feb 2002
Location: oustide the asylum?
Posts: 3,306
Likes: 0
Received 0 Likes on 0 Posts
Post

Just found out that my Psion 5 can recieive with a baud rate of 2000 bps. Maybe this will be close enough to the ECU.

Have to code an OPL hex reader now

All ideas / comments welcome!
Old 27 May 2002, 05:42 PM
  #3  
Stephen Cole
Scooby Regular
 
Stephen Cole's Avatar
 
Join Date: Mar 1999
Location: Berks/Hants
Posts: 189
Likes: 0
Received 4 Likes on 1 Post
Post

Depends what MY you have

The early ones uses a wierd rate and plug
http://www.keisei.tsukuba.ac.jp/~kashima/gc8-e.html

The later ones MY99 ? onwards
use a standard OBDII connector and rate
(can't remember the details, but Stephen Done is the expert)
http://www.ecutek.com/
http://www.steve.ukmail.org/car/



Old 27 May 2002, 05:56 PM
  #4  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Post

Dnb,

What year is your car??

David
Old 28 May 2002, 08:52 AM
  #5  
dnb
Scooby Regular
Thread Starter
 
dnb's Avatar
 
Join Date: Feb 2002
Location: oustide the asylum?
Posts: 3,306
Likes: 0
Received 0 Likes on 0 Posts
Smile

Let's take this bttt...

It's a UK 96. Think the baud rate should be approx 2000 bps (19xx, more likely). Unfortunately I don't yet have anything to rx at that rate.

Thanks everyone!
Old 28 May 2002, 09:07 AM
  #6  
Chris.Palmer
Scooby Regular
 
Chris.Palmer's Avatar
 
Join Date: Dec 2001
Posts: 835
Likes: 0
Received 0 Likes on 0 Posts
Thumbs up

In which case may I wish you all the best. Owners of the older models desperately need a decent ECU reader.

Please keep us all posted with your progress.

Cheers m8.

PS - as mentioned above (& if you haven't already) - check out this web site - loads of very useful info on earlier ECUs http://lillith.sk.tsukuba.ac.jp/~kas...r/index-e.html


[Edited by Chris.Palmer - 28/05/2002 09:12:01]
Old 28 May 2002, 09:46 AM
  #7  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Post

Let me know how you get on, or if I can do anything to help... what we could do with is a decent translation of the above site.

David
Old 28 May 2002, 10:29 AM
  #8  
AndrewC
Scooby Regular
 
AndrewC's Avatar
 
Join Date: Jul 2000
Location: Lancashire
Posts: 2,209
Likes: 0
Received 0 Likes on 0 Posts
Post


The bitrate for communition via the select monitor port is 1953bps or 4Mhz/2048, deviation from this rate will lead to data loss.

It is not as simple as saying pre-MY99 use a propriatory protocol and MY99 on use OBD2, AFAIK all MYs can comminucate using the propriatory protocol (which is a lot faster than OBD) although the addresses to read are different from MY to MY. For instance my MY98 can has both the dash mounted OBD connector and the older style Subaru connector and can have both types of select monitor connected?

From what I know (not a lot), whilst the information on the above site is correct wrt the communication protocol, the memory addresses are only correct for the STI V2.

I have a simple AVR circuit and code which allows me to read portions of memory and write them out on RS232 but I am awaiting our friend in Estonia to release details of the important addresses for the MY97/98 ECU.
Old 28 May 2002, 10:42 AM
  #9  
dnb
Scooby Regular
Thread Starter
 
dnb's Avatar
 
Join Date: Feb 2002
Location: oustide the asylum?
Posts: 3,306
Likes: 0
Received 0 Likes on 0 Posts
Post

Thanks for the bit rate. Am thinking of making a pic or cpld based thing to read the awkward baud rate and output it at something more sensible (rs232c @ 9600 bps probably)...

However, if there is something i can easily buy to do the job (ie cheap!!) then that would be better. I'm not bothered about soldering etc...

Once data can be collected on a computer, there is a chance of getting things cracked.
Old 28 May 2002, 11:38 AM
  #10  
AndrewC
Scooby Regular
 
AndrewC's Avatar
 
Join Date: Jul 2000
Location: Lancashire
Posts: 2,209
Likes: 0
Received 0 Likes on 0 Posts
Post

That's pretty much what I am doing, I use a 4Mhz AVR90S2313 with the hardware UART connected to a MAX232 at 9600 and a software UART (programmed using Bascom-AVR) to talk to the ECU at 1953.125bps.

Unfortunately at the moment I haven't got the time to spend hours debugging the ECU code so I am relying on Illimar to deliver the necessary info.

Andrew...
Old 28 May 2002, 05:20 PM
  #11  
Stephen Cole
Scooby Regular
 
Stephen Cole's Avatar
 
Join Date: Mar 1999
Location: Berks/Hants
Posts: 189
Likes: 0
Received 4 Likes on 1 Post
Post

Andrew

Please keep us all updated on how you get on

We older MY owners need something we can use

Stephen
MY94 WRX 5-door
Old 28 May 2002, 08:59 PM
  #12  
Chris.Palmer
Scooby Regular
 
Chris.Palmer's Avatar
 
Join Date: Dec 2001
Posts: 835
Likes: 0
Received 0 Likes on 0 Posts
Question

Andrew,

Illimar?

ps isn't the My97-My98 ECU different to the pre My97?

pps cheap excuse to btt again coz its important



[Edited by Chris.Palmer - 5/28/2002 9:01:54 PM]
Old 29 May 2002, 08:44 AM
  #13  
dnb
Scooby Regular
Thread Starter
 
dnb's Avatar
 
Join Date: Feb 2002
Location: oustide the asylum?
Posts: 3,306
Likes: 0
Received 0 Likes on 0 Posts
Post

Andrew,
Father in law has just asked me to help him implement a control system for some yacht equipment (microcontroller based & a long story...)

Have suggested to him that Atmel's offerings could be suitable, and he has agreed, so I should soon have the hardware.

Can I steal your UART code to test my ECU when I get my programmer system up and running? It will save me time, as I will be implementing F.I.L's control system in the evenings as well...
(Probably won't have full Bascom-AVR at the start...)

Thanks.
Old 29 May 2002, 09:11 PM
  #14  
Chris.Palmer
Scooby Regular
 
Chris.Palmer's Avatar
 
Join Date: Dec 2001
Posts: 835
Likes: 0
Received 0 Likes on 0 Posts
Thumbs up

Posted question in General for Japanese Translation
Old 29 May 2002, 09:31 PM
  #15  
Chris.Palmer
Scooby Regular
 
Chris.Palmer's Avatar
 
Join Date: Dec 2001
Posts: 835
Likes: 0
Received 0 Likes on 0 Posts
Thumbs up

Babel Fish http://babelfish.altavista.com seems to provide a simple but literal translation from Japanese to English of http://www.keisei.tsukuba.ac.jp/~kashima/gc8-e.html


Will have a closer look tomorrow & see if it helps

Regards,

Chris


[Edited by Chris.Palmer - 5/29/2002 9:33:33 PM]
Old 29 May 2002, 10:20 PM
  #16  
dnb
Scooby Regular
Thread Starter
 
dnb's Avatar
 
Join Date: Feb 2002
Location: oustide the asylum?
Posts: 3,306
Likes: 0
Received 0 Likes on 0 Posts
Post

Had a look at the japanese translation...

As for the communication format it seems that also ASCII mode exists other than binary mode of default.
As for transmission speed at at the time of ASCII mode phi /832 (the 4,808.9bps)....
ASCII mode is very useful, and a baud rate of 4800 (approx) is OK for direct connection to a standard laptop. Just need to know how to put the car in ASCII mode...
Old 30 May 2002, 08:41 AM
  #17  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Post

that link doesnt work for me... everybody seems to be able to find more info on this site than me.

David
Old 30 May 2002, 08:53 AM
  #18  
Chris.Palmer
Scooby Regular
 
Chris.Palmer's Avatar
 
Join Date: Dec 2001
Posts: 835
Likes: 0
Received 0 Likes on 0 Posts
Lightbulb

For some unknown reason this direct link http://www.keisei.tsukuba.ac.jp/~kashima/gc8-e.html doesn't appear to work,however, if you use Babel fish to go to http://lillith.sk.tsukuba.ac.jp/~kas...r/index-e.html

Then click on the "Subaru ECU" you can get to the page.

Cheers m8


Old 30 May 2002, 09:33 PM
  #19  
dnb
Scooby Regular
Thread Starter
 
dnb's Avatar
 
Join Date: Feb 2002
Location: oustide the asylum?
Posts: 3,306
Likes: 0
Received 0 Likes on 0 Posts
Post

Don't want this to disappear that fast. Has anyone made any sense of the Japanese translation - especially the ASCII mode talked about?
Old 31 May 2002, 08:51 AM
  #20  
Chris.Palmer
Scooby Regular
 
Chris.Palmer's Avatar
 
Join Date: Dec 2001
Posts: 835
Likes: 0
Received 0 Likes on 0 Posts
Lightbulb

I'll email the site owner & politely request assistance.
Old 31 May 2002, 01:28 PM
  #21  
James_PowerMad
Scooby Regular
 
James_PowerMad's Avatar
 
Join Date: Dec 2001
Posts: 89
Likes: 0
Received 0 Likes on 0 Posts
Post


There is really quite a bit of margin if you want to communicate with the ECU at 2000 bps.

You send asynchronous serial data, with 1 start bit, 8 data bits, and 1 stop bit. Each of these bits last 51.2 ms (for 1953 bps), or 50 ms (for 2000 bps).

A serial port receiver should work by looking out for the leading edge of a start bit, and then waiting 1.5 bit lengths and sampling the first data bit (bang in the middle of where it expects the bit to be), then delaying by 1 bit length and sampling the second bit.......

If by the time of the stop bit, the sample point is still comfortably inside of the transmitted bit, then the data will be received OK.

With our two bitrates, the error per bit length is 1.2 ms, which we multiply by 9.5 = 11.4 ms, which is comfortably less than 25 ms, which is the amount that we would have to stray by to loose sync with the transmitter.

Providing each byte of data is sent with a few tens of miliseconds apart, then the receiver should get the data.

Old 31 May 2002, 03:44 PM
  #22  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Post

bttt
Old 05 June 2002, 08:53 AM
  #23  
Chris.Palmer
Scooby Regular
 
Chris.Palmer's Avatar
 
Join Date: Dec 2001
Posts: 835
Likes: 0
Received 0 Likes on 0 Posts
Thumbs up

Ditto
Old 07 June 2002, 05:30 PM
  #24  
Chris.Palmer
Scooby Regular
 
Chris.Palmer's Avatar
 
Join Date: Dec 2001
Posts: 835
Likes: 0
Received 0 Likes on 0 Posts
Post

Just to let you know (& to boing) I've Emailed a few peeps about the site hoping to get more info on ASCII mode.

Will keep ya posted
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
T.K
General Technical
10
02 October 2015 11:35 AM
Ganz1983
Subaru
5
02 October 2015 09:22 AM
InTurbo
ScoobyNet General
21
30 September 2015 08:59 PM



Quick Reply: ECU reader baud rate



All times are GMT +1. The time now is 10:36 PM.