I'm using a lot of printf()s in my code to debug via an UART interface. This works perfectly well for most of the printf()s. But some of them fail to produce any output! These are simple printf()s with only one parameter.
One of them only fill in blanks for as many characters as it should print, another only sends its \n to the terminal. Yet another prints "We have \n" where I put in a printf ("We have link "); in my code.
I include io.h, pgmspace.h and stdio.h in that order. I'm using TeraTerm at 57600baud. I've checked all my cables etc.
Are there any known bugs with printf() in avr-gcc (GCC) 3.4.3? I did use printf_P() for a while. But my code has to be portable to other compilers. So I wanted to go for good old printf() rather than defining macros and stuff.
Hope you can help me out on this one!