Article View: borland.public.cppbuilder.nativeapi
Article #10517Re: Serial Communications issue
From: tomdas
Date: Tue, 13 Apr 2004 21:23
Date: Tue, 13 Apr 2004 21:23
36 lines
2404 bytes
2404 bytes
Thanks again for your immediate reply, I have a specific hardware connected to my serial port which uses the RTS pin to control the reset pin of a smart card. This hardware is known as phoenix interface which doesn't have an external microcontroller to accept data from the pc and do some functions such as write or read to the card.These function are making through pc s/w. There is only an rs232 translator to give to the cards the TTL signals that are needed. Tomorow I will test if the h/w makes some malfunction to the serial port and will come back. "Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message news:407c557d$1@newsgroups.borland.com... > > "tomdas" <tomdais@otenet.gr> wrote in message > news:407c48e2$1@newsgroups.borland.com... > > > But I want to use the RTS pin as I/O pin to my external hardware, > > and not use it for hardware flow control. > > Before transmitting I am clearing the Receive buffer using PurgeCom > > function. > > Unless you are calling CancelIo() in your code, which I suspect you are not, > the only way to get the kind of error you are describing is due to hardware > failure. You probably still have the serial port misconfigured. Especially > since you are no using flow control of any kind, you probably are > overflowing the serial port, amongst other possibilities. Why aren't you > using flow control to begin with? > > > Gambit > >
Technical Details
Message-ID:
<407c5a5e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<407c11a7@newsgroups.borland.com> <407c3492$1@newsgroups.borland.com> <407c48e2$1@newsgroups.borland.com> <407c557d$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,a3ab790bb03822fa X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-04-13 14:39:49 PST From: "tomdas" <tomdais@otenet.gr> Newsgroups: borland.public.cppbuilder.nativeapi References: <407c11a7@newsgroups.borland.com> <407c3492$1@newsgroups.borland.com> <407c48e2$1@newsgroups.borland.com> <407c557d$1@newsgroups.borland.com> Subject: Re: Serial Communications issue Date: Wed, 14 Apr 2004 00:23:40 +0300 Lines: 38 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 62.103.136.131 Message-ID: <407c5a5e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1081891422 62.103.136.131 (13 Apr 2004 14:23:42 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail