cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
2,279 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
Visitor
2,841 Views
Registered: ‎01-08-2014

I solve this problem.

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

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

View solution in original post

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

I solve this problem.

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

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

View solution in original post

0 Kudos