Forum Discussion
Altera_Forum
Honored Contributor
15 years agohello world - strange variables behavior
Hello, I'm new to nios2 developpement and i'm having problems running the simple hello_world exemple : When I lauch this code : int main()
{
unsigned char i,j,k;
printf("Hello from N...
Altera_Forum
Honored Contributor
15 years agobut why can I read 'i' correctly but not 'j' and 'k' ?
The thing is, i noticed this problem is some other project where i really needed to read back some avalon-slave-module registers values. I was getting really strange values so i then tried to run the simple hello_world on my board to see if i still had problems. could the problem come from a bad sopc builder configuration ?