From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,cc65ab136f46904d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!138.195.8.3.MISMATCH!news.ecp.fr!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: GNAT.Serial_Communications Date: Sat, 16 Apr 2011 11:15:56 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <9af0087d-9637-40d9-8c30-2e06c2d1e4f4@o26g2000vby.googlegroups.com> <31dd80b2-3fd3-4078-8774-c396a52c94a0@r6g2000vbz.googlegroups.com> <0d509f1c-4ca7-4595-a026-65c108558d76@bl1g2000vbb.googlegroups.com> <35515c03-f565-4fc4-ac1c-e9b7268123b3@dn9g2000vbb.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 16 Apr 2011 11:15:56 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="u2mqF/bLFTGN/W61dh4y3w"; logging-data="320"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19zbA7I9OwJIiJVvRucz28+xZf8gN3roDs=" User-Agent: Pan/0.133 (House of Butterflies) Cancel-Lock: sha1:BPr4rSjxzzezHIvkJZoFvZwREhk= Xref: g2news1.google.com comp.lang.ada:18815 Date: 2011-04-16T11:15:56+00:00 List-Id: On Sat, 16 Apr 2011 03:33:39 -0700, tonyg wrote: > Just found the stty -a setting which gives me all settings, I think that > was maybe the full out put you were talking about before > > out put with minicom > > cs8 hupcl -cstopb cread clocal -crtscts ignbrk -brkint -ignpar -parmrk > Output with ada program > > -parodd cs8 -hupcl -cstopb cread clocal crtscts -ignbrk -brkint -ignpar But here, Minicom has -crtscts, Gnat has crtscts which is pointing at a difference in the handshaking. I bowed out of this thread earlier because I have no experience with USB serial interfaces, or the specific Gnat library. But this does look like you have to find a way to turn RTS/CTS handshaking off. > Whoever thought a serial port did so much? heh, there are so many combinations it used to be the norm to hack serial interfaces with a soldering iron. If all else fails, you can always short pins 4 and 6 at t'other end (assuming a traditional 25 pin D connector) to fake the handshaking. Not recommended with a USB port... - Brian