Altera_Forum
Honored Contributor
20 years agoScrambled stdout?
Using the Nios Evaluation Kit here.
Given the following source#include <stdio.h>
int main()
{
int i;
for(i=0;i<10;i++)
printf("Hello From Nios\n\n");
return 0;
} I've set the jtag uart as my stdout. What I get is the following: HHlloo rrmmNNiss
eelooFFoo Niiss
Helll rrmm iiss
HllooFFrmmNNoos
eell Frrm iiss
HHlll rommNNiss
eell Frro iiss
ello FFoo iis
eelooFFoo Noo
HHell rro Noos I'm running this program on the onchip memory. It seems random: the output is different at every run. Any clue?