public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] serial problem in i386
@ 2000-09-23 10:35 danish iftikhar
  0 siblings, 0 replies; only message in thread
From: danish iftikhar @ 2000-09-23 10:35 UTC (permalink / raw)
  To: ecos-discuss

  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 .

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-09-23 10:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-23 10:35 [ECOS] serial problem in i386 danish iftikhar

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).