Forum Discussion
Altera_Forum
Honored Contributor
21 years agoHi,
If you disable interrupts somewhere and it can not get out that piece of code --> the printing stops becuase the interrupt that drives the sending process is not coming through anymore. Maybe to indicate the program flow, a simple putchar can do. It doesn't need the processing time of the printf and needs (worst case) only the time for sending one character. However, be sure that it is not sending to the same buffer system as the printf. Maybe you can use a seperate uart and custom putchar like function for this special debug case. So the debug output will not be intermixed with other messages from your software. Stefaan