Forum Discussion
Downloading ELF failed
What do I do if I have the error "Downloading ELF failed" in Nios II SBT?
I built a system in Qsys that had 0 errors, it compiled and I could load it to the board. What is then the error in Nios II SBT when I can't load the ELF file? I tried different run configuration but none of them works. The processor doesn't seem to respond:
$ nios2-download -g system.elf Using cable "USB-Blaster ", device 1, instance 0x00
Pausing target processor: not responding.
Resetting and trying again: FAILED
Leaving target processor paused18 Replies
- Altera_Forum
Honored Contributor
The design looks like this http://i.imgur.com/z93jrly.png
It compiles. The projects builds. It doesn't work. Fails with "downloading ELF failed". - Altera_Forum
Honored Contributor
Are you running the project after connecting to any DE board. Also after you build the project. Go to quartus compile the project and dump into FPGA. And then comeback to eclipse and select run as hardware.
- Altera_Forum
Honored Contributor
Also while you are generating the qsys project. Just have a look in to the files in the pop up where the message appears as generated successfully. Is there nay error or warning as FWD_pointer or something. OR you can go to nios command shell in qsys<tools. Just have a look if this message popups or not.
- Altera_Forum
Honored Contributor
--- Quote Start --- Are you running the project after connecting to any DE board. Also after you build the project. Go to quartus compile the project and dump into FPGA. And then comeback to eclipse and select run as hardware. --- Quote End --- Yes I connect it to the DE2-115. I do it right. Nothing works. - Altera_Forum
Honored Contributor
--- Quote Start --- Also while you are generating the qsys project. Just have a look in to the files in the pop up where the message appears as generated successfully. Is there nay error or warning as FWD_pointer or something. OR you can go to nios command shell in qsys<tools. Just have a look if this message popups or not. --- Quote End --- There is no indication that I'm doing anything wrong before the end. And then the error can be anything. Such a debug environment is not good where the error can be anything and waits until the end to generate error msg. - Altera_Forum
Honored Contributor
It wont show the error but as a warning when you are generating the qsys files than see on the box is it showing the warning as something like FWD_pointer.
- Altera_Forum
Honored Contributor
Also can you attach the message files you are getting after building the project.
- eamun1
New Contributor
Is this problem solved? I'm facing the same issue trying different quartus version. 19.1 18. 20.1