Altera_Forum
Honored Contributor
12 years agoNIOSII *** Stand-alone*** flash programmer
Hi, I am trying to get "nios ii stand-alone flash programmer" work in Windows.
I follow the Altera "NiosII flash programmer guide" : I --- Quote Start --- nstalling the Nios II Stand-Alone Flash Programmer To install the Nios II Flash Programmer in stand-alone mode, perform the following steps: 1. install the quartus ii stand-alone programmer from the Quartus II CD. thenios2-flash-programmer utility requires the quartus ii stand-aloneprogrammer
to access the jtag chain on the board. --- Quote End --- OK. We can also download 123MB from Altera website. I notice that installer first decompress the files and then copy them to destination. So, 200% disk space needed installation quartus ii stand alone flash programmer (version 12.0sp1) takes 860 mo (not well mentioned in documents). --- Quote Start --- 2. On a computer which has the Nios II EDS fully installed, find the executable file <Nios II EDS install path>/bin/nios2-flash-programmer.exe. 3. On the stand-alone computer, copy nios2-flash-programmer.exe to the directory
<quartus ii stand-alone programmer path>/bin. --- Quote End --- WELL, I just copy nios2-flash-programmer.exe to my standalone directory (of the stand-alone computer) --- Quote Start --- 4. On the computer with the full Nios II EDS installation, find the Windows library file c:/cygwin/bin/cygwin1.dll. If you install cygwin separately from the Nios II EDS, your cygwin DLLs might reside in a different directory. 5. On the stand-alone computer, copy cygwin1.dll into c:/cygwin/bin (or the
equivalent path, based on the cygwin installation). --- Quote End --- cygwin installation ? not found WELL I just copy cygwin1.dll to my standalone directory (of the stand-alone computer) If all files (my_SW_project.flash, nios2-flash-programmer.exe, cygwin1.dll) are located in <Quartus II Stand-Alone Programmer Path>/bin. Nios2-flash-programmer seems to work fine. But it is an ugly solution. To make nios2-flash-progammer work fine, I have to : * manually append <quartus ii stand-alone programmer path>/bin to path environment * OR search by hand <not_automatically_known_Quartus II Stand-Alone Programmer Path>/bin and pass my_SW_project.flash by using "d:\complicated_path_to_my_SW_flash\....." I also use nio2-flash-programmer for other purpose. So It will be greatfull if Quartus II Stand-Alone Programmer installer updates the PATH environment (or equivalent) Have you experienced Nios II standalone flash programmer ?