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: Serial communications


On Wed, Jul 08, 2009 at 04:41:31AM -0700, grahamlab wrote:
> I run Sun Virtual box on a lap top and have USB to serial converters.
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

IMO, it can be an issue: virtual comms + FTDI USB-serial driver. Your
environment is the very virtual thing :-(

> I have tried the serial tests via an environment with 'real' serial ports
> and get the same results.
> It seems to me that the when sending lots of bytes some are missed by the
> serial device driver  -I dont know why this happens as Nick can run with no
> problem.
> Do you have any ideas I can try?

Yet another thought. Do you noticed the sporadic resets on the boards?
Does your Laptop's USB port give 500 mA? I thought if your board get a
power supply from USB..., it can be yet another "under-water stone".
If your noticed the resets, try to use self-powered hub
http://en.wikipedia.org/wiki/Usb_hub

But, that is my guess only.

Sergei

-- 
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]