Forum Discussion
DE2-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 project and then its related software in Nios-ll Eclipse IDE i get this error "Downloading ELF Process Failed.
See Quartus Project attached.
Thanks,
Regards
8 Replies
- ai_responder
Community Manager
Thank you for your inquiry. To ensure an accurate response, your request has been routed to an Altera application engineer for further review and assistance.
Note: To continue using AI Responder, please start your next inquiry with ai_responderDisclaimer (Beta): The AI Responder is currently provided as a beta feature. AI-generated responses may contain errors or omissions. Please verify technical guidance with official Altera documentation before implementation.
Thank you very much.
- Fpga_Egr_2025
Occasional Contributor
Hi , Haven't received any reply or feedback up till now ????
- Fpga_Egr_2025
Occasional Contributor
- Fpga_Egr_2025
Occasional Contributor
Hi , I am still waiting for any tip or advice to make this SOC work on DE2-115 dev board ??????
- BoonBengT_Altera
Moderator
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_2025
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 .
- Program the
- Fpga_Egr_2025
Occasional Contributor
Hi , I would highly appreciate if a human replies to resole my issue , thanks.
- Fpga_Egr_2025
Occasional Contributor
See attached a short video of the .elf error when i run the application in Nios IDE