Description
You can use the nios-run utility to download the SREC file to the SRAM on the Nios Development Board and run it. The executable for nios-run is in the <Cygwin install>\usr\altera\excalibur\nios-sdk\bin directory. Make sure the nios-run.exe executable file is in your path and you can use it just as you would while in the BASH shell. Here is an example from the DOS prompt:
DOS prompt> nios-run hello_nios.srec
For more information about the nios-run utility, see the Nios Software Development Reference in the Nios installation or on the Altera web site.