From mboxrd@z Thu Jan 1 00:00:00 1970 From: "danish iftikhar" To: ecos-discuss@sources.redhat.com Subject: [ECOS] serial problem in i386 Date: Sat, 23 Sep 2000 10:35:00 -0000 Message-id: X-SW-Source: 2000-09/msg00355.html 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 .