Forum Discussion
psouz7
New Contributor
6 years agoMy LED is not blinking - My first NIOS II software tutorial - EP4CE6E22C8N
I am following the My first NIOS II software tutorial, everything works but my LED does not blink. I am using Cyclone IV EP4CE6E22C8N I have feedback in the NIOS II console My qsys file: I hav...
Eliath_G_Intel
Occasional Contributor
6 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