I was porting the I2C_eeprom_armL137 QuickStart example to a SYS/BIOS project (6.41.0.26). In init_OMAPL137 there's a _call_swi(ARM_PRIV_MODE_KEY); function call. This causes the SWI exception as expected, then while it's processing the exception, an illegal instruction exception is taken on this instruction: mrc p15, #0, r12, c6, c0, #2 ; read IFAR into r12 in the assembler function ti_sysbios_family_arm_exc_Exception_excHandlerAsm__I. From there the CPU is in an infinite loop, as the mrc p15, #0, r12, c6, c0, #2 ; read IFAR into r12 instruction is also a part of the illegal instruction handling. What gives?!?! This just can't be right.... Is there some initialization I must be missing???
Thanks.
Steve