public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "danish iftikhar" <d_iftikhar@hotmail.com>
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] serial problem in i386
Date: Sat, 23 Sep 2000 10:35:00 -0000	[thread overview]
Message-ID: <F268tkyVKW447p9NBUL00002264@hotmail.com> (raw)

  Hi

   i have built ecos for i386 pc target and have run the test programs by 
downloading them to the target. Now i am trying to receive data through the 
serial port. for this i have enabled one of the ports in the ecos.ecc file .
my i386 pc has WINBOND W83627HF i/o chip , which has 16550 compatible UART . 
but while debugging i found that it is assigning device type as 8250 which 
it should not have done .
whenever i am sending data throgh the uart it is receiving only one byte at 
a time .
for ex. if i want to read 10 bytes through the port , i give the length in 
cyg_io_read as 10 . then suppose i want to transmit "abcdefghij" (theses are 
the 10 bytes ) , then what happens is that it will read only "j" , ie the 
last byte & will go in wait expecting the remaining 9 bytes to be 
transmitted , where as what should have happened is that it should keep on 
reading these 10 bytes .
can anyone specify any solution to this.. is it some problem with winbond 
chip or some bug in the eCos code itself.

regards
danish.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .

Share information about yourself, create your own public profile at 
http://profiles.msn.com .

                 reply	other threads:[~2000-09-23 10:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F268tkyVKW447p9NBUL00002264@hotmail.com \
    --to=d_iftikhar@hotmail.com \
    --cc=ecos-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).