Hi everyone
I am usinng the NXP KL43L256Z4 Cortex M0+, compiler MDK-ARM uVision V5.25.2
When I am in a breakpoint, I change any register value (ex. R6 = 0xFFFFFF), in the next step the Stackpointer R13(SP), gets always the 0xFFFFFFFC value, does not matter where point in the program it is.
Current values:
R13(SP) = 0x1FFFE460 R0 = 0X000000
Breakpoint CPSID I ; Mask interrupts LDR R0, =SystemInit BLX R0
Here I insert into R0, 0XFFFFFF
in this moment the SP become: R13(SP) = 0x1FFFFFFC
Somebody saw somthing like it? It is a KEIL error?
Any background tasks, or DMA occuring?
Not sufficiently familiar with the NXP part, but does it suspend timers, watchdogs, etc in debug state?
Using a uLink? J-LINK?
If you continue to have issues open a ticket with Keil, or with your NXP FAE.