Hello.
I'm converting (another persons) code from another IDE to KEIL uV4 (no RTOS). When running the code, the 1st PIT-interrupt (ISR_Pit) is entered with: - CPSR=0x60000013 (supervisor mode) - SPSR=0x200000DF (system/privileged mode) - R13(SP)= 202508 (SP for supervisor mode) My SWI-handeling routing is performing an endless loop (which is not entered).
Q1: How can CPSR=..13 (supervisor mode) when this is an IRQ (should have been 0x0...12) ? Q2: How can SPSR become 0x200000DF (system/privileged mode) at all, after the SW has entered main() OK with CPSR=..10 (user mode) and I don't use a RTOS ? Q3: Is there a way of setting breakpoints in KEIL uV4 w/ULINK2 for catching "write CPSR=0x60000013" ?
I'll appreciate comments on this.
Regards Terje Bøhler