[En-Nut-Discussion] Loosing characters on debug interface (uart) using printf
Ole Reinhardt
ole.reinhardt at kernelconcepts.de
Mon Jun 7 15:07:29 CEST 2004
Hi,
I noticed a strange behavior of Nut/Os when I'm using printf.
I first register devDebug0 and assign it as stdout:
NutRegisterDevice(&devDebug0, 0, 0);
freopen("uart0", "w", stdout);
_ioctl(_fileno(stdout), UART_SETSPEED, &baud);
When I now use printf the output is written to uart0. But I often loose
characters or even whole strings. Especially while producing high output
traffic.
Is this a known problem or normal behavior? Any fixes or workarounds?
Regards,
Ole Reinhardt
--
kernel concepts Tel: +49-271-771091-14
Dreisbachstr. 24 Fax: +49-271-771091-19
D-57250 Netphen E+ : +49-177-7420433
--
More information about the En-Nut-Discussion
mailing list