All Forums
 Microsoft Windows CE
 General CE
 RS485/RS422 Mode Slowness
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

superiorcontrols

25 Posts

Posted - 28 Feb 2003 :  15:27:08  Show Profile  Email Poster
When I configure my board to run in RS422/RS485 mode, my system runs exceedingly slow. Drew has suggested excessive hw interupts, and to test this, I left my jumper settings set to 485 half duplex mode, but set 485 mode OFF in the registry (Hkey_local_machine\drivers\builtin\serial\RS485=0).

This resolves the issue, or at least makes it go away. Do I need to terminate the serial port, even if nothing is connected to it, or something of the sort? I have also seen references in the postings to "automatic" serial events every 2000ms. Any thoughts?

superiorcontrols

25 Posts

Posted - 28 Feb 2003 :  16:33:39  Show Profile  Email Poster
As an interesting note . . . COM1 is *not* connected to anything yet!! My app is rather intensive on using COM2

When I start up, everthing is running really slow. I yank the ribbon cable out of J7, disconnecting Com2, in an unfriendly way, and the system starts running very well again.

Any help is very appreceiated.
Go to Top of Page

superiorcontrols

25 Posts

Posted - 28 Feb 2003 :  16:37:15  Show Profile  Email Poster
Okay, just to clarify that this is NOT a cable issue: The same results accour if I disconnect my COM2 device at the other end too.

Sorry for the multi post.
Go to Top of Page

akidder

1519 Posts

Posted - 28 Feb 2003 :  16:46:34  Show Profile  Email Poster
Eric has uncovered a bug in the GC Plus serial driver. If RS-485 is enabled, it inserts a 5ms delay (for powering off the transmitter) at the end of each data block on ALL serial ports, not just COM1.

The short term workaround is to transmit serial data in blocks, rather than one character at a time. This places the delay only at the end of the data block.

We regret any inconvenience this may cause our customers. We will correct the drivers and rebuild the image shortly.
Go to Top of Page

superiorcontrols

25 Posts

Posted - 28 Feb 2003 :  16:54:06  Show Profile  Email Poster
Thanks for the acknowledgement, I think ;-)

Can you give us a better definition of "rebuild the image shortly?" Is this a few days, week, a month? Thanks again.
Go to Top of Page

Mono

4 Posts

Posted - 17 Mar 2003 :  11:54:12  Show Profile  Email Poster
Does this affect the GM as well or is this just a GC? I'm seeing problems in the GM as well although we are transmitting in blocks, however, the RTS line toggles the transmitter off during the middle of a block of data.
Go to Top of Page

akidder

1519 Posts

Posted - 17 Mar 2003 :  12:12:35  Show Profile  Email Poster
We identified a timing problem in the RS-485 drivers recently and corrected it in GC Plus 32M build 3.45 and GMaster 32M build 3.36(zip 10MB)

Can you give that build a try and let us know if it takes care of the issue?

-Drew
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000