AnsweredAssumed Answered

STM32L152 stuck at startup and dont enter Main

Question asked by farkash on Dec 1, 2014
Latest reply on Dec 9, 2014 by Clive One
Hi everyone,

I'm trying to connect STMl152 at Debug mode (JTAG) but with no success.
If i tracing the startup it stuck in SetSysClock ("system_stml1xx.c") function on :

/* Wait till PLL is used as system clock source */
    while ((RCC->CFGR & (uint32_t)RCC_CFGR_SWS) != (uint32_t)RCC_CFGR_SWS_PLL)
    {
    }

In the command window : "Cannot access Memory".

Please advise,
 




Outcomes