posix function (read/write) unusual beavior

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Jul 21 15:40:08 UTC 2014


On 07/21/2014 04:42 PM, Gabriel Ibarra wrote:
> In this example, when i press 0123456789 the output looks like:
> ]�\     B�\^0123456789
>
> I said "with some configurations" because I found that if I define maximum
> devices to 4 (#define CONFIGURE_MAXIMUM_DEVICES 4) it works well, but
> with #define
> CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 4 and if I remove #define
> CONFIGURE_STACK_CHECKER_ENABLED  the problem appears again.
>
> I don't know if I'm doing something bad or if it is a bug, Can someone help
> me with that?

This looks like a bug. I would set a write break point to the UART data 
register and look who writes what to this register.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list