Forum Discussion
DE2-115 Nios VGA demo
Hi @Fpga_Egr_2025
"Downloading ELF Process Failed" happens after the Nios II Software Build Tools have built the ELF and are trying to load it. The hardware run first checks that the FPGA contains the design the BSP was built for, then downloads the ELF.
Would suggest to check on the following:
- Program the
.soffrom the same Quartus 18.1 compile that produced the.sopcinfoused to generate the BSP, then download the ELF again. A programmed image that does not match that BSP fails this check. - If the Platform Designer system changed after the BSP was created, right-click the BSP project, choose Nios II > Generate BSP, and rebuild the application. BSP settings taken from an older hardware system are a common cause of a later download or run failure.
- In Platform Designer, note the reset memory and every memory the linker script places the ELF in. For each of those memories, confirm that
cpu.data_masteris connected to it. The post does not show those connections, so this needs to be checked in your system rather than assumed. - Please send the exact Quartus version string from Help > About (for example, 18.1.0 or 18.1.1) and the full text of the Nios II Console at the failure. The 18.1 Update 1 issue about creating a new Nios II Eclipse project applies only if that project-creation error is what you see. It is a different failure from an ELF download after a successful software build.
- If the failure is intermittent, or the 10-pin JTAG header cable has been extended, check that cable. AN 100 states that extending the 10-pin portion of the download cable can cause noise and programming problems. A single hard failure after a successful compile is more consistent with the SOF, BSP, or memory-connection checks above.
Good references docs would be the : https://docs.altera.com/r/docs/683282/current/nios-ii-classic-software-developer-s-handbook/running-the-project-on-nios-ii-hardware
Best Wishes
- Fpga_Egr_202525 days ago
Occasional Contributor
- Program the .sof from the same Quartus 18.1 compile that produced the .sopcinfo used to generate the BSP, then download the ELF again. A programmed image that does not match that BSP fails this check.
Ans : it is the same project , i verify it every time i downloaded the .sof file
- If the Platform Designer system changed after the BSP was created, right-click the BSP project, choose Nios II > Generate BSP, and rebuild the application. BSP settings taken from an older hardware system are a common cause of a later download or run failure.
Ans : Yes i generated a new BSP every time i made changes to the qsys project and build the project in Nios IDE as well.
- In Platform Designer, note the reset memory and every memory the linker script places the ELF in. For each of those memories, confirm that cpu.data_master is connected to it. The post does not show those connections, so this needs to be checked in your system rather than assumed.
Ans :
- Please send the exact Quartus version string from Help > About (for example, 18.1.0 or 18.1.1) and the full text of the Nios II Console at the failure. The 18.1 Update 1 issue about creating a new Nios II Eclipse project applies only if that project-creation error is what you see. It is a different failure from an ELF download after a successful software build.
Ans : In Nios Console it see it verifying sys id and downloads soc as Nios based HW, but at the end i see this error.
- If the failure is intermittent, or the 10-pin JTAG header cable has been extended, check that cable. AN 100 states that extending the 10-pin portion of the download cable can cause noise and programming problems. A single hard failure after a successful compile is more consistent with the SOF, BSP, or memory-connection checks above.
Ans : I am testing it on DE2-115 board , i have other NIOS SOC projects working fine .