This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Keil JTAG Debug wrecks ARM system interrupts

Hello,

I am having a problem where when in debug mode when I stop my application, occasionally when I let it run again interrupts are no longer handled [preventing my application from functioning properly].

This only seems to happen in projects that use the RL-ARM RTOS. Also, whenever this occurs I have noticed that Keil reads in the value of CPSR's 'I' bit as 0 (implying that all interrupts are disabled). Whether or not this problem occurs seems to depend on where I set a breakpoint in my code (there are certain places that I alway see this problem) -- but I cannot for the life of me figure out what is unique about those places (ISRs are typically enabled, the ARM is in user mode, ...)

I should note that if I am not in debug mode, my application works without any problems.

I am using an LPC2468 ARM MCU with Keil RVMD 4.01 and RL-ARM 4.01.

Any pointers would be GREATLY appreciated. This problem makes debugging my application near impossible.

Thanks,
Eric

0