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!
链接已复制
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?
