Hi Walter,
I have made some tests, and to me this indeed might be related to the stdio implementation in the ARM/Launchpad libraries.
I get a different result if not using the newlib nano (using the stdlib):
printf("hello world!\r\n");
fprintf(stdout, "Stdout output: %d\r\n", i);
fprintf(stderr, "StdErr output: %d\r\n", i);
gives
hello world!
Stdout output: 0
StdErr output:
0
I'm puzzled by that newline for StdErr, but at least it looks better.
While with newlib nano I get same as you report:
hello world!
Stdout output: 0
S
t
d
E
r
r
o
u
t
p
u
t
:
0
I have not checked with newer ARM versions of the GNU libraries, but maybe using newlib gets you closer to what you need?
I hope this helps,
Erich