[En-Nut-Discussion] UART 0 + 1
Hermann Schulz
hs at ehse.de
Mon Feb 26 17:48:01 CET 2007
Hello group,
I use Ethernut 2.1 Version 4.2.1 and the AVR Icc V7 Compiler.
Compiler Switch: ETHERNUT2 __MCU_enhanced __HARVARD_ARCH__
CPU AT Mega 128
len = _read(_fileno(uart), inbuf, sizeof(inbuf));
if(len)
_write(_fileno(uart), inbuf, len);
When I go to this routine first, it works correctly.
But all next steps I get in the len the value of sizeof(inbuf) (128 Bytes).
Can anybody give me a hint?
regards
Hermann
More information about the En-Nut-Discussion
mailing list