[En-Nut-Discussion] UART Ethernut3 stop receiveing bytes after a while

ml mludwig at adc-elektronik.de
Sat Feb 2 16:46:26 CET 2008


Hi,

i run into a problem with uart. the small loop in the example produce an
echo at the 
uart. Uart is initialized in normal Mode without handshake and so on.
If i type in some characters in the terminalwindow all is ok. But if i
transmit short
strings from pc with full speed after a while the receiver isn´t working
anymore.
In debugger i can see that the sig_UART Interrupt is never called again.  

when i put in the nutsleep instruction  it works for hours. 

   NutRegisterDevice(&DEV_UART0, 0, 0); 
   com1 = fopen(DEV_UART_NAME, "r+b");

   for(;;) {
  //   NutSleep(20);
     if ((c=fgetc(com1)) != EOF) {
       fputc(c,com1);
       fflush(com1);
     }
   }

any help for this strange problem ?
ENUT 4.4.0  with Eclipse and openocd
Martin
-- 
View this message in context: http://www.nabble.com/UART-Ethernut3-stop-receiveing-bytes-after-a-while-tp15244046p15244046.html
Sent from the MicroControllers - Ethernut mailing list archive at Nabble.com.




More information about the En-Nut-Discussion mailing list