Forum Discussion
Altera_Forum
Honored Contributor
21 years agoI have "similar" problems.
I amb writing a program with the Nios SDK, which consists on a bucle, and and interrupt. The STDIO is a uart, I have system timer, and I have a cable connected. First, I have no printfs in the bucle, and some in the interrupt (it occurs once a second, with enough time for the traces to process). I receive the interrupt 4 times and it stops (I don't know if the program stops, or only the interrupt). If I define traces in the main bucle (a "."), when the interrupt fires it hangs (without tracing anything of the interrupt). If I don't call any printfs, all works OK. So this seem to show that printfs are smoeway dangerous... why? Should they? Alex