Forum Discussion
Altera_Forum
Honored Contributor
21 years agoDoes it only stop working when you try to print?
If you have the following combination, the printf() will become a blocking operation when the output buffer fills, and has nowhere to go..: 1. jtag_uart (defined as STDOUT) 2. _NO_ system timer (interval timer, defined as the system clock in the IDE) 3. _NO_ cable connected via the jtag_uart (or no program running on the other end of the cable) Either add a system timer to your system or, if your printf()s are for debug,# ifdef them out for "release" builds. That is, of course, if this is what you have done. :-) Best Regards and Best of Luck! - slacker