Results 1 to 3 of 3

Thread: Push Button ISR not called in the sample code

  1. #1
    Join Date
    Nov 2015
    Posts
    2
    Rep Power
    1

    Default Push Button ISR not called in the sample code

    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?
    Last edited by sau swang; November 20th, 2015 at 12:03 AM.

  2. #2
    Join Date
    Nov 2015
    Posts
    2
    Rep Power
    1

    Default Re: Push Button ISR not called in the sample code

    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.

  3. #3
    Join Date
    Oct 2015
    Posts
    149
    Rep Power
    1

    Default Re: Push Button ISR not called in the sample code

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

Similar Threads

  1. Replies: 3
    Last Post: August 6th, 2015, 09:57 PM
  2. Push Button Parts No.
    By Kazuyasu in forum Development Kit Related
    Replies: 1
    Last Post: May 13th, 2015, 05:47 PM
  3. Push-button counter
    By rhinbed in forum General Altera Discussion
    Replies: 5
    Last Post: May 29th, 2014, 03:10 AM
  4. simple push button app
    By mramstad in forum Development Kit Related
    Replies: 1
    Last Post: April 15th, 2012, 01:18 AM
  5. push button
    By koenkoen in forum FPGA, Hardcopy, and CPLD Discussion
    Replies: 2
    Last Post: February 13th, 2012, 12:17 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •