Knowledge Base Article

How do I download an SREC file (.srec) to the Nios™ Development Board without launching the BASH shell (i.e., from the DOS prompt)?

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.

Updated 3 months ago
Version 3.0
No CommentsBe the first to comment