This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Simple serial comms



grahamlab <graham.labdon@cranems.co.uk> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]