Altera_Forum
Honored Contributor
16 years agoam I a complete noob?!
after a lot of time, I managed to load a simple c program into the nios2
now the problem is that when I use the NIOS IDE to load it, it just hangs(the board), and when I use the monitor program, for something to happen I have to keep switching from pause to run mode.... here is the c code: # define Switches (volatile char *) 0x0011000 # define LEDs (char *) 0x0011010 int main() { while (1) *LEDs = *Switches; return 0; } LE: ...I fixed it!...kinda i was using a NiosII/f processor. After switching to a NiosII/e, everything works fine. Why did that happen?