This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMDS570LS31HDK: Writing to peripheral registers with MPU enabled

Part Number: TMDS570LS31HDK

Hello,

There's a part in my application where I'm trying to enable/disable EMAC interrupts using the API calls

    vimDisableInterrupt(C0_TX_PULSE);
    vimDisableInterrupt(C0_RX_PULSE);

and

    vimEnableInterrupt(C0_TX_PULSE, SYS_IRQ);
    vimEnableInterrupt(C0_RX_PULSE, SYS_IRQ);

  However, I keep getting trapped in dabort.  Looking at the CP15 register I see the following values:

data fault address: 0xFFFFFE48

data fault status: 0x0000080D

mpu type: 0x00000C00

So looks like an exception is being thrown for a permission error.  I'm trying to access a protected in privilege mode register.  How can I do this without having an exception thrown?  Is there a way to elevate the permission?

Thanks