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

problem during debuging with similator

hello to all
i am new in arm and keil and i want create a simple blinky project with mdk5.
i create that project but when i want debug it with simulator,below error appear in command window and debugger open system_LPC17xx.c windows and do not go in main function.


*** error 65: access violation at 0x400FC1A0 : no 'write' permission


now i go to debug->memory map menu and add new memory map region.
now debugger do not give that error but again debugger do not go to main function and it trap in

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


line and do not go to main function.
now can any one help me to solve this problem?