Serial Elanscan Lead and Serial to USB Convertor

Moderators: theelanman, dapinky, Specky, clemo, Nige, Sy V, Dave Eds, DaveT, Elanlover, muley, Enright, algirdas, nitroman, GeoffSmith

Serial Elanscan Lead and Serial to USB Convertor

Postby Gary » Fri 05.09.2008, 15:52

Help !

I have a serial Elanscan lead which I want to plug into a USB port on my laptop. I have a USB to serial convertor. However the convertor needs drivers. When I load these drivers, I never get the chance to load the drivers for the Elanscan lead, and keep getting a 'no data' message.

How can I load the Elanscan drivers ?

Has anyone else got this sort of setup working ?
Ex owner of S2 no 480 and Red SE
User avatar
Gary
God
 
Posts: 2284
Joined: Thu 14.07.2005, 18:04
Location: Rutland

Re: Serial Elanscan Lead and Serial to USB Convertor

Postby ailwyn » Fri 05.09.2008, 15:55

Erm... once you load the drivers for the USB to Serial and that works you shouldn't need any other drivers.

How computer literate are you?
ailwyn
Forum Member
 
Posts: 3361
Joined: Tue 09.08.2005, 20:45

Re: Serial Elanscan Lead and Serial to USB Convertor

Postby Gary » Sat 06.09.2008, 08:42

I won't answer that question.

However, I get the 'no data' message. The solution to that is to change the latency to 1. The drivers for the usb/serial do not allow this option....Is there a way I can change it from the command line ?
Ex owner of S2 no 480 and Red SE
User avatar
Gary
God
 
Posts: 2284
Joined: Thu 14.07.2005, 18:04
Location: Rutland

Re: Serial Elanscan Lead and Serial to USB Convertor

Postby ESM » Sat 06.09.2008, 09:44

The trouble with USB, where using it to work with old serial is concerned, is that its designed to move very large volumes of data at a very high rate. The design of the system involves large buffers (not the same as the serial ones you set up in the serial port driver) that are emptied in bursts of high speed comms. The data volume from ALDL is tiny by the standards of USB and so is the rate. So the data goes into the USB buffer and isn't released to actually go to the RS232 comm port for some time. This causes problems for ElanScan because it adds timestamps and compares checksums as it goes. So if the data hasn't appeared by the time ElanScan is due to ask for the next data packet it shrugs and gives up (showing the error). This is compounded by the fact that when ES does get the data it gets the answer to about 400 queries all at once and/or the ECU gets about 800 queries at once.

So most USB -> serial converters do not work with ElanScan (or other ALDL programs for that matter). However, one USB->serial chip manufacturer put a clever feature in the driver that gets round the problem. In converters that use the FTDI chip you can set the driver to empty the USB buffer (i.e. send the data to the serial port) after each millisecond of inactivity - this is the latency setting - and that pretty much solves the problem.

So in short not all USB -> Serial interfaces will work in this application. It has to be one with an FTDI chip in it. They sell converters themselves here.
It takes 43 muscles to frown and 17 to smile, but it doesn't take any to sit on your arse with a blank look on your face.

Click on my WWW link for information on chips and ElanScan.
User avatar
ESM
God
 
Posts: 2441
Joined: Thu 17.04.2003, 10:08

Re: Serial Elanscan Lead and Serial to USB Convertor

Postby GeoffSmith » Sat 06.09.2008, 09:52

I've already offered Gary the proven solution but he decided to go with the cheap option. :roll: :mrgreen:
Calypso Red S2 #417

USB ElanScan interfaces - £60 incl. UK P&P & £65 incl. ROW P&P
User avatar
GeoffSmith
Kitty Fiddler
 
Posts: 15628
Joined: Fri 03.02.2006, 21:57
Location: S2#417 in Tytherington, Gloucestershire

Re: Serial Elanscan Lead and Serial to USB Convertor

Postby Sy V » Sat 06.09.2008, 10:36

:smt044
Image

Talk and song from tongues of lilting grace, sounds caress my ears but not a word I heard could I relay, the story was quite clear - Robert Plant

In Respectful Memory - 21st March 1959 - 14th February 2016
User avatar
Sy V
LEC Godfather
 
Posts: 5794
Joined: Mon 21.04.2003, 07:06
Location: Lydiate Ash, Bromsgrove, Worcestershire.

Re: Serial Elanscan Lead and Serial to USB Convertor

Postby Gary » Sat 06.09.2008, 11:16

Thanks for the thorough reply ESM. So I need the £12.50 lead then and a large donation to the LEC kitty for everyone's help....
Ex owner of S2 no 480 and Red SE
User avatar
Gary
God
 
Posts: 2284
Joined: Thu 14.07.2005, 18:04
Location: Rutland

Re: Serial Elanscan Lead and Serial to USB Convertor

Postby Sy V » Sun 07.09.2008, 06:34

That's about the size of it, Gary. As the actress said to the bishop...
Image

Talk and song from tongues of lilting grace, sounds caress my ears but not a word I heard could I relay, the story was quite clear - Robert Plant

In Respectful Memory - 21st March 1959 - 14th February 2016
User avatar
Sy V
LEC Godfather
 
Posts: 5794
Joined: Mon 21.04.2003, 07:06
Location: Lydiate Ash, Bromsgrove, Worcestershire.

Re: Serial Elanscan Lead and Serial to USB Convertor

Postby Gary » Sun 07.09.2008, 08:17

I've had a (money saving) thought !

Could I not just remove the serial plug and replace it with a USB plug (if I knew the correct wiring) ?

Or have I missed something ?
Ex owner of S2 no 480 and Red SE
User avatar
Gary
God
 
Posts: 2284
Joined: Thu 14.07.2005, 18:04
Location: Rutland

Re: Serial Elanscan Lead and Serial to USB Convertor

Postby al » Sun 07.09.2008, 15:15

Gary wrote:Could I not just remove the serial plug and replace it with a USB plug (if I knew the correct wiring) ?

Or have I missed something ?


Please don't do that, or at least if you do, please post the pictures of the aftermath up here once you're done blowing stuff up.
User avatar
al
LEC Bit Basher
 
Posts: 544
Joined: Sat 15.04.2006, 15:30
Location: London

Re: Serial Elanscan Lead and Serial to USB Convertor

Postby Gary » Sun 07.09.2008, 16:18

I take it that means it won't work then?
Ex owner of S2 no 480 and Red SE
User avatar
Gary
God
 
Posts: 2284
Joined: Thu 14.07.2005, 18:04
Location: Rutland

Re: Serial Elanscan Lead and Serial to USB Convertor

Postby GeoffSmith » Sun 07.09.2008, 17:02

You never know, it might ......... and you'll have saved yourself £20.57. :D



Pulls up chair, sits back and waits for firework display to start. :twisted:
Calypso Red S2 #417

USB ElanScan interfaces - £60 incl. UK P&P & £65 incl. ROW P&P
User avatar
GeoffSmith
Kitty Fiddler
 
Posts: 15628
Joined: Fri 03.02.2006, 21:57
Location: S2#417 in Tytherington, Gloucestershire

Re: Serial Elanscan Lead and Serial to USB Convertor

Postby Gary » Sun 07.09.2008, 17:25

Why though ? Surely it is just a serial port either old 'serial' or new Universal 'Serial' Bus ?
Ex owner of S2 no 480 and Red SE
User avatar
Gary
God
 
Posts: 2284
Joined: Thu 14.07.2005, 18:04
Location: Rutland

Re: Serial Elanscan Lead and Serial to USB Convertor

Postby Paul.P » Sun 07.09.2008, 19:16

GeoffSmith wrote:You never know, it might ......... and you'll have saved yourself £20.57. :D


They say " look after the pennies, & the million's look after themselves ", & i reckon Gary's on his 3rd !
JPS M100 was built from bare chassis up to create one off M100 in the mould of JPS Team Lotus
Paul.P
God
 
Posts: 4970
Joined: Sun 14.12.2003, 18:18
Location: Oakham, Rutland

Re: Serial Elanscan Lead and Serial to USB Convertor

Postby ESM » Wed 10.09.2008, 15:17

Here's a money saving thought... Why not take the engine out of a horse and cart and put it in a car? Then you wouldn't need to buy petrol. You could just park it in a field.
It takes 43 muscles to frown and 17 to smile, but it doesn't take any to sit on your arse with a blank look on your face.

Click on my WWW link for information on chips and ElanScan.
User avatar
ESM
God
 
Posts: 2441
Joined: Thu 17.04.2003, 10:08

Re: Serial Elanscan Lead and Serial to USB Convertor

Postby Gary » Wed 10.09.2008, 15:30

I've noticed a couple of these leads on EBAY - I'm waiting to take the plunge !

I'm assuming as long as it is a SERIAL->USB with an FTDI chip I should be ok ?
Ex owner of S2 no 480 and Red SE
User avatar
Gary
God
 
Posts: 2284
Joined: Thu 14.07.2005, 18:04
Location: Rutland

Re: Serial Elanscan Lead and Serial to USB Convertor

Postby ailwyn » Wed 10.09.2008, 15:51

Something tells me you've received about as much help as you can expect on this, so by all means bid away.
ailwyn
Forum Member
 
Posts: 3361
Joined: Tue 09.08.2005, 20:45

Re: Serial Elanscan Lead and Serial to USB Convertor

Postby dapinky » Wed 10.09.2008, 16:37

In case Ailwyns reply was a bit confusing, i believe what he actually would have liked to write (if he wern't a respected Moderator) is something like this.......


(I ain't a Mod, so I can get away with it)


"For F**ks Sake, Gary, how many times do you need to be told! You can buy whatever you want, for as little money as you want to spnd, but much of the cr@p out there wont work properly.
The only way we know it will work is to buy the tried and trusted kit off the old ex-geordie git (Or ESM if he has any), and then you're home and dry.

Anything else MIGHT work, or might cause your lappy to explode, but i don't care as long as you ain't next to me when it goes bang.

Get yer wallet out, and beg Geoff to have a suitable bit of kit with him at the weekend.

Yours truly,

Ailwyn"



Now i might be wrong, and MAYBE that isn't what he meant at all............... :lol:
Dave

Just the one now, but this one's mine! - and it will be finished eventually..... - but also temporary custodian of a project until it is finished enough for Angie to drive it


...oh, and a 2006 Freelander destined for the jungles of The Gambia - 4500 miles across roads, desert and tracks - what could possibly go wrong?
User avatar
dapinky
LEC Administrator
 
Posts: 10606
Joined: Sun 15.10.2006, 12:54
Location: As far west as you can get in West Wales before you become Irish (Pembroke Dock).

Re: Serial Elanscan Lead and Serial to USB Convertor

Postby GeoffSmith » Wed 10.09.2008, 17:54

:smt044
Calypso Red S2 #417

USB ElanScan interfaces - £60 incl. UK P&P & £65 incl. ROW P&P
User avatar
GeoffSmith
Kitty Fiddler
 
Posts: 15628
Joined: Fri 03.02.2006, 21:57
Location: S2#417 in Tytherington, Gloucestershire

Re: Serial Elanscan Lead and Serial to USB Convertor

Postby Gary » Wed 10.09.2008, 18:24

I prefer the DaPinky version !

So Mr Smith have you got anything that can help me ?
Ex owner of S2 no 480 and Red SE
User avatar
Gary
God
 
Posts: 2284
Joined: Thu 14.07.2005, 18:04
Location: Rutland

Next

Return to ElanScan

Who is online

Users browsing this forum: No registered users and 4 guests