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

Flash Programming without SDK

Altera_Forum
Honored Contributor II
2,309 Views

I'd like to use the nios2-flash-programmer utility on a machine that does not have full NIOS SDK installed. Is there something freely available from Altera that would let me do this? 

 

-Kevin
0 Kudos
9 Replies
Altera_Forum
Honored Contributor II
870 Views

From the following thread: 

http://www.alteraforum.com/forum/showthread.php?t=5244&referrerid=2226 

 

2 - What I do for production ... 

. a - Install the Quartus II standalone programmer on the production PC. Availalble here: 

https://www.altera.com/support/software/download/programming/quartus2/dnl-quartus2_programmer.jsp 

 

. b - Copy the following files from your development PC and package them with your programming files... 

. nios2-flash-programmer.exe 

. cygwin1.dll 

. jtag_atlantic.dll 

 

This should be all you need to run the nios2 flash programmer on the production PC. It's a whole lot faster than using the jtag indirect method with the quartus II programmer.
0 Kudos
Altera_Forum
Honored Contributor II
870 Views

Hi, jakobjones, could you please tell me which directory on the production PC should I put the package copied from the development PC? One more question, is it necessary to put these files in the same fold or compress them? Thanks very much!

0 Kudos
Altera_Forum
Honored Contributor II
870 Views

The Quartus II programmer just needs to be installed on the manufacturing PC. The files that I've indicated need to be copied need only be placed somewhere that you can access them. I put them in the same folder as my scripts or applications that perform the programming. No need to compress them and I wouldn't do so. 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
870 Views

Thanks, Jake. However, when I use the nios2-flash-programmer command, it shows that "jtag_client.dll" does not exist. It seems that "jtag_client.dll" is also needed to be included in the same fold.

0 Kudos
Altera_Forum
Honored Contributor II
870 Views

I believe that DLL exists in the Quartus II Programmer install. See if you can find it. You may need to add the path to the programmer as part of your path environment variable. 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
870 Views

For example, my scripts add "C:\altera\80\qprogrammer\bin" to the PATH environment variable before running the programmer. 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
870 Views

I right click "my computer" and choose "advanced" tag. Then by clicking "environment variables", I add a variable with the value of the directory where quartus II programmer is installed. However, I still cannot run the programmer. Is there something wrong? Thank you!

0 Kudos
Altera_Forum
Honored Contributor II
870 Views

 

--- Quote Start ---  

From the following thread: 

http://www.alteraforum.com/forum/showthread.php?t=5244&referrerid=2226 

 

2 - What I do for production ... 

. a - Install the Quartus II standalone programmer on the production PC. Availalble here: 

https://www.altera.com/support/software/download/programming/quartus2/dnl-quartus2_programmer.jsp 

 

. b - Copy the following files from your development PC and package them with your programming files... 

. nios2-flash-programmer.exe 

. cygwin1.dll 

. jtag_atlantic.dll 

 

This should be all you need to run the nios2 flash programmer on the production PC. It's a whole lot faster than using the jtag indirect method with the quartus II programmer. 

--- Quote End ---  

 

 

I'm wondering, are any licensing issues that I should be concerned about if I were to send these files to someone who does not originally have the NIOS EDK?
0 Kudos
Altera_Forum
Honored Contributor II
870 Views

The NIOS EDK is freely available. Also, I have a hard time thinking that Altera would have any problem with someone using their tools to help produce products using their parts. 

 

Jake
0 Kudos
Reply