Forum Discussion
Altera_Forum
Honored Contributor
12 years agohow are you writing to the PIO?
it should be something like this: while(1) { IOWR_ALTERA_AVALON_PIO_DATA(PIO_0_BASE, count&0xFF); //write a value to show Nios is alive count++; delayOneSecond(); } you can check that you are writing to the correct address by running in debug mode and manually edit the memory location and see if the LEDs change.