Forum Discussion
Downloading ELF Process failed!
I am running NiosII IDE on my windows 7 professional laptop. When I first create a sopc project and complie and download *.sof into target board, then I also create a demo NiosII project "Hello world!" and debug it normally. Howerver, after I close NiosII IDE and restart it, I cann't debug it anymore eventhrough I don't change anything in both Quartus and sopc. It gives me a prompt that "Lanching hello_test Nios II hardware configuration has encourntered a problem. Downloading ELF Process failed". No matter I restart my laptop or power off my target board, it doesn't work! If I rebuild a new same sopc project and rebuild a new same NiosII project, it can work.But there is the same problem if I close it and restart it again. Please help me!:confused::confused::confused:
23 Replies
- Altera_Forum
Honored Contributor
- Altera_Forum
Honored Contributor
Make sure that timing is closed on the JTAG interface. USB Blaster II cables run at 24MHz by default. This should be constrained in your Quartus project like this:
If you need to slow down the clock rate with a USB Blaster II cable, run this command in a Nios Command Shell or Windows Command Shell.create_clock -name {altera_reserved_tck} -period 40 -waveform {0.000 20} { altera_reserved_tck }jtagconfig --setparam 1 JtagClock 6M - Altera_Forum
Honored Contributor
Which NIOS II IDE version a u using?
- Altera_Forum
Honored Contributor
I am using NiosII 10.0 SP1.
- Altera_Forum
Honored Contributor
Sounds like the problem I have every time I restart Quartus (which, as often as it crashes, is very often).
Try your first download after restarting from "Run Configurations..." rather than directly running something from the launch history. Once it gets back in sync, then running from the launch history works until you restart Quartus. - Altera_Forum
Honored Contributor
--- Quote Start --- Sounds like the problem I have every time I restart Quartus (which, as often as it crashes, is very often). Try your first download after restarting from "Run Configurations..." rather than directly running something from the launch history. Once it gets back in sync, then running from the launch history works until you restart Quartus. --- Quote End --- Dear Dong: There is no-way enen I restart my computer! - Altera_Forum
Honored Contributor
First off, I'd try getting the IDE/SBT for Eclipse out of the way.... From a "Nios II Command Shell" (or a properly configured shell on Linux) change directories to where your ELF file is stored and type the following command:
and report what you see back here. If this command doesn't appear to work, please also try typing:nios2-download -g <your ELF.elf> && nios2-terminal
and report the results here, as well. This will help to determine whether the issue you're seeing is GUI/Eclipse related, JTAG chain related, hardware/FPGA design related or...something else. Cheers, -- slackerjtagconfig -n- Amruth
New Contributor
Hii
I am also facing the same error for simple soc design on stratix 10 MX FPGA. I checked the connections, configurations and tried running through nios II command shell. But getting the error
Using cable "Intel Stratix 10 MX FPGA Development Kit [2-1.2]", device 1, instance 0x00
Pausing target processor: not responding
Resetting and trying again: FAILED
Leaving target processor paused
My quarters prime edition is 18.1.2 pro. Can you please help me out.
- Altera_Forum
Honored Contributor
--- Quote Start --- Sounds like the problem I have every time I restart Quartus (which, as often as it crashes, is very often). Try your first download after restarting from "Run Configurations..." rather than directly running something from the launch history. Once it gets back in sync, then running from the launch history works until you restart Quartus. --- Quote End --- I finially fix it by updating NiosII 10.0 sp1 to 10.1. Downloading the program after "Run Configurations..." to check whether the mcu is in sync. Maybe Version 10.0 sp1 is a bug one. - Altera_Forum
Honored Contributor
Try to remove the terminal before quiting NIOS2-IDE, click on the red button in the console to finish the connection before you quit NIOS-IDE.
By the way, use the console. Nios-ide is too buggy - Altera_Forum
Honored Contributor
I have same error, followed your commands, the result is
USB-Blaster [USB-0] 020F400DD EP3C40 node 19104601 node 1910 4600 node 0C006E01 Node 0C006E00 Slacker can you say sth for me.