This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Interrupt master disable

Hi,

I'm using LM3S9B96, Keil uvision4, and stellarisware/driverlib/interrupt.c library

I have a problem with the IntMasterEnable( )/IntMasterDisable( ) functions.

What I want to do: disable master interrupts in main and keep it disabled until I'm done initializing all the task, semaphores... by calling os_sys_init(taskInit), THEN re-enable the master interrupt.

What I'm seeing: BEFORE I exit main( ) and BEFORE I'm done initializing all tasks and BEFORE I re-enable the master interrupt, the Ethernet ISR is sneeking in!

This is causing the Ethernet driver to fail consistently with ETH_INT_RXER.

My Question: why the Ethernet ISR is sneeking in BEFORE I re-enable the master interrupt?
Any idea how I can delay that interrupt until I'm done setting up the system?

khaled.

0