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 --- Are the two processors set to use completely different memory areas for absolutely everything? Otherwise things will go very strangely wrong. Similarly I think the stack crashes into the heap - if they collide things will also be 'strange'. --- Quote End --- The two processors use different memory areas for all the code sections. At the moment each processor has 2MB for instructions and 1MB for data sections.