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 agoSo, your code isn't downloading? Do you have a JTAG Debug Module, with a leve of at least 1, enabled on your CPU? If not, then download/debug will not function.
If the debugger never makes it to main(), then you need to experiment with setting breakpoints earlier. In the Run/Debug target menu, you'll find an option to set the initial breakpoint at alt_main(). Cheers, - slacker