Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12435 Discussions

Push Button ISR not called in the sample code

Altera_Forum
Honored Contributor II
1,243 Views

I am new to Cyclone V and VxWorks, I try to run the given sample code vxworks_sampleapp_ed_1.0. 

I followed the instructions in AN725_Sample_RTOS_Application.pdf and proceed till page 12 Running the Application. 

The LED 0 and 1 blinking is working, however when I try the push button FPGA0 and 1 the ISR is not called. 

I try to disable the ISR and do the polling on the alt_read_word(PUSH_BUTTON_DATA_ADDR); in a while loop. 

It returns 0x0 no matter the button is pressed or not. 

Same thing happen for the DIPSW. 

 

Anyone face this problem before?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
113 Views

Hi i found the problem, the fpga image in my SD is not update to the ghrd_fpga. 

after replace the fpga image, it can run as stated. 

 

thank you.
Altera_Forum
Honored Contributor II
113 Views

you are quite good, found your own missed out steps in about 1 hour!! bravo!

Reply