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
17 years agoI have the same problem. printf() does not display any characters on the console. If I place all sections in the external SRAM everything works fine. Running from within the onchip RAM the function does not display anything. Maybe printf() requires more RAM. I have only 2k left (internal RAM). In all of my last application this was no problem, but now there is ess memory. Maybe this is the reason?
Try to use more on-chip RAM.