Altera_Forum
Honored Contributor
16 years agoprintf Output Corruption
Greetings, everyone. I am having a strange problem with the simple, bog-standard Hello World program running on a NIOS II processor. I have a system with on-chip memory and off-chip SDRAM, and want to have .rodata and .rwdata off-chip, with all other regions on-chip. I use the NIOS II IDE to specify that the project's .rodata and .rwdata should be stored in SDRAM. When I run the program, the output from Hello World shown in the terminal is garbled. When I set .rodata and .rwdata back to onchip memory, the output is fine.
Has anyone observed this phenomenon, and are there any ideas as to how I might solve this? Thanks in advance. Regards, Austin Rogers