Forum Discussion
GetChar(), getc() and gets() NOT working on NIOS build on Cyclone 5
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.
4 Replies
- EricMunYew_C_Intel
Frequent Contributor
You may refer to below KDB.
https://www.intel.com/content/www/us/en/support/programmable/articles/000086241.html
- ImranHK
New Contributor
Thank you for the reply. I was able to debug the problem using SignalTap and it was not in the fpga side of things.
- EricMunYew_C_Intel
Frequent Contributor
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.
- jozephka99
Contributor
Did you use "Enable Small C library" for NIOS? If so its normal that they didn't work.