We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I use lpc812M101 to simulator debug , i found the error during debug/run is
*** error 65: access violation at 0x40048080 : no 'read' permission *** error 65: access violation at 0x40048080 : no 'write' permission *** error 65: access violation at 0x40048040 : no 'write' permission *** error 65: access violation at 0x40048044 : no 'write' permission *** error 65: access violation at 0x40048044 : no 'read' permission *** error 65: access violation at 0x40048044 : no 'read' permission *** error 65: access violation at 0x40048044 : no 'read' permission *** error 65: access violation at 0x40048044 : no 'read' permission ...
I have try add MAP.ini
MAP 0x40048000,0x40048400 read write exec
it Has to solve the original problem but more out of the new problems
i run before main() in system_LPC8xx.c has loop in
void SystemInit (void)
{
...
#if ((MAINCLKSEL_Val & 0x03) == 3) /* Main Clock is PLL Out */
LPC_SYSCON->SYSPLLCTRL = SYSPLLCTRL_Val;
LPC_SYSCON->PDRUNCFG &= ~(1 << 7); /* Power-up SYSPLL */
while (!(LPC_SYSCON->SYSPLLSTAT & 0x01)) __NOP(); /* Wait Until PLL Locked */
#endif
}
Duplicate Thread http://www.keil.com/forum/60796/
Unlikely to leave this loop as the hardware in question is NOT supported while (!(LPC_SYSCON->SYSPLLSTAT & 0x01)) __NOP(); /* Wait Until PLL Locked */
www.google.com/search