Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12453 Discussions

nios2-terminal can't read input from pipe

Altera_Forum
Honored Contributor II
1,018 Views

I get this error when I try to pipe even one line into nios2-terminal: 

 

nios2-terminal: error: Gathering input from STDIO 

 

I'm running 16.1 196 on Windows 7. 

 

I've tried using cat as well as my own C program that does a popen() around nios2-terminal. 

 

cat test.cmd | nios2-terminal -i 0 

 

If I type the input manually into nios2-terminal, it works fine. Unfortunately, I need to send many lines to the nios2 CPU. 

 

I've searched the forum posts and have found inconsistent information, including a mention that this could be a bug that has not been fixed yet. 

 

I do not currently have Quartus Pro so can't use the System Console TCL method. 

 

Any advice would be appreciated.  

Thanks in advance. 

Bob A. 

NVidia
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
202 Views

Our FAE confirmed this bug.  

 

The workaround I'm doing is to use the system console and a separate jtag master.
Reply