From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8799 invoked by alias); 2 Jul 2009 14:36:34 -0000 Received: (qmail 8789 invoked by uid 22791); 2 Jul 2009 14:36:34 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Jul 2009 14:36:29 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MMNOl-0007fN-As for ecos-discuss@ecos.sourceware.org; Thu, 02 Jul 2009 07:36:27 -0700 Message-ID: <24307911.post@talk.nabble.com> Date: Thu, 02 Jul 2009 14:36:00 -0000 From: grahamlab To: ecos-discuss@ecos.sourceware.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <24306125.post@talk.nabble.com> X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Simple serial comms X-SW-Source: 2009-07/txt/msg00008.txt.bz2 grahamlab writes: > Hello everyone > I am developing an ecos application using the STM3210E dev kit. > I want to do some serial comms but cannot receive more than 128 bytes. > I have tested this program using minicom to send the bytes > > Does anyone know how I can configure it to receive more bytes? > > http://www.nabble.com/file/p24306125/rawRead.cpp rawRead.cpp >I just happened to be doing some serial testing on an STM32 board >here, so I gave your test a go. I don't see any problems. As you can >see from the output below, I can just lean on a key and it comes >through in ~30 character chunks. So buffer sizes don't seem to be a >problem. >How are you sending the bytes? I can also make my program behave like this. The problen arises when I send the data in a chunk > 128 bytes - either using minicom or another program. >What sort of RS232 device are you using on the host side? I have seen >some odd behaviour from USB to RS232 adaptors. But that was mostly >around flow control behaviour. I was using an FTDI based adaptor for >the test below. I have a lap top with usb->serial adapters The problem is when a block of data is sent -- View this message in context: http://www.nabble.com/Simple-serial-comms-tp24306125p24307911.html Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss