Forum Discussion
Eliath_G_Intel
Occasional Contributor
5 years agoHi Patricia,
please take a look at the following document:
My First Nios II Software Tutorial-DebuggingTheApplication
page 13 of the PDF, you can see the example code, similar to what you've done but the first argument of the function IOWR_ALTERA_AVALON_PIO_DATA () is no the same as the example design, which should be LED_PIO_BASE instead of PIO_LED_BASE.
These are macros and should match with the ones existing on the libraries used.
In section Debugging the Application , you will find a way to see if there is a mistake on connections or something else.
Please let me know if this worked for you.
Regards,
-Eliath