Nios® V Embedded Processor Design Handbook

ID 726952
Date 5/13/2024

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

2.6. Assigning a UART Agent for Printing

Printing is useful for debugging the software application, as well as for monitoring the status of your system. Altera recommends printing basic information such as a start-up message, error message, and execution progress of the software application.

Avoid using the printf() library function under the following circumstances:
  • The printf() library causes the application to stall if no host is reading output. This circumstance presents in JTAG UART only.
  • The printf() library consumes large amounts of program memory.