UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor sixinglu
Visitor
2,221 Views
Registered: ‎01-08-2014

microblaze stall when enable interruption

Jump to solution

Hi all,

I am implementing xapp1026 socket on xilkernel.

But when running, it get stuck into xilkernel_main()->xilkernel_start ()->Xil_ExceptionEnable()-> microblaze_enable_interrupts()->microblaze_enable_interrupts:

                                                     #Load register r12

                                                     lwi r12, r1, 0

 

Then stuck and never go into main_thread().

I am sure PARAMETER STATIC_PTHREAD_TABLE = ((main_thread,1)) is in system.mss

What's more, when I stop the process, it stop at disable_caches() in cleanup_platform();

 

Do I need ignore some important interruption or cache setting? 

My board is spartan-6 XL45, SDK14.6

 

Thank you very much!

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Visitor sixinglu
Visitor
2,783 Views
Registered: ‎01-08-2014

Re: microblaze stall when enable interruption

Jump to solution

I solve this problem.

The reason R1 will cause stall is because of stack overflow.

So I check the lscript.ld, find the problem.

0 Kudos
1 Reply
Highlighted
Visitor sixinglu
Visitor
2,784 Views
Registered: ‎01-08-2014

Re: microblaze stall when enable interruption

Jump to solution

I solve this problem.

The reason R1 will cause stall is because of stack overflow.

So I check the lscript.ld, find the problem.

0 Kudos