cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with interrupt mask

charlu
Associate II
Posted on March 15, 2007 at 13:30

Problem with interrupt mask

10 REPLIES 10
kmshim
Associate II
Posted on May 17, 2011 at 09:34

hi,

I thought that this problem comes from nested interrupt.

you must consider stack size on nested interrupt.

basically, IRQ exception procedure is implemented as following

user(or sys)mode --> IQR mode --> user(or sys) mode

....

--> IRQ mode --> user(or sys)mode

....

--> IRQ mode --> user(or sys)mode

....

finally, reset or hang-up occured

therefore large stack of user(sys) is needed.

if you do not need to use nested interrupt,I recommand that disable interrupt on macro switching IRQ to user(sys) macro in the 91x_vect.s

good luck.

Best regareds

KMSHIM