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.

OMAPL138 GPIO Simulation

Other Parts Discussed in Thread: OMAPL138

I tried to simulate (ARM926EJ-S Device Cycle Accurate Simulator) a simple GPIO application, that worked with the DSP.

The application configures the particular PINMUX registers and does the following GPIO access (to set all to input):

((CSL_GpioRegsOvly)(CSL_GPIO_0_REGS))->BANK[i].DIR=CSL_GPIO_DIR_DIR_IN*(unsigned int)(-1);

Before execution of this code the Processor Mode is 0x11111 (System)

This code ends up into an exception at vector address 0x00000014, which is "Reserved" according documentation of the ARM.

The Processor Mode is now 0x10011 (Supervisor)

Can anybody explain what can lead to this kind of exception?
What do I need to do to avoid this malfunction?

Best regards
Thomas