- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using the web edition of Quartus Prime rev 18.1 .
Implementing a NIOS II based design in a Max10 chip.
Using the standard C library function calls that Newlib supports.
I have verified that getc() (and maybe other character handling functions) hangs the program. I know this from using hardware strobes that the program asserts immediately prior to getc() and deasserts immediately after getc(). I monitor these strobes on an o'scope. getc() never returns! But the problem is not consistent. Sometimes getc() works, sometimes it doesn't.
Using a UART implemented in the Platform Designer tool. This UART communicates with external system, not stdin or stdout.
Please help!!!
Thanks!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Did you use any example design? OR did you create your own?
Did you received any error when generating a Makefile?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a custom design.
I don't recall any error when generating the makefile....what sort of error would you expect to see?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you share the build log for the newlib? I presume it was successful/completed based on your description. And the issue is related to its functionality of your custom design. Is the issue also with other designs or any example design that you have tried? OR is it only on a particular custom design that you have tested?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Any update from your side?

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page