Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
19836 Discussions

Issue with Serial port block mode operation in quartus 18.1 standard edition

Jayeshkumar
Beginner
358 Views

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?

0 Kudos
6 Replies
Jayeshkumar
Beginner
291 Views

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.  

ShengN_Intel
Employee
262 Views

Hi,

 

Could you provide a sample code for reviewing?

ShengN_Intel
Employee
212 Views

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.


Jayeshkumar
Beginner
197 Views

Hi,

 

We found the bug in our c code, now the issue is resolved. Please close the case.

 

Thanks  

ShengN_Intel
Employee
151 Views

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.


Reply