This is the mail archive of the ecos-discuss@sources.redhat.com 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]

serial problem in i386



  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.


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