PassionFord      


Go Back   PassionFord > Main area > General Car Related Discussion.
Sign in using an external account
Register Forgot Password?

General Car Related Discussion. To discuss anything that is related to cars and automotive technology that doesnt naturally fit into another forum catagory.
Sponsored by Cartown
Click Here

Welcome to Passion Ford!
Welcome to Passion Ford.

You are currently viewing our forum as a guest, which gives you limited access to view most discussions and access our other features. By joining our community, at no cost, you will have access to start new topics, reply to conversations, privately message other members (PM), respond to polls, upload content and access many other special features. Registration is free, fast and simple, join Passion Ford today!


Reply
 
 
 
submit to reddit
 
Thread Tools Search this Thread Display Modes
Old 06-07-2009, 10:17 PM   #1
ECU Monitor Enthusiast
BANNED
BANNED
 
Trader Score: (1)
Join Date: Jul 2003
Location: Wiltshire
Posts: 12,501
Rep Power: 0
ECU Monitor Enthusiast will become famous soon enough
Default The L8/P8 serial protocol for encrypted chips UPDATED 08/07/2009

As some of you know I have done some serious research into the weber ecu's as found on cossies.
I have had many requests to divulge the following protocol information and to be fair to everyone, I have decided to make it public for all rather than give advantage to a few.

This article will detail fully the serial communications protocol as used on the L8 and P8 ecu's as found on encrypted chips such as p.tel and others that use the same protocol.
I will also publish later on, my PC software monitor and mapping examination tool along with all the source code. (as required by the site admin )
This article is highly technical so most reading it will not understand but then if that is the case, the information is useless to you ..lol !

I intend to update this artical over a short period of days as I would rather write it in sections so that discussion can commence straight away.
(Actually most of it is on scribbled notes and in my head so its easier for me to write it this way)

Many thanks for taking time to read. If you have any questions then feel free to ask !
This first post will contain these messages and the information itself aswell as any updates notices.
This way, all info is in one place leaving the rest of the thread for questions and/or comments. (and no doubt piss takers..LOL)

I will release the software a bit later on as I dont want to deflect away from this topic too soon.

I offer this information and software completely free of charge but give no warranty or guarantee for accuracy or suitablility for any given application.
Any information used from this article is totally at your own risk.

The protocol is mainly a read only protocol but you are able to affect the ignition and fuel global adjustments in real time so it is possible you could damage your engine if used and abused without careful application.

This information was gained totally by my own work and I offer it here on passionford for all to use as they see fit.
I would ask that if you do use this information in any way, please add a minor credit back to me just so I can feel good about wasting years of my life for nothing ..LOL
(This is only a request and not a condition)

Finally, I would like to thank Passionford admin for allowing this article to go ahead.


Cheers Simon



INDEX

SECTION 1: HOW TO CONNECT TO THE ECU
SECTION 2: COMMUNICATIONS BYTE FORMAT
SECTION 3: GENERAL NOTES
SECTION 4: COMMAND STRUCTURE
SECTION 5: SINGLE BYTE COMMAND DETAILS
SECTION 6: EPROM CHIP ADRESSES AND DATA DECODING OF IMPORTANT DATA
SECTION 7: ASSEMBLY LANGUAGE SOURCE CODE OF THE ECU COMMS ROUTINE (an example to show how the ecu does the comms)
SECTION 8: READING AND INTERPRETING FAULT FLAGS
SECTION 9: USING THE GLOBAL ADJUSTMENTS FEATURE
SECTION 10: RECOMENDED METHOD OF COMMANDS FOR INITIALISATION
SECTION 11: MY PC MONITOR/MAPPING SOFTWARE PROJECT


{more to come !}



NOTES AND ABREVIATIONS

TX = Transmit
RX = Receive

All values with $ prefix are hex values.


SECTION 1 - CONNECTION TO THE ECU

*** TO BE COMPLETED ***
I need to convert a drawing file to a .jpg file so that I can show how to build an interface.
(By the weekend hopefully)

Data is transmitted out of the ECU on pin 27 and data is received on pin 8.
The interface to the ECU is at 12 volts - You cannot directly connect a PC RS232 serial port otherwise you may damage your ECU.
You need a voltage translation circuit.
This consists of a few transistor, resistors and diodes.
The data idle state for both transmit and receive lines is 0 volts.
The ECU transmit output on pin 27 is an open collector NPN transistor interface and needs an external pull up resistor to 12 volts.
Similaly, the ECU receive input has an internal pull up resistor and needs to be driven by an external open collector NPN transistor.
This interface is unlike the Fiat versions of these ecu's..

The circuit design is critical as the ECU ground can change voltage in relation to the vehicle chassis.
If you are powering your laptop or monitor device from the car power, you may run into problems with data quality with other inferior designs !
(this is why the ignition amps have a seperate earth wire... )


SECTION 2 - COMMUNICATIONS BYTE FORMAT

The data format is standard asyncronous serial data.

This consists of a baud rate of 1953 baud (bits per second) which is actually the ECU CPU clock rate divided by 2048. !
This is why most USB to serial interfaces dont work as they only support standard rates like 9600 baud etc...
Some work very well and I will list out a recomendation for those who want to use my software later.
The baud rate can be switched up to a faster data rate by a byte change in the chip software but this isnt recomended
as the protocol can consume valuable processing time making the engine operation eratic or slow to update.

The data bit length is 8 bits (as opposed to 7)
The parity system used is NONE and finally, 2 stop bits are implemented.

So in summary, 1 data byte consists of a start bit, 8 data bits, 2 stop bits sent at a rate of 1953 bits per second.


SECTION 3 - GENERAL NOTES

When using this protocol, the best method is to use commands to read out the ECU configuration first before reading any sensor or fault data.
This is because various types of throttle sensor, MAP sensor, ECU type, boost control types etc can be used.
Differing configurations as listed above, change the scaling factors and in some cases the commands that can be used.

An ident string that the mapper can set is also available to display to identify the chip but most tuners dont bother changing it.

I will recomend a sequence of commands later on that works well for starting up.
Once you have done that, you can read live data as you please or modify global map adjustments.

The protocol is fairy dumb in that there is minimal error checking in some commands but no checking in most of them, this of course makes it easy to write code to do what we want.


It should be noted that tuners can elect to switch off access to the protocol even if the chip is able to provide it.
A single byte change in the chip is needed but you may need to consult your mapper to change it.
I will give the address out of this byte later but it is the true address in the ECU memory map not the encrpted chip which may be different.



SECTION 4 - COMMAND STRUCTURE

The ECU does not "stream" data contrary to popular belief.
The external equipment must send a request for data to which the ECU replies with data only once !

Some commands reply with data that can be out of date.
For example, when the engine stops, the data freezes at the last running values.
This is a design flaw in the ECU software but wont affect most people as it will only be noticable when you stall the engine ..!


Commands may be sent to the ECU in any order but you must NOT send a new command for at least 80 milliseconds after receiving the reply of the previous command.
If you do, you run the risk of stalling the engine as the CPU runs out of time to control the engine.

If during a command sequence or waiting for data to be sent you detect a problem or timeout error, send $FF 3 times with 100 milliseonds between the bytes then try again.
It is wise to do this the first time you go online after an ignition cycle.
This allows the protocol to be reset to a known state.

The commands fall into these catagories...


4.1 - SINGLE BYTE COMMAND

These commands are the easiest to use and only allow data to be read from the ECU.
A single byte is sent, and a single byte is returned from the ECU.

Example .... To read the live battery voltage

SEND TO ECU:..... $89
ECU REPLY:......... $C0

The reply byte is then scaled to represent the required value.

In this case $C0 = 192
192 * 0.0625 = 12.0 volts
(0.0625 is the scaling factor in this command)

The ecu usually replies within 10 to 50 milliseconds.
The complete list of these commands along with scaling information will be listed later on.

4.2 - READ RAM COMMAND (8 bit address code)

This command is shown here but its use is very limited due to thae fact only a single byte is used to provide the address of the memory.
The memory address has a fixed constant such as $1900 in the L8.
I personally have not needed to use this command as others provide easier methods to get the data.
The ram contents and use are mainly for internal ECU control and so they have no practical use for our intended requirements.
I have listed the command here for information only.
(Note: for those who dont know the RAM memory is NOT the chip data)

The command is sent as 2 bytes interlaced with a command echo and the data.
The whole transaction is 4 bytes in total.
The second byte that is sent to the ECU can be transmitted as soon as the ECU replies with the command echo $34.


SEND TO ECU:..... $04 (Fixed command value always the same)
ECU REPLY:......... $34 (Fixed reply value always the same)
SEND TO ECU:..... $12 (This is the required memory address)
ECU REPLY:......... $08 (This is the data from the address byte supplied)

Simple but effectively no use to us ! LOL

So in the L8 ECU, we are reading the data from address $1912 and that data is $08
NOTE: $1900 data is located in the 2 kilobyte RAM chip on the encryption board !


4.3 - READ MEMORY COMMAND (16 bit address code)

This command allows access to the full ECU memory map which includes the chip EPROM, RAM and I/O registers.
This command is very powerfull as in effect it could allow you to read out the entire chip contents bypassing all the encryption !!

However, Depending on the version and tuner, there maybe restrictions placed in the software that prevent certain areas being read out and in fact the command will return garbage data in these cases.
Tuners can not remove this command completeley as it is fundamental in the initialisation of any monitoring system that uses the this protocol.

This command structure is similar to the one above in that byes are interlaced.
There are 6 bytes total in the whole transaction.

SEND TO ECU:..... $03 (Fixed command value always the same)
ECU REPLY:......... $33 (Fixed reply value always the same)
SEND TO ECU:..... $F6 (This is the required memory address high byte)
ECU REPLY:......... $F6 (This is a echo of the above byte as a check)
SEND TO ECU:..... $08 (This is the required memory address low byte)
ECU REPLY:......... $45 (This is the data from the address byte supplied)

So the above example shows a request for data to be read from $F608 and the byte in that location is $45

I will list later on, the addresses needed to read configuration data and other usefull stuff.
This is where it gets interesting ..LOL!


4.4 - READ MULTIPLE LIVE DATA ITEMS

This command allows access to 1 of 2 fixed format live data strings.
The string returned depends on what the mapper has set in the configuration.
There are only 2 possibilites, generally the longer version is the normal one used.
You need to know which string is configured so you know how many bytes to expect. This is delt with later on in the article.

A single command byte is sent $05 and multiple bytes are returned.
This string data will return data at all times when requested but is only updated while the engine is running.

(Data values shown are for illustration only)

<<< SHORT VERSION - 5 ITEMS >>>

SEND TO ECU:..... $05 (Fixed command value always the same)
ECU REPLY:......... $35 (Fixed reply value always the same)
ECU REPLY:......... $01 (Data byte 1 - RPM HIGH BYTE)
ECU REPLY:......... $02 (Data byte 2 - RPM LOW BYTE)
ECU REPLY:......... $03 (Data byte 3 - MAP SENSOR)
ECU REPLY:......... $04 (Data byte 4 - CHARGE AIR SENSOR)
ECU REPLY:......... $05 (Data byte 5 - COOLANT SENSOR)
ECU REPLY:......... $06 (Data byte 6 - THROTTLE POSITION SENSOR)

1 byte is sent and 7 bytes are returned.

<<< LONG VERSION - 7 ITEMS >>>

SEND TO ECU:..... $05 (Fixed command value always the same)
ECU REPLY:......... $35 (Fixed reply value always the same)
ECU REPLY:......... $01 (Data byte 1 - RPM HIGH BYTE)
ECU REPLY:......... $02 (Data byte 2 - RPM LOW BYTE)
ECU REPLY:......... $03 (Data byte 3 - MAP SENSOR)
ECU REPLY:......... $04 (Data byte 4 - CHARGE AIR SENSOR)
ECU REPLY:......... $05 (Data byte 5 - COOLANT SENSOR)
ECU REPLY:......... $06 (Data byte 6 - THROTTLE POSITION SENSOR)
ECU REPLY:......... $07 (Data byte 7 - IGNITION TIMING VALUE)
ECU REPLY:......... $08 (Data byte 8 - INJECTION PULSE HIGH BYTE)
ECU REPLY:......... $09 (Data byte 9 - INJECTION PULSE LOW BYTE)

1 byte is sent and 10 bytes are returned.

As you can see, the long version is the same as the short except it has fuel and ignition values added to the end.
Raw data is returned that needs scaling/converting to real data depending on configuration. This is listed later in the article.


*** TO BE CONTINUED TOMORROW ***
If you were logged in, you wouldn't be seeing this ad!
Register your free account today, or log in if you already have an account.

Last edited by ECU Monitor Enthusiast; 08-07-2009 at 10:45 PM. Reason: Information update
ECU Monitor Enthusiast is offline   Reply With Quote
Old 06-07-2009, 10:38 PM   #2
GARETH T
Professional Waffler
 
GARETH T's Avatar
 
Trader Score: (0)
Join Date: May 2003
Location: barry-south wales
Posts: 30,675
Rep Power: 39
GARETH T is an unknown quantity at this point
Send a message via MSN to GARETH T
Default

oh this is going to get intresting! thanks for posting simon!
__________________
GARETH T is offline   Reply With Quote
Old 06-07-2009, 10:39 PM   #3
blacky.
PassionFord Post Troll
 
Trader Score: (0)
Join Date: Nov 2005
Location: stockton
Posts: 3,106
Rep Power: 10
blacky. is an unknown quantity at this point
Send a message via MSN to blacky.
Default

over my head but i will keep reading lol
__________________


nail 0-60 in 3.4 1/4 in 11.58

its not abuse anyway you spazz
blacky. is offline   Reply With Quote
Old 06-07-2009, 10:39 PM   #4
J1mbo
B1mbo
 
J1mbo's Avatar
 
Trader Score: (1)
Join Date: Sep 2007
Location: peterborough
Posts: 14,692
Rep Power: 19
J1mbo is an unknown quantity at this point
Send a message via MSN to J1mbo
Default

really interesting

nice one simon
__________________


mt-motorsport.com
J1mbo is offline   Reply With Quote
Old 06-07-2009, 10:39 PM   #5
digitalgraham
15000
 
Trader Score: (0)
Join Date: Mar 2008
Posts: 42
Rep Power: 0
digitalgraham is on a distinguished road
Default

Well I was nearly there with 1954 but 2 stop bits!!! Damn LOL
digitalgraham is offline   Reply With Quote
Old 06-07-2009, 10:46 PM   #6
ECU Monitor Enthusiast
BANNED
BANNED
 
Trader Score: (1)
Join Date: Jul 2003
Location: Wiltshire
Posts: 12,501
Rep Power: 0
ECU Monitor Enthusiast will become famous soon enough
Default

Quote:
Originally Posted by digitalgraham View Post
Well I was nearly there with 1954 but 2 stop bits!!! Damn LOL

Round down is the way forward (or ignore shitty fractions) ..PMSL


I will add more tomorrow night.

Last edited by ECU Monitor Enthusiast; 06-07-2009 at 10:48 PM.
ECU Monitor Enthusiast is offline   Reply With Quote
Old 06-07-2009, 10:56 PM   #7
digitalgraham
15000
 
Trader Score: (0)
Join Date: Mar 2008
Posts: 42
Rep Power: 0
digitalgraham is on a distinguished road
Default

Cheers ... good work, keep it coming
digitalgraham is offline   Reply With Quote
Old 06-07-2009, 11:41 PM   #8
miller3
PassionFord Post Whore!!

 
miller3's Avatar
 
Trader Score: (4)
Join Date: Nov 2006
Location: rainham/kent
Posts: 8,112
Rep Power: 14
miller3 is on a distinguished road
Send a message via MSN to miller3
Default

Nice one Si
__________________
www.mattlewismotorsportonline.co.uk NEW ONLINE SHOP

http://www.passionford.com/forum/showthread.php?p=3849679#post3849679
Ronnie amis, sponsored by MOTORSPORT DEVELOPMENTS.
Doug miller, sponsored by PUKKA PIES
miller3 is offline   Reply With Quote
Old 06-07-2009, 11:50 PM   #9
natehall
Too many posts.. I need a life!!
 
Trader Score: (2)
Join Date: Aug 2004
Location: Manchester
Posts: 828
Rep Power: 8
natehall is an unknown quantity at this point
Send a message via MSN to natehall
Default

nice work - i look forward to reading it!
natehall is offline   Reply With Quote
Old 07-07-2009, 01:30 AM   #10
LINCOLN
Too many posts.. I need a life!!
 
Trader Score: (1)
Join Date: May 2006
Location: AUSTRALIA
Posts: 971
Rep Power: 6
LINCOLN is an unknown quantity at this point
Default

I am sure (hope) your hard work will be appreciated by all as it should be.

Cheers.
LINCOLN is offline   Reply With Quote
Old 07-07-2009, 01:51 AM   #11
yappstar
BANNED
BANNED
 
Trader Score: (0)
Join Date: Sep 2008
Location: london
Posts: 496
Rep Power: 0
yappstar is on a distinguished road
Default

Very interesting Simon, thanks
yappstar is offline   Reply With Quote
Old 07-07-2009, 02:07 AM   #12
RaZoR
15000
 
RaZoR's Avatar
 
Trader Score: (1)
Join Date: Jul 2004
Location: Finland
Posts: 28
Rep Power: 0
RaZoR is an unknown quantity at this point
Default

My Hats Off To You Simon!

Some years ago I started doing the same thing. Had the interface and software made and everything. I got feed up with it in the end, couldn’t get the communication working. And realised it's not really worth it, the ECU is so old and not worth the money and time. You can get way better and user friendly management today than the old weber has to offer. But it’s nice to see that someone kept at it.

Again hats off, I understand the time and work put in to this.
__________________
-------====<<<<<Flat Out, Flat Broke>>>>>====-------
Great Guitar Sound - http://greatguitarsound.blogspot.com
RaZoR is offline   Reply With Quote
Old 07-07-2009, 12:10 PM   #13
ECU Monitor Enthusiast
BANNED
BANNED
 
Trader Score: (1)
Join Date: Jul 2003
Location: Wiltshire
Posts: 12,501
Rep Power: 0
ECU Monitor Enthusiast will become famous soon enough
Default

Razor,

Thanks for the comments. It was a load of work and i am glad someone appreciates it..lol

More to come tonight
ECU Monitor Enthusiast is offline   Reply With Quote
Old 07-07-2009, 01:37 PM   #14
PeterD
PassionFord Post Whore!!
 
Trader Score: (0)
Join Date: Nov 2005
Location: Edinburgh
Posts: 4,061
Rep Power: 11
PeterD is an unknown quantity at this point
Send a message via MSN to PeterD
Default

Great project Simon, really looking forward to reading the rest of it.

Is there pages and pages of source to read?
__________________
Pete

Its bought you crunt!
PeterD is offline   Reply With Quote
Old 07-07-2009, 01:54 PM   #15
stu21t
PassionFord Post Troll
 
Trader Score: (0)
Join Date: Oct 2004
Location: south london
Posts: 2,835
Rep Power: 10
stu21t is an unknown quantity at this point
Default

I'm looking forward to playing with this
eventually lol
__________________

link to my cossie powered renault 5
http://passionford.com/forum/restora...nault-5-a.html
stu21t is offline   Reply With Quote
Old 07-07-2009, 03:25 PM   #16
saph4be
Advanced PassionFord User
 
Trader Score: (0)
Join Date: Jan 2007
Location: mansfield
Posts: 2,466
Rep Power: 8
saph4be is an unknown quantity at this point
Default

interesting stuff mate
saph4be is offline   Reply With Quote
Old 07-07-2009, 03:31 PM   #17
Stu @ M Developments
PassionFords Creator


 
Stu @ M Developments's Avatar
 
Trader Score: (12)
Join Date: May 2003
Location: Blackpool, UK Destination: Rev limiter
Posts: 26,349
Rep Power: 36
Stu @ M Developments will become famous soon enoughStu @ M Developments will become famous soon enough
Default

I have been looking forward to this. Glad you have got round to it.
Stu @ M Developments is online now   Reply With Quote
Old 07-07-2009, 08:19 PM   #18
ECU Monitor Enthusiast
BANNED
BANNED
 
Trader Score: (1)
Join Date: Jul 2003
Location: Wiltshire
Posts: 12,501
Rep Power: 0
ECU Monitor Enthusiast will become famous soon enough
Default

BTTT ..... Updates
ECU Monitor Enthusiast is offline   Reply With Quote
Old 07-07-2009, 09:21 PM   #19
biggiejody
PassionFord Regular
 
biggiejody's Avatar
 
Trader Score: (4)
Join Date: Oct 2005
Location: near heathrow
Posts: 472
Rep Power: 7
biggiejody is an unknown quantity at this point
Default

totaly over my head i dunno what 99% of it is lol. but gotta say fairplay for working so hard on it and then sharing it for everyone to use. big respect for that
__________________
1990 2wd saph cossie
magenta, diamond cut RS7s, stage 2, T34, 500 cooler, 303 bhp 297 lbft
soon to be stage 3
to do list is growing by the day
Quote:
Originally Posted by Csm View Post
When my turbo was fooked it sounded like a pig being raped by an elephant
biggiejody is offline   Reply With Quote
Old 07-07-2009, 09:44 PM   #20
Neil S
PassionFord Post Troll
 
Neil S's Avatar
 
Trader Score: (0)
Join Date: May 2003
Location: Cleveland
Posts: 2,810
Rep Power: 11
Neil S is an unknown quantity at this point
Default

Thank you Simon, very interesting reading. I'm looking forward to the next installment
__________________
Neil S is offline   Reply With Quote
Old 07-07-2009, 10:51 PM   #21
DazC
10K+ Poster!!
 
Trader Score: (1)
Join Date: May 2003
Location: Lancashire
Posts: 12,342
Rep Power: 21
DazC is an unknown quantity at this point
Send a message via MSN to DazC
Default

i find a lot of it interesting. I re-read it a couple of times.
DazC is offline   Reply With Quote
Old 07-07-2009, 11:20 PM   #22
Fudgey
Super pussy eater
 
Fudgey's Avatar
 
Trader Score: (4)
Join Date: Apr 2004
Location: Changing another nappy!
Posts: 17,466
Rep Power: 25
Fudgey is on a distinguished road
Default

do you give lessons in binary and hex simon?

most of that is way over my head
__________________
NOW BREAKING - SEE FOR SALE SECTIONS!
Built by Ford, refined in Fudgeys garage!
CLICK! \/
Fudgey is offline   Reply With Quote
Old 07-07-2009, 11:49 PM   #23
yappstar
BANNED
BANNED
 
Trader Score: (0)
Join Date: Sep 2008
Location: london
Posts: 496
Rep Power: 0
yappstar is on a distinguished road
Default

Quote:
Originally Posted by Flux Capacitor
Data is transmitted out of the ECU on pin 27 and data is received on pin 8.
The interface to the ECU is at 12 volts - You cannot directly connect a PC RS232 serial port otherwise you may damage your ECU.
You need a voltage translation circuit.
This consists of a few transistor, resistors and diodes.
The data idle state for both transmit and receive lines is 0 volts.
The ECU transmit output on pin 27 is an open collector NPN transistor interface and needs an external pull up resistor to 12 volts.
Similaly, the ECU receive input has an internal pull up resistor and needs to be driven by an external open collector NPN transistor.
This interface is unlike the Fiat versions of these ecu's
Don't all RS232 ports interface at 12V via a MAX232 chip (the industry standard for a PC)?

Not knocking you Simon, just wanting to clarify so I have these things in my head straight

Interesting update too
yappstar is offline   Reply With Quote
Old 07-07-2009, 11:58 PM   #24
digitalgraham
15000
 
Trader Score: (0)
Join Date: Mar 2008
Posts: 42
Rep Power: 0
digitalgraham is on a distinguished road
Default

Simon, theres some serious work there so far! One thing I have noted tho, damn ECU is seriously slow on the Tx/Rx, having to wait for 80ms before next command!

What about programming the ECU to stream data, that should be possible?
digitalgraham is offline   Reply With Quote
Old 08-07-2009, 07:14 AM   #25
foreigneRS
Testing the future
 
foreigneRS's Avatar
 
Trader Score: (0)
Join Date: Jul 2003
Location: W. Sussex
Posts: 16,086
Rep Power: 25
foreigneRS is on a distinguished road
Default

__________________
Nick

It takes me less than 9 minutes



RP Lab L8 ECU

1998 Puma 1.7 / 2002 Galaxy 2.3 LPG / 2007 Honda VFR800 VTEC / 1972 Honda C90
foreigneRS is offline   Reply With Quote
Old 08-07-2009, 08:14 AM   #26
ECU Monitor Enthusiast
BANNED
BANNED
 
Trader Score: (1)
Join Date: Jul 2003
Location: Wiltshire
Posts: 12,501
Rep Power: 0
ECU Monitor Enthusiast will become famous soon enough
Default

Quote:
Originally Posted by yappstar View Post
Don't all RS232 ports interface at 12V via a MAX232 chip (the industry standard for a PC)?

Not knocking you Simon, just wanting to clarify so I have these things in my head straight

Interesting update too
RS232 is NOT just 12 volts it is +/- 12 volts (actually a range from +/-5 volts to +/- 15 volts now)

I.E. there is a negative content to the voltage levels !

The data is either at +12 volts or at -12 volts (not to be confused with 0 volts griound)
Where as the ECU works at +12 volts and 0v only.

View the MAX232 data sheet here ... http://www.datasheetcatalog.org/data...nts/max232.pdf



Quote:
Originally Posted by digitalgraham View Post
Simon, theres some serious work there so far! One thing I have noted tho, damn ECU is seriously slow on the Tx/Rx, having to wait for 80ms before next command!

What about programming the ECU to stream data, that should be possible?
It is slow ! LOL

You can go a bit quicker but I wouldnt recomend it as it could impact on the engine tracking software.

There is a multibyte string read command I havent shown yet which helps greatly.... Thats in tonights update
That allows upto 7 of the most common items to be read out in one quick go !

Yes it is very possible to reprogram or add extra code in the ecu to do more.
I will show the example routine that is actually in the ecu that does the comms then you will see just how easy it could be !
Dont forget though, we have limited memory and spare performance to do this as the CPU is steam powered..LOL

Last edited by ECU Monitor Enthusiast; 08-07-2009 at 08:23 AM.
ECU Monitor Enthusiast is offline   Reply With Quote
Old 08-07-2009, 12:54 PM   #27
yappstar
BANNED
BANNED
 
Trader Score: (0)
Join Date: Sep 2008
Location: london
Posts: 496
Rep Power: 0
yappstar is on a distinguished road
Default

Quote:
Originally Posted by Flux Capacitor. View Post
RS232 is NOT just 12 volts it is +/- 12 volts (actually a range from +/-5 volts to +/- 15 volts now)

I.E. there is a negative content to the voltage levels !

The data is either at +12 volts or at -12 volts (not to be confused with 0 volts griound)
Where as the ECU works at +12 volts and 0v only.

View the MAX232 data sheet here ... http://www.datasheetcatalog.org/data...nts/max232.pdf
Thanks
yappstar is offline   Reply With Quote
Old 08-07-2009, 01:30 PM   #28
CossieRich
Did Someone Mention TUV
 
CossieRich's Avatar
 
Trader Score: (1)
Join Date: Aug 2003
Location: Surrey
Posts: 16,348
Rep Power: 25
CossieRich is an unknown quantity at this point
Send a message via MSN to CossieRich
Default

Simon,

you are such a knowledgeable bloke. I wont even understand 1/4 of what you have written but i shall read it anyway. Well done
__________________
Rich

MAD Built, GT30, 2.5 bar, MAD Spec inlet cam, Pro Alloy RS500 Intercooler and Rad, Bara Diff, AP 330's, Vi-PEC ECU, 2WD. 480 bhp. 474 ft/lb. Click HERE for my Cosworth Project. Big Thread
CossieRich is offline   Reply With Quote
Old 08-07-2009, 09:19 PM   #29
ECU Monitor Enthusiast
BANNED
BANNED
 
Trader Score: (1)
Join Date: Jul 2003
Location: Wiltshire
Posts: 12,501
Rep Power: 0
ECU Monitor Enthusiast will become famous soon enough
Default

Cheers Rich


Only a small update tonight showing the live data multiple data string.
I am on holiday after tomorrow so will have more time to complete this
ECU Monitor Enthusiast is offline   Reply With Quote
Old 08-07-2009, 10:17 PM   #30
stu21t
PassionFord Post Troll
 
Trader Score: (0)
Join Date: Oct 2004
Location: south london
Posts: 2,835
Rep Power: 10
stu21t is an unknown quantity at this point
Default

better hope you get to the post office tomorow then.

can it read the CO screw position aswell?
That's quite useful.
__________________

link to my cossie powered renault 5
http://passionford.com/forum/restora...nault-5-a.html

Last edited by stu21t; 08-07-2009 at 10:26 PM.
stu21t is offline   Reply With Quote
Old 08-07-2009, 10:28 PM   #31
ECU Monitor Enthusiast
BANNED
BANNED
 
Trader Score: (1)
Join Date: Jul 2003
Location: Wiltshire
Posts: 12,501
Rep Power: 0
ECU Monitor Enthusiast will become famous soon enough
Default

Yes mate
ECU Monitor Enthusiast is offline   Reply With Quote
Old 08-07-2009, 10:36 PM   #32
Rick
15K+ Super Poster!!
 
Trader Score: (0)
Join Date: May 2003
Location: Stockport, Cheshire
Posts: 15,561
Rep Power: 24
Rick is an unknown quantity at this point
Send a message via MSN to Rick
Default

Very interesting Simon. I'm kind of dissapointed i've had an RS turbo and not a cossie all these years, as I would have have attempted some reverse engineering of the ECU. Not really much you can do with KE jet.
Rick.
__________________
Bespoke calibration and remapping, OEM & Aftermarket management
Rick is offline   Reply With Quote
Old 08-07-2009, 10:39 PM   #33
ECU Monitor Enthusiast
BANNED
BANNED
 
Trader Score: (1)
Join Date: Jul 2003
Location: Wiltshire
Posts: 12,501
Rep Power: 0
ECU Monitor Enthusiast will become famous soon enough
Default

Rick,

With the right adaptor, you can read out the single chip cpu rom file of the ignition module into a eprom programmer..

In fact I did this some years ago and may do another artical on it after this one
ECU Monitor Enthusiast is offline   Reply With Quote
Old 08-07-2009, 11:03 PM   #34
Sonic Boom
PassionFord Post Troll
 
Sonic Boom's Avatar
 
Trader Score: (9)
Join Date: May 2004
Location: Solihull near Birmingham
Posts: 2,908
Rep Power: 10
Sonic Boom is an unknown quantity at this point
Send a message via MSN to Sonic Boom
Default

Is it possible to upgrade the ECU itself to run more memory?
Cheers Rich
__________________
The Cossie isn't in the Garage because it's Broke, its because I am!

Speed Doesn't Kill, It's not being able to Stop in Time!


Sonic Boom is offline   Reply With Quote
Old 08-07-2009, 11:06 PM   #35
ECU Monitor Enthusiast
BANNED
BANNED
 
Trader Score: (1)
Join Date: Jul 2003
Location: Wiltshire
Posts: 12,501
Rep Power: 0
ECU Monitor Enthusiast will become famous soon enough
Default

Quote:
Originally Posted by Sonic Boom View Post
Is it possible to upgrade the ECU itself to run more memory?
Cheers Rich

Yes it is but not really needed unless you want to mod the software to do true live mapping.
RP Labs did this exact thing but it isnt cheap...LOL
ECU Monitor Enthusiast is offline   Reply With Quote
Old 08-07-2009, 11:50 PM   #36
DazC
10K+ Poster!!
 
Trader Score: (1)
Join Date: May 2003
Location: Lancashire
Posts: 12,342
Rep Power: 21
DazC is an unknown quantity at this point
Send a message via MSN to DazC
Default

getting interesting!interesting! I'd be interested in the rs turbo stuff too if you get round to it.
DazC is offline   Reply With Quote
Old 09-07-2009, 02:59 PM   #37
ossie cossie
Too many posts.. I need a life!!
 
ossie cossie's Avatar
 
Trader Score: (0)
Join Date: Oct 2005
Location: Perth Western Australia
Posts: 861
Rep Power: 7
ossie cossie is an unknown quantity at this point
Default

thank you for this it is completely over my head but i am sure someone here in OZ will be able to understand it if i need to get mine looked at. Thanks again.
TONY.
__________________
ossie cossie is offline   Reply With Quote
Old 10-07-2009, 02:53 PM   #38
ECU Monitor Enthusiast
BANNED
BANNED
 
Trader Score: (1)
Join Date: Jul 2003
Location: Wiltshire
Posts: 12,501
Rep Power: 0
ECU Monitor Enthusiast will become famous soon enough
Default

Sorry people, I didnt manage to update last night will do loads tonight

This was due to tha fact my Focus ST alternator is playing up and I got stranded in the middle of no where when my battery went flat .. LOL

Big thanks to cossiedave for coming to the rescue as I am too tight to be an AA member LOL

Last edited by ECU Monitor Enthusiast; 10-07-2009 at 02:54 PM.
ECU Monitor Enthusiast is offline   Reply With Quote
Old 10-07-2009, 07:16 PM   #39
DazC
10K+ Poster!!
 
Trader Score: (1)
Join Date: May 2003
Location: Lancashire
Posts: 12,342
Rep Power: 21
DazC is an unknown quantity at this point
Send a message via MSN to DazC
Default

i look forwards to reading it later simon.
DazC is offline   Reply With Quote
Old 13-07-2009, 08:18 AM   #40
stu21t
PassionFord Post Troll
 
Trader Score: (0)
Join Date: Oct 2004
Location: south london
Posts: 2,835
Rep Power: 10
stu21t is an unknown quantity at this point
Default

Update?
__________________

link to my cossie powered renault 5
http://passionford.com/forum/restora...nault-5-a.html
stu21t is offline   Reply With Quote
Old 13-07-2009, 08:18 AM
PassionFord
Ford Focus




Paid Advertisement


 
 
 
submit to reddit
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OBD protocol podgeywodgey23 Ford Escort RS Turbo 8 30-05-2008 06:15 PM
OBD/OBD2 ?? Protocol Stu.750 General Car Related Discussion. 19 21-04-2008 07:21 AM
ecu chips,performance chips? juffer Ford Escort RS Turbo 2 10-11-2007 11:32 AM
Are 'chips away' type companies worth using for stone chips MATCOS General Car Related Discussion. 8 06-03-2007 07:45 PM
Encrypted download, anyone help? Zetec Andy General Car Related Discussion. 3 11-11-2004 11:36 AM

Advertising - Terms of Service - Privacy Policy - JOBS



All times are GMT. The time now is 09:42 AM.

Contact Us - PassionFord - Archive - Top

This forum is owned and operated by Internet Brands, Inc., a Delaware corporation. It is not authorized or endorsed by the Ford Motor Company and is not affiliated with the Ford Motor Company or its related companies in any way. Ford® is a registered trademark of the Ford Motor Company.

Content Relevant URLs by vBSEO 3.5.2