Forum Discussion
Altera_Forum
Honored Contributor
13 years agoNiosII printf() not printing correctly
Hi all, I have a problem with the printf() commands not printing. If I un-tick the "small C library" option in the HAL, I don't receive any output to the NiosII console, but the program is work...
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- Might be that the divide operation is failing. Maybe you code is using the divide instructions, but it isn't present in your cpu. But %i isn't a standard format. --- Quote End --- I don't have the divider enabled in the CPU. I'll have it enabled and see if it fixes the issue. Thanks ! :)