Nios® V Embedded Processor Design Handbook

ID 726952
Date 7/16/2025
Public

Visible to Intel only — GUID: vqn1712214317594

Ixiasoft

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 is applicable to the JTAG UART only.
  • The printf() library consumes large amounts of program memory.