[En-Nut-Discussion] UART problem with 0x0D and 0x0A characters

Jean Pierre Gauthier jp.gauthier at wanadoo.fr
Sun Feb 6 09:42:14 CET 2005


Yes,
Devalid  UART_SETCOOKEDMODE option...
JP


param_long = 0; 
_ioctl(*hcom, UART_SETCOOKEDMODE, &param_long);


-----Message d'origine-----
De : en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] De la part de Martin Paces
Envoyé : dimanche 6 février 2005 09:36
À : En-Nut-Discussion at egnite.de
Objet : [En-Nut-Discussion] UART problem with 0x0D and 0x0A characters

Hi all,
I'm trying to implement a ZModem into ethernut and it seems to work well,
but there is a big problem, if receiving 0x0D and 0x0A characters (CR, LF);
If I send the 0x0D character into a device, it receives two characters, 0x0D
and 0x0A as well. The same situation is with the output. If I send 0x0D
character from the device, the terminal receives two characters, 0x0D and
0x0A :-(((

This took me such a ling time, but I couldn't find any solution, the Uart
device makes it automaticly :-(

Please, please, is there any solution, how to receive and transmit only one
character? 

Thanks a lot, Martin Paces.
_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion







More information about the En-Nut-Discussion mailing list