Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

Flash Programming without SDK

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

9 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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!

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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!

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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