Forum Discussion
Altera_Forum
Honored Contributor
15 years agoSending data to jtag uart data when no jtag is connected
I have a Nios application which sometimes shows little debug info through jtag uart. Excluding error conditions, debug prints take place only when application starts and whenever a network connection...
Altera_Forum
Honored Contributor
15 years agoOk. I use HAL driver with ucOS, then I understand this is actually safe.
Before, I did some experimental tests, as you suggested, but since my printf were minimal, I couldn't test long enough to be sure the problem would never appear when the board operates for an indefinite period of time. The debug_print macro was exactly what I thought to implement in case there could be problems, but I wanted to avoid searching and replacing the printf all around the code. Thank you