Altera_Forum
Honored Contributor
14 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 is accepted or closed.
My concern is if this could affect the performance or may possibly cause problems when, on the field, the jtag is not connected. I mean, is jtag uart data queued in a buffer which keeps on increasing and eventually can end up in a heap overflow, reduced system speed or something like that? Or maybe data is automatically discarded by the driver if no jtag connection exists? Should I remove all debug prints in the release or can I safely leave them in the code? Regards Cris