Knowledge Base Article

Why does niosv-download download ELF file incorrectly into the 1st device despite that the --device is specified to 2nd device?

Description

Due to a problem in the Quartus® Prime Edition’s niosv-download device indexing function, niosv-download might incorrectly download ELF file into the 1st device, despite --device is specified to the 2nd device.

This problem affects both,

  • niosv-download with OpenOCD (Using --use_openocd)
  • niosv-download with Ashling* GDBServer (Not using --use_openocd)

This problem only happens with two similar FPGA devices with Nios® V design in each of the devices that resides on the same JTAG chain.

You are not impacted,

  • If only one of the FPGA device have Nios® V design.
  • If the FPGA devices has different OPN.
Resolution

Download Type 1: niosv-download with OpenOCD (with “--use_openocd”)

Do not use the --use_openocd option.

Instead:

    1. Use niosv-download with the Ashling* GDBServer download flow (without --use_openocd).
    2. Install Patch 0.42 described below.

This problems (niosv-download with OpenOCD) is currently scheduled to be resolved in a future release of the Quartus® Prime Edition Software.

 

Download Type 2: niosv-download with Ashling* GDBServer (without “--use_openocd”)

Install Patch 0.42 for Quartus® Prime Pro Edition Software v25.3.

Patch Download:

    • Quartus® Prime Pro Edition Software v25.3 Patch 0.42 (Windows/Linux)
      • quartus-25.3-0.42.zip

This problems (niosv-download with Ashling* GDBServer) is resolved in Quartus® Prime Pro Edition software version 26.3, and scheduled to be resolved in a future release of the Quartus® Prime Standard Edition software.

Updated 10 hours ago
Version 2.0
No CommentsBe the first to comment