Critical Issue
When you run nios2-gdb-server or nios2-flash-programmer on Windows in the Nios II command shell, you might see an error message similar to the following:
/cygdrive/c/Workspace/HelloWorld/HelloWorld.srec: Unable to open input file
This error occurs even though the file (e.g. HelloWorld.srec) actually exists.
This error occurs because nios2-gdb-server and
nios2-flash-programmer are no longer dependent on Cygwin. As a
result, they do not recognize Cygwin-style paths of the form
cygwin/<device
letter>/<pathname>.
Retype your path as a quoted Windows, mixed, or relative path, as in the following examples:
- Quoted Windows:
"C:\Workspace\HelloWorld\HelloWorld.srec" - Mixed:
C:/Workspace/HelloWorld/HelloWorld.srec - Relative:
../HelloWorld/HelloWorld.srec