HDMI Stratix® 10 FPGA IP Design Example User Guide

ID 683701
Date 4/09/2024
Public
Document Table of Contents

2.15.1. Software Debugging Message

You can turn on the debugging message in the software to provide you run-time assistance.

To turn on the debugging message in the software, follow these steps:

  1. Change the DEBUG_MODE to 1 in the global.h script.
  2. Run script/build_niosv_sw.py on the Nios® V Command Shell. Run the script using Nios® V command shell. Command: "quartus_py build_niosv_sw.py".
    • For Windows environment: Open " Nios® V Command Shell" from the Windows search path.
    • For Linux environment: cd to <Quartus installation path>/niosv/bin and run "niosv-shell".
  3. Reprogram the generated software/tx_control/tx_control.elf file by running the command on the Nios® V Command Shell:
    niosv-download -r -g software/tx_control/tx_control.elf
  4. Run the Nios® V terminal command on the Nios® V Command Shell:
    juart-terminal
When you turn on the debugging message, the following information print out:
  • TI redriver settings on both TX and RX are read and displayed once after programming ELF file.
  • Status message for RX EDID configuration and hotplug process
  • Resolution with or without FRL support information extracted from EDID on the sink connected to the TX. This information is displayed for every TX hotplug.
  • Status message for the TX link training process during TX link training.