Forum Discussion
Altera_Forum
Honored Contributor
20 years agohelp me again!
#include <stdio.h> int main() { printf("Hello from Nios II!\n"); return 0; } nios2-terminal: connected to hardware target using UART on /dev/com1 at 115200 b aud nios...
Altera_Forum
Honored Contributor
20 years agoIn this case, the standard output goes on the UART... I suppose you are using the standard example from Altera... is that right?
the terminal is simply waiting for some data that does not arrive... Just a few questions: - did you connected a serial cable from the UART of the eval. board to your host PC? - are you debugging or running your application? if yopu are debugging it, the nios II IDE stops just before the printf... so no output will arrive until you let the code run... bye PJ