edk powerpc interrupt
Hi,
I am trying to implement very simple system with Xilinx's XUP Virtex-II pro dev board. I am using EDK 10.1i. I have made simple IP core which monitors push buttons and generates and interrupt when button is pressed. PPC gets interrupted on button press and status of the buttons is read from the IP core register.
Inside the main while(1) loop, this button press is detected by cheking a interrupt flag and then status info is printed via UART.
Now the problem is, code gets hangged after certain number of butten press events. This number is random. It stops printing messages on UART after random number of button press events. What could be wrong ?
All sections of code, along with stack, heap etc are put into iocm(64KB) and docm(64KB) of PCC.