Forum Discussion
Altera_Forum
Honored Contributor
19 years agoPrintf not displaying characters
I have a problem with the printf function, # include <stdio.h> int main() { printf("Hello from Nios II!\n"); return 0; } that is the simple program that i tried to run, ho...
Altera_Forum
Honored Contributor
19 years agoThat "error" that you spotted, earlier, is probably not an error (at all). The download process terminates after executing, and I believe that this is just an informational message.... It's standard practice to return '0' when successful on just about any program I've used.
Please set a breakpoint on the printf() instruction and single-step from there. Note any errors you encounter, and where the single-stepping takes you. Good luck, and have a good weekend! - slacker