I am using CCS5.5 with an AM1808 Experimenter Kit writing in assembly. I need to cause a SWI using the SVC command to put the chip into supervisor mode. The program gives me an error when I step through this code that indicates there is nothing written at 0x8. The program counter contains 0x00000008. Based on the datasheets for this device, it is supposed to have the VINITHI = 1 after reset so the base address for the exception vector table should be 0xFFFF0000 (0xFFFF0008 for the SWI). I would like to examine the V bit of the CP15 register using:
MRC p15, #0, r0, c1, c0, #0
to determine what state the chip is in with respect to the base address for the exception register:
But, this gives an undefined instruction that causes the program counter to contain 0x0000004. I believe this may be because I need to be in supervisor mode to read CP15. But, I cannot do this given the current issue.
Thanks for any help,
Aaron