AN 1000: Drive-on-Chip Design Example: Agilex™ 5 Devices

ID 826207
Date 7/08/2024
Public
Document Table of Contents

3.6. Programming the Nios V/g Software to the Device for the Drive-on-Chip Design Example for Agilex Devices

  1. Program top.sof.
    The software is automatically copied to the CPU memories for running using .hex files located in <project>/software/dniosv_subsystem/build/bin/mem_init to initialize the memories in the system.
  2. Run the JTAG UART terminal using the command juart-terminal -d 1 to see the design software application output.
    Figure 5. Software application Output
  3. If you modify the software, program the Nios V soft processor using the command line:
    >>niosv-download <project>/software/dniosv_subsystem/build/bin/app.elf -g