We are trying to use serial port in block mode and fetching data using getc function and it is getting stuck while fetching data and not coming out.
The same code was working fine with Quartus 15.0 but the issue we are facing with Quartus 18.1
Please let us know if something need to be done with this 18.1 version of Quartus to make serial port fetching data works properly in block mode?
May check on these previous cases and KDB about getc() function. Probably can help you out.
I have checked the provided html links and also confirmed that what suggestion given in links are fulfilled by my nios II bsp settings but still getc is not working when uart port is open in blocking mode.
Please kindly help to resolve the issue.
I further thought about the problem and then I found out may be something wrong with the IP in platform designer. May be some IPs are missing when you try to compile in newer version Quartus 18.1. Probably you can try to recreate the design in Quartus 18.1 and regenerate the IPs in Platform designer and BSP.
Or may be you can provide the design file for further debugging.
Glad to hear that your issue has been resolved.
I'll now transition this thread to community support.
If you have a new question, feel free to open a new thread to get the support from Intel experts.