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

5.5.3. Device Programming

To program Nios® V processor based system into the FPGA and to run your application, use Quartus® Prime Programmer tool.
  1. To create the Nios® V processor inside the FPGA device, program the .sof file onto the board with the following command.
    Table 34.  Command
    Operating System Command
    quartus_pgm -c 1 -m JTAG -o p;top.sof@1
    quartus_pgm -c 1 -m JTAG -o p\;top.sof@1
    • -c 1 is referring to cable number connected to the Host Computer.
    • @1 is referring to device index on the JTAG Chain and may differ for your board.
  2. Download the .elf using the niosv-download command.
    niosv-download -g <elf file> 
  3. Use the JTAG UART terminal to print the stdout and stderr of the Nios® V processor system.