[En-Nut-Discussion] possible bug in fopen?
Harald Kipp
harald.kipp at egnite.de
Sat May 7 19:16:40 CEST 2011
Hi Ulrich,
On 5/6/2011 10:13 AM, uprinz wrote:
> While debugging with insight-gdb I can see, that the bootloader initialized
> the USART and does an fopen call. Right after the fopen there is an USART
> interrupt fired. This isn't what I expected as at that point no printf ever
> has been called.
I'm not familiar with STM32 peripherals, but I'm almost sure, that the
reason for the interrupt is in this area.
The only case I can think of is, that an XON is sent early with a
special software handshake mode, which assumes, that the remote sender
is in XOFF state initially. But I do not think, that this special mode
ever had been implemented in any Nut/OS driver.
Btw. this mode is often used with CNC machines.
Regards,
Harald
More information about the En-Nut-Discussion
mailing list