Forum Discussion
Fpga_Egr_2025
Occasional Contributor
1 month agoDE2-115 Nios VGA demo
Hi , I am trying to run an VGA demo on DE2-115 board , i followed this document attached which is final univ project(see attached). But after successfully generating and compiling Quartus ver 18.1 p...
BoonBengT_Altera
Moderator
26 days agoHi @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