Printf and debuging fun....

I need some help… I cant get output from all the printfs in my code…
Any and all help is appreciated!
Much Thankx~
Team 1458

Seems like a silly thing to ask, but you do have the serial cable connected properly and IFI loader open, right?

When you say this do you mean you are getting some printfs and not all? If this is the case perhaps the printf are in a portion of the code that is not running.

Please elaborate and maybe we can help you.

Are you dropping characters or having intermittent issues? If so, you may have too many printf statements and you are overrunning the USART buffers.

Does the line
#include <stdio.h>
at the top of all the files in which you’re using ‘printf’? Early on I realized that if I omitted it I didn’t get any output on the console.

are you using code built for the DDT (dynamic debugger)?
if so, printf’s are transmitted through the TTL port (for documentation see the pdf in the “FRC DDT Code” zip at http://www.ifirobotics.com/rc.shtml#Programming)