nios2-gdb-server or nios2-flash-programmer reports "Unable to open input file" - nios2-gdb-server or nios2-flash-programmer reports "Unable to open input file" Description 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>. Resolution 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 Custom Fields values: ['novalue'] Troubleshooting novalue True ['novalue'] ['FPGA Dev Tools Quartus II Software'] novalue 14.1 ['Programmable Logic Devices'] ['novalue'] ['novalue'] ['novalue'] - 2021-08-25

external_document