Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12603 Discussions

GetChar(), getc() and gets() NOT working on NIOS build on Cyclone 5

ImranHK
Beginner
742 Views

I have a custom board and am having trouble receiving data on stdin. All the stdout functions like printf() and puts() work just fine.

 

I have tried small, standard and uc/OS builds with same results.

 

The project builds fine and I can start the debugger fine. I was also wondering if there is a non blocking calls to stdin.

 

Thanks.

 

0 Kudos
4 Replies
EricMunYew_C_Intel
Moderator
709 Views
0 Kudos
ImranHK
Beginner
700 Views

Thank you for the reply. I was able to debug the problem using SignalTap and it was not in the fpga side of things.

0 Kudos
EricMunYew_C_Intel
Moderator
630 Views

Since this thread had been answered, we shall close this thread. If you still need further assistance, you are welcome to post a response within 15days or open a new thread, some one will be right with you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you with your follow-up questions.


0 Kudos
jozephka99
New Contributor II
605 Views

Did you use "Enable Small C library" for NIOS? If so its normal that they didn't work.

0 Kudos
Reply