Discussion forum for the BasicX family of microcontroller chips.
Problems with COM-port when nothing connected? - berndt_ring2000 - Mar 22 5:19:52 2007
Hi.
Can someone confirm if there is problems with COM-ports when nothing is
connected to them?
Thing is that I have an application that does some logging of data to
memory and at the same time I want to be able to have the same data
outputted through the a serial port.
BUT it seems (not 100% confirmed) that when no PC is connected the
program runs for some time (duration varies) and then I get hangings,
restarts, you name it.
Any comments, ideas or suggestions what to do is much appreciated.
//Berndt

(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )
Re: Problems with COM-port when nothing connected? - Craig - Mar 22 10:44:00 2007
I can confirm with 100% certainty that this condition can exist. I
have an application that stops processing after 10-60 seconds if my
PC/Laptop is not connected. The laptop does not need to be powered
up just connected. I have tried loading down the TX/RX pins with
some external resistors with mixed results.
As the laptop is used for this application frequently, it is not a
big issue to have it connected but annoying at most.
As long as the laptop remains connected I have not had any problem
with the program. Go figure!
Craig
--- In b...@yahoogroups.com, "berndt_ring2000"
wrote:
>
> Hi.
> Can someone confirm if there is problems with COM-ports when
nothing is
> connected to them?
> Thing is that I have an application that does some logging of data
to
> memory and at the same time I want to be able to have the same
data
> outputted through the a serial port.
> BUT it seems (not 100% confirmed) that when no PC is connected the
> program runs for some time (duration varies) and then I get
hangings,
> restarts, you name it.
>
> Any comments, ideas or suggestions what to do is much appreciated.
> //Berndt
>

(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )Re: Problems with COM-port when nothing connected? - rosa...@aol.com - Mar 22 12:27:13 2007
Hi,
I ran into that problem long time ago. I fixed the problem by building a dummy plug with
pins 1,4 and 6 jumping together, 4 and 5 together and 2 and 3 together. This will fool the
computer to read -12 in the Rx pin by using the -12 from the Tx pin. This works specially
also when you used only 3 wires to connect to a device. The computer end connector should
be wire as explained above with the exeption of the Tx and Rx pins. Some people let these
pins floating and then when your program try to input from the COM-port will lock.
Also, if you input from the COM-port with nothing connected the program will locked.
Hope it's work for you.
Tomas Rosario
-----Original Message-----
From: b...@hotmail.com
To: b...@yahoogroups.com
Sent: Thu, 22 Mar 2007 3:19 AM
Subject: [BasicX] Problems with COM-port when nothing connected?
Hi.
Can someone confirm if there is problems with COM-ports when nothing is
connected to them?
Thing is that I have an application that does some logging of data to
memory and at the same time I want to be able to have the same data
outputted through the a serial port.
BUT it seems (not 100% confirmed) that when no PC is connected the
program runs for some time (duration varies) and then I get hangings,
restarts, you name it.
Any comments, ideas or suggestions what to do is much appreciated.
//Berndt
________________________________________________________________________
AOL now offers free email to everyone. Find out more about what's free from AOL at
AOL.com.
[Non-text portions of this message have been removed]

(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )
Re: Problems with COM-port when nothing connected? - Chris - Mar 22 13:26:33 2007
This should not happen. Can anyone post an example of
a program that will cause this to happen?
Chris
----- Original Message -----
From: "berndt_ring2000"
To:
Sent: Thursday, March 22, 2007 2:18 AM
Subject: [BasicX] Problems with COM-port when nothing connected?
> Hi.
> Can someone confirm if there is problems with COM-ports when nothing is
> connected to them?
> Thing is that I have an application that does some logging of data to
> memory and at the same time I want to be able to have the same data
> outputted through the a serial port.
> BUT it seems (not 100% confirmed) that when no PC is connected the
> program runs for some time (duration varies) and then I get hangings,
> restarts, you name it.
>
> Any comments, ideas or suggestions what to do is much appreciated.
> //Berndt
> Yahoo! Groups Links
>

(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )