Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16680 Discussions

[ubuntu] Quartus 10.0 NiosII IDE nios2-download problem

Altera_Forum
Honored Contributor II
1,139 Views

hello, 

I've installed the new version Quartus 10.0 and the NiosII IDE. 

but I have a problem when I was downloading Nios program to DE2-70. 

jtag cable and device have been found. 

and the error message is: 

 

/opt/altera/10.0/nios2eds/bin/nios2-download: 24: function: not found 

cd: 55: Illegal option -- 

eval: 1: search_for_jdi: not found 

There are no Nios II CPUs with debug modules available which match the values 

specified. Please check that your PLD is correctly configured, downloading a 

new SOF file if necessary. 

 

and I found a discussion and suggested solution: 

This happens in Ubuntu Linux, since some scripts are not fully compatible with Ubuntu. 

 

that doesn't solve my problem. 

so, I'm asking for help. 

Is there anyway to solve this problem? 

 

thank you for the attention.
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
474 Views

I got the same error on Quartus 9.1 , my system is ubuntu 10.04 x64.:mad:

0 Kudos
Altera_Forum
Honored Contributor II
474 Views

I found a way to solve this problem: use "sudo" to run the NIOS II IDE.;)

0 Kudos
Altera_Forum
Honored Contributor II
474 Views

I face the same problem. I use ubuntu 10.04 and quartus 10.0 

@dukedz: 

I've tried your way, but still failed :( 

 

any suggestion?
0 Kudos
Altera_Forum
Honored Contributor II
474 Views

I don't know if it would help but I faced the same problem. 

 

I converted my .elf program to .hex format using elf2hex and used this file as initial memory content for my onchip_memory. I recompiled my design to recreate the .sof. When I downloaded this new file on my kit the program run normally, and was possible to use nios2-download and nios2-terminal without those annoying messages. 

 

That is my set up: 

  • Quartus II Web Edition (v11.1 sp2) 

  • Development Kit: DE0-Nano Terasic 

  • OS: Arch Linux (x86_64) 

 

 

I hope it's helpfull 

 

H.G.
0 Kudos
Reply