- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
May check on these previous cases and KDB about getc() function. Probably can help you out.
https://www.intel.com/content/www/us/en/support/programmable/articles/000085005.html
https://community.intel.com/t5/Programmable-Devices/Problem-with-UART-using-register/m-p/88273
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you provide a sample code for reviewing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We found the bug in our c code, now the issue is resolved. Please close the case.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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.
Thank you.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page