USB to Serial Adapters
Read the manual to see if your question is answered there before posting. If you have questions about MS1/Extra or MS2/Extra or other non-B&G code configuration or tuning, please post them at http://www.msextra.com The full forum rules are here: Forum Rules, be sure to read them all regularly.
-
milesinfront
- MegaSquirt Newbie
- Posts: 22
- Joined: Fri Aug 20, 2004 3:25 pm
- Location: Australia
- Contact:
Problem not to do with this thread!
Was due to the 2nd table not being set up correctly. Didn't see this one comming as I am not using the 2nd table.....
So now I can say that my PCMCIA Serial card has 100% functionality!
_______________________________________
-1984 C1 2.3 Alpina (E30) -> MS'd
-1976 Triumph Dolomite Sprint Race Car -> Ms n 'EDIS'd
-
tristanlee85
- MegaSquirt Newbie
- Posts: 9
- Joined: Tue Dec 28, 2004 10:33 pm
- Location: Grove City, OH
- Contact:
-
TT350chevelle
- MegaSquirt Newbie
- Posts: 26
- Joined: Sun May 02, 2004 7:51 am
- Location: Winnipeg,Canada
- Contact:
Old bug...fixed in later versions.rickmilesracing wrote:The error I get from MT on start up (MS connected and powered) is:-
'Error: divide by zero. '(nCyl2+1)/divider2
MS Code is 020i and MT 2.25b271
http://www.msefi.com/viewtopic.php?t=6560&highlight=
http://www.msefi.com/viewtopic.php?t=59 ... ivide+zero
Brad J.
-
efahl
- Site Admin
- Posts: 232
- Joined: Mon Feb 16, 2004 3:15 pm
- Location: San Clemente, California, USA
- Contact:
USB to Serial Adapters
> I haven't messed with these settings yet! Which ini file is it?
Rick,
The controller's ini (megasquirt-I.ini or msns-extra.ini)...
> I have a PCMCIA Serial card on order. Are these generally fool
> proof???
They seem to be as solid as a built-in serial port by all reports,
it's only certain combinations of USB adaptors and machines/OS
levels that seem to work strangely with the windows comm API.
Eric
--
Eric Fahlgren http://www.not2fast.com/
(posted by email)
-
daxtojeiro
- MegaSquirt Guru
- Posts: 17
- Joined: Sun May 02, 2004 1:16 pm
- Location: Norwich UK
- Contact:
Re: USB to Serial Adapters
Hi,efahl wrote:On Tue, February 22, 2005 10:23 pm, rickmilesracing said:
> I haven't messed with these settings yet! Which ini file is it?
Rick,
The controller's ini (megasquirt-I.ini or msns-extra.ini)...
> I have a PCMCIA Serial card on order. Are these generally fool
> proof???
They seem to be as solid as a built-in serial port by all reports,
it's only certain combinations of USB adaptors and machines/OS
levels that seem to work strangely with the windows comm API.
Eric
--
Eric Fahlgren http://www.not2fast.com/
(posted by email)
yep your right there, got my pcmcia card in and MT works perfectly with it
Phil
http://www.replica-cobra.co.uk 5.0L TVR powered Cobra Replica (MSnS-E)
-
efahl
- Site Admin
- Posts: 232
- Joined: Mon Feb 16, 2004 3:15 pm
- Location: San Clemente, California, USA
- Contact:
TrippLite U209-000-R $18.48
Hawking Technology HUC232S $18.99 (Windows reports this as a Prolific)
Belkin F5U109 $24.59
MicroInnovations - hasn't arrived yet...
All adaptors were installed using their delivered drivers with default settings (no fifo buffers were changed or comm ports re-assigned after installation). The two test machines were my old Dell Inspiron 7000 running aftermarket W2k pro and my wife's Dell Inspiron 2650 running the Dell-installed XP. Results were identical on both machines. (XP complained about the TrippLite drivers not being XP certified during installation.)
I tested both MS-I v3.0 at 9600 baud and MS-II current beta at 115k baud.
Success
Two settings were varied in the respective ini files: writeBlocks and interWriteDelay. All combinations work just fine with writeBlocks=off and interWriteDelay=1. This also works ok with standard comm ports, but may be slower than other settings (who cares, if it works?).
Failures
I could get the TrippLite and Hawking to fail severely (loss of connection requiring reboot of MS) by setting writeBlocks=on. The Belkin would have occasional dropouts, but would recover fairly rapidly, and it seemed from this 10-minute test to be the most robust of the three.
Conclusions
Set:
writeBlocks = off
interWriteDelay = 1
All brands appear to work just fine with these settings.
-
efahl
- Site Admin
- Posts: 232
- Joined: Mon Feb 16, 2004 3:15 pm
- Location: San Clemente, California, USA
- Contact:
-
Bernard Fife
- Super Squirter
- Posts: 1009
- Joined: Mon Feb 16, 2004 3:15 pm
That's good news, and very useful for people with newer laptops/notebooks (newer meaning newer than my 10 year old piece of crap!).
If you get a chance, and have the time, you might try burning new code with the USB adapters to see if they work.
My adapter, an IOGEAR GUC232A, works fine for everything but burning new code (which isn't essential for me as I have both a programmer and a computer with a standard serial port, but some people might need this function with an adapter).
(The original thread is here: http://www.msefi.com/viewtopic.php?p=24888#24888)
Lance.
-
efahl
- Site Admin
- Posts: 232
- Joined: Mon Feb 16, 2004 3:15 pm
- Location: San Clemente, California, USA
- Contact:
Thanks for the suggestion, that's an important test I hadn't thought about.
I used download with the MicroInnovations/Prolific to burn -E 021x1 (had it laying around) to the MS-I box twice, zoom, no problems. Switched cables and used gms2dl to burn Al's latest MS-II code to my MS-II test box, again, it went very fast for two tries and I saw no hiccups (the MS-II downloader, in case people don't know, does verification after sending the contents of the s19, so when it completes you know whether you have a good burn or not, and in fact which if any bytes failed to burn properly).
I pulled off the MicroInnovations and put on the TrippLite. Did two burns on the MS-II, again not a hiccup, switched back to the MS-I and burned -Extra two more times to it, not a hint of problems in any case.
Now this success is not surprising to me, as I've got the timeouts in both download and the MS-II downloader set to quite high values, which I believe allows any USB buffer flush to time out (although I saw no hesitation at all with either one, MS-II downloads looked faster than when I run just straight serial). Now I can't set these same values in MegaTune because it is interactive, and this would basically make it lock up if used offline. I'm rethinking my strategy of having a transparent off-line mode; if it were made explicit (File -> Work Offline) then I could raise the timeouts there, too.
Eric
-
Bernard Fife
- Super Squirter
- Posts: 1009
- Joined: Mon Feb 16, 2004 3:15 pm