|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
Re: Printf and debuging fun....
Seems like a silly thing to ask, but you do have the serial cable connected properly and IFI loader open, right?
|
|
#3
|
|||||
|
|||||
|
Re: Printf and debuging fun....
Quote:
|
|
#4
|
||||
|
||||
|
Re: Printf and debuging fun....
Quote:
Are you dropping characters or having intermittent issues? If so, you may have too many printf statements and you are overrunning the USART buffers. |
|
#5
|
||||
|
||||
|
Re: Printf and debuging fun....
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. |
|
#6
|
|||
|
|||
|
Re: Printf and debuging fun....
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) |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|