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 debugging run problem

I am working on lpc 1768 on keil version 5, after building the code when i go to debug using simulation option and run the code(using F5) the stop watch t1 which is in left bottom corner of debug window does not run continuously.

I have to hit F5 every time and the code gets stuck at

while (!(LPC_SC->PLL0STAT & (1<<26)));/* Wait for PLOCK0

above line which is in system_LPC17xx.c

Please help me in this situation.

do i need to set clock?

Parents
  • You will not see "Error 65" on real hardware, if things aren't initialized correctly your code will simply not function properly.

    The compiler can tell you if you have syntax errors, it can not tell you if the code is functionally correct. For that you'll need to debug and review technical documentation thoroughly.

Reply
  • You will not see "Error 65" on real hardware, if things aren't initialized correctly your code will simply not function properly.

    The compiler can tell you if you have syntax errors, it can not tell you if the code is functionally correct. For that you'll need to debug and review technical documentation thoroughly.

Children