Omega Owners Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Please check the Forum Guidelines at the top of the Newbie section

Pages: 1 [2] 3  All   Go Down

Author Topic: Tech 2  (Read 6555 times)

0 Members and 1 Guest are viewing this topic.

Kevin Wood

  • Global Moderator
  • *****
  • Offline Offline
  • Gender: Male
  • Alton, Hampshire
  • Posts: 36281
    • Jaguar XE 25t, Westfield
    • View Profile
Re: Tech 2
« Reply #15 on: 23 July 2007, 19:02:30 »

Quote
Wil keep trying  on and off, but does anyone have any ideas?

The problem with non-standard serial ports is that, rather than using the serial port as intended, the cheapo tech2 uses a couple of the handshake lines and "bit bashes" them in software, using timing loops and other evil to generate the required waveforms with the required timing.

If the machine is directly connected, through a simple driver, to a real UART the calls the code makes to change the state of the handshake lines translate into immediate (or pretty much) transitions of the pins at the serial port. If the driver is actually piping the commands over a USB port, for example, the timing gets totally messed up and it's unlikely to work.

PCMCIA is an unknown quantity in that, in theory, it's a bus so you could implement a serial port by hanging a proper UART off the bus. Who knows what they're actually doing, though? The problem is the timing of the handshake lines are not normally that critical in a real serial port due to large buffers either end, so a bodged port is likely to be lacking in this respect.

Has the interface you have worked with a "real" serial port? That would be my starting point, get it working with a machine with a genuine serial port and then compare the timing of the waveforms you get.

Kevin
Logged
Tech2 services currently available. See TheBoy's price list: http://theboy.omegaowners.com/

Mike Collins

  • Senior Member
  • ****
  • Offline Offline
  • Gender: Male
  • North of Bristol
  • Posts: 504
    • View Profile
Re: Tech 2
« Reply #16 on: 23 July 2007, 22:33:03 »

So far I have been unable to find a pulse train on any of the connected pins in the diag connector, looking with a 'scope, so not got as far thinking about the interface.
Am I missing something obvious?
Logged

Jimbob

  • Global Moderator
  • *****
  • Offline Offline
  • Gender: Male
  • Chester / Flintshire
  • Posts: 24448
  • I like traffic lights, but only when they're green
    • E250 Est / Golf GTI
    • View Profile
Re: Tech 2
« Reply #17 on: 24 July 2007, 08:08:01 »

Are you trying this while connected, or away from the car?

I Believe the tech2 gets its power from the diag socket, so you would need to emulate that as well

Sorry if i'm teaching egg sucking!

Mike Collins

  • Senior Member
  • ****
  • Offline Offline
  • Gender: Male
  • North of Bristol
  • Posts: 504
    • View Profile
Re: Tech 2
« Reply #18 on: 24 July 2007, 08:22:34 »

Looking directly at the diag port on the car with an oscilloscope, I have not found a pulse train on any pin, the Hungarian software appears to tell you which ALDL pin it expects to see data.

I'm sure I'm missing something obvious.
Logged

Jimbob

  • Global Moderator
  • *****
  • Offline Offline
  • Gender: Male
  • Chester / Flintshire
  • Posts: 24448
  • I like traffic lights, but only when they're green
    • E250 Est / Golf GTI
    • View Profile
Re: Tech 2
« Reply #19 on: 24 July 2007, 08:42:59 »

So, have you actually 'asked' the port to send data?
As far as I know it works like this

Tech2 plugged in, gets power from socket
Tech2 Asks For data
Car supplies Data
Tech2 displays response

It reads like you are trying just to read the port without asking for anything?
Apologies if I have misunderstood your problem

Kevin Wood

  • Global Moderator
  • *****
  • Offline Offline
  • Gender: Male
  • Alton, Hampshire
  • Posts: 36281
    • Jaguar XE 25t, Westfield
    • View Profile
Re: Tech 2
« Reply #20 on: 24 July 2007, 09:37:38 »

I agree. Without a Tech 2 or similar to initiate communications I wouldn't expect to see any activity on the diag port.

Kevin
Logged
Tech2 services currently available. See TheBoy's price list: http://theboy.omegaowners.com/

Mike Collins

  • Senior Member
  • ****
  • Offline Offline
  • Gender: Male
  • North of Bristol
  • Posts: 504
    • View Profile
Re: Tech 2
« Reply #21 on: 24 July 2007, 14:32:13 »

That sounds exactly like what is happening, anyone know what form the tech2 request takes?

The nearest information I have found is that 10K to ground on pin 6 pulls that line to +5V and enables ECU communication mode.

It passes the quiet moment.
Logged

Kevin Wood

  • Global Moderator
  • *****
  • Offline Offline
  • Gender: Male
  • Alton, Hampshire
  • Posts: 36281
    • Jaguar XE 25t, Westfield
    • View Profile
Re: Tech 2
« Reply #22 on: 24 July 2007, 15:02:12 »

There's a whole bidirectional serial protocol that's implemented by one end or other pulling the line down to 0v or letting it float and then waiting for the other end to acknowledge / respond.

The documentation is probably around on the internet somewhere if you really want to get into it, although I think most of it is based on an ISO standard and you have to pay for them >:(. Getting any life out if it at all would be a non-trivial exercise, however.

There are projects like this: http://freediag.sourceforge.net/ if you really want to get your hands dirty!

Kevin
Logged
Tech2 services currently available. See TheBoy's price list: http://theboy.omegaowners.com/

Mike Collins

  • Senior Member
  • ****
  • Offline Offline
  • Gender: Male
  • North of Bristol
  • Posts: 504
    • View Profile
Re: Tech 2
« Reply #23 on: 24 July 2007, 16:59:58 »

Thanks Kevin, that seems to fit what I am finding. I have just tried an ALDL serial interface cable, powered on the bench, but not connected to the car. When the "Hungarian" software searches, the data line pulls down to ground briefly.

I suppose the next step is to try connecting that data line to pin 6 on the car and see if it provokes a response.

Probably a good thing car is not here at the moment, my head hurts.
Logged

TheBoy

  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
  • Brackley, Northants
  • Posts: 105913
  • I Like Lockdown
    • Whatever Starts
    • View Profile
Re: Tech 2
« Reply #24 on: 24 July 2007, 20:26:58 »

Quote
Thanks Kevin, that seems to fit what I am finding. I have just tried an ALDL serial interface cable, powered on the bench, but not connected to the car. When the "Hungarian" software searches, the data line pulls down to ground briefly.

I suppose the next step is to try connecting that data line to pin 6 on the car and see if it provokes a response.

Probably a good thing car is not here at the moment, my head hurts.
Remember that the Hungarian software controls a multiplexer between the max and the car, which should select right line.
Logged
Grumpy old man

VX1

  • Omega Baron
  • *****
  • Offline Offline
  • Gender: Male
  • Reading, Berkshire
  • Posts: 2056
    • View Profile
Re: Tech 2
« Reply #25 on: 24 July 2007, 22:20:50 »

So what code reader would I need for a 1995 Omega?

http://www.talktomycar.co.uk/Shop/Code_Readers/Code_Readers.htm
Logged
Vx Trade club card holder
Halfords trade card holder

TheBoy

  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
  • Brackley, Northants
  • Posts: 105913
  • I Like Lockdown
    • Whatever Starts
    • View Profile
Re: Tech 2
« Reply #26 on: 24 July 2007, 22:24:27 »

Quote
So what code reader would I need for a 1995 Omega?

http://www.talktomycar.co.uk/Shop/Code_Readers/Code_Readers.htm
None, a paperclip will do engine.

If you want to do other stuff, a Tech1 (around £500 - £700 secondhand), or a Tech2(really from 97 on, around £2k)
Logged
Grumpy old man

VX1

  • Omega Baron
  • *****
  • Offline Offline
  • Gender: Male
  • Reading, Berkshire
  • Posts: 2056
    • View Profile
Re: Tech 2
« Reply #27 on: 24 July 2007, 22:28:29 »

Thankyou.  :y
Logged
Vx Trade club card holder
Halfords trade card holder

iggy21uk

  • Omega Knight
  • *****
  • Offline Offline
  • Gender: Male
  • Berkhamsted - Herts
  • Posts: 1120
  • Omega Spotter -  tats gone tanning
    • View Profile
Re: Tech 2
« Reply #28 on: 25 July 2007, 14:46:28 »

Quote
Quote
So what code reader would I need for a 1995 Omega?

http://www.talktomycar.co.uk/Shop/Code_Readers/Code_Readers.htm
None, a paperclip will do engine.

If you want to do other stuff, a Tech1 (around £500 - £700 secondhand), or a Tech2(really from 97 on, around £2k)

Or Opel Autoscanner about £250 ish
Logged
[size=10]Opelscanner Can owner / Cam lock kit owner [/size] [/i][/b]

TheBoy

  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
  • Brackley, Northants
  • Posts: 105913
  • I Like Lockdown
    • Whatever Starts
    • View Profile
Re: Tech 2
« Reply #29 on: 25 July 2007, 15:00:19 »

Quote
Quote
Quote
So what code reader would I need for a 1995 Omega?

http://www.talktomycar.co.uk/Shop/Code_Readers/Code_Readers.htm
None, a paperclip will do engine.

If you want to do other stuff, a Tech1 (around £500 - £700 secondhand), or a Tech2(really from 97 on, around £2k)

Or Opel Autoscanner about £250 ish
They got that properly working on pre 97 cars?
Logged
Grumpy old man
Pages: 1 [2] 3  All   Go Up
 

Page created in 0.025 seconds with 21 queries.