PowerPC problem - PPC405 gets hang inbetween, EDK 10.1

Status
Not open for further replies.

elecrom

Junior Member level 3
Joined
Sep 24, 2007
Messages
25
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,283
Location
Kharagpur
Activity points
1,472
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.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…