[En-Nut-Discussion] UART Flow Control Broken?

Harald Kipp harald.kipp at egnite.de
Wed Aug 22 13:39:36 CEST 2012


Hi all,

Using the latest trunk, a RS-232 flash uploader stopped working. Due to long flash times, the routine uses Nut/OS

http://www.ethernut.de/nutwiki/UART_Hardware_Handshake

I discovered, that CM3 re-integration added

http://ethernut.svn.sourceforge.net/viewvc/ethernut/branches/devnut_m3n/nut/dev/usart.c?limit_changes=0&r1=3043&r2=3128&pathrev=4163

Most probably this refers to the following comment

"usart.c mode_flags where not sent to driver correctly for all architectures: fixed."

If I didn't miss anything, XON/XOFF handshake is now automatically enabled each time _ioctl(UART_SETFLOWCONTROL) is called. In that case extra characters XON or XOFF may be added to the stream.

As this applies to all platforms: Does anybody else have RTC/CTS handshake working since version 5.0.4?

Regards,

Harald





More information about the En-Nut-Discussion mailing list