Forum Discussion
Nios II flash programmer error
Hello all,
I'm trying to generate the flash program to my device [de2-115], I'm generating the web server demo and using Nios II IDE (NOT Eclipse). However, I'm getting the error says on 80% of the program uploaded
Using cable "USB-Blaster ", device 1, instance 0x00
Resetting and pausing target processor: FAILED
Leaving target processor paused
What's the possible problem? what do you I've to change to let the program generate? FYI I've license for the Ethernet part, so I don't think the problem from this part.8 Replies
- Altera_Forum
Honored Contributor
The CPU not working can come from several factors, such as an Opencore evaluation expiring (if you don't have the license for the Nios II core) or a problem in your design, such as a bad clock, a stuck reset signal, or a design not meeting the timing requirements. Are you using the stock DE2-115 quartus project, or your own?
- Altera_Forum
Honored Contributor
Thanks Daixiwen,
I'm using Web Server [RGMII] demo. which is available on Terasic site. I've TSE license and I changed cpu to economic so I don't need to buy more license. But, what I'm not sure is the QII edition, I think it has a problem related to this issue. I'm using Q 10.1 sp1 Web edition. I've tried to use the TSE license for Subscribe edition, but it didn't work. - Altera_Forum
Honored Contributor
Even if it were a TSE license problem, the CPU would still answer.
Did you configure the FPGA with the .sof file you compiled with Quartus? Are there any timing fails reported by Timequest? Do you have the same problem if you use the .sof file from the standard nios project provided with the kit, instead of compiling your own? - Altera_Forum
Honored Contributor
I compile complete .sof, but there's unconstrained paths. However, last time there was unconstrained time and the project run with no problem. It was on evaluation time.
- Altera_Forum
Honored Contributor
Dear Daixiwen,
I've tried the original demo. It has the same unconstrained paths. However, I've run that before on evaluation time and it run perfectly. But I think I forgot some steps. here is another opinion Does the USB blaster has to do something with this? I'm using usb blaster for the 10.1 version, but I'm running the Nios 12.1. - Altera_Forum
Honored Contributor
I don't think the driver changed that much between 10.1 and 12.1, this shouldn't be a problem.
But if you take the precompiled .sof file delivered with the kit, not one compiled by you, do you have the same error message when trying to flash? Which paths are unconstrained? - Altera_Forum
Honored Contributor
Dear Daixiwen,
There are a lot of unconstrained paths https://www.alteraforum.com/forum/attachment.php?attachmentid=7242 I've tried to find a solution to edit this big amount of data, but I couldn't find. If you've a link from this forum or altera's document could you please post it to me. Let's try make all the paths constrained, and see where's the error. Regards, - Altera_Forum
Honored Contributor
From the numbers it seems that nothing is constrained. Are you sure this is coming from a kit example design? Isn't there a sdc file you can import with the input/output constraints?
What does it say in the "clocks" tab in the report? Do you see all your clocks at the correct frequencies? If you need to set up your own constraints, you can start reading the timequest user guide (http://www.alterawiki.com/wiki/timequest_user_guide) to understand how it works.