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-arm is not responding

I use pac25140 (arm cortex M4+) for my project. When I add a while(1) loop and start debug. The program is in while loop after that  Keil-arm is not responding.

int main(void)
{
// Disable global interrupts
__disable_irq();

board_init();
__disable_irq();
while(1){;}
}

Parents
  • The program is in while loop after that  Keil-arm is not responding.

    What do you mean with '… is not responding"? When you step over the 'while(1) {;}' line, the µVision debugger will show that the target application is running and you should be able to stop the debugger. When you 'single step' on this line, the µVision debugger will stay on this line.

Reply
  • The program is in while loop after that  Keil-arm is not responding.

    What do you mean with '… is not responding"? When you step over the 'while(1) {;}' line, the µVision debugger will show that the target application is running and you should be able to stop the debugger. When you 'single step' on this line, the µVision debugger will stay on this line.

Children