cancel
Showing results for 
Search instead for 
Did you mean: 

My STM32F105RB stop running

WPong.1
Associate II

I uses STM32F105RB for my project. I use USART1, USART2, USART3 and UART4 to receive data from sensor. everything works normal. But after 2-3hours it stop running. I check Fault Reports it shows Memory Manage Faults and Bus Faults at some address and Faults address change more than 1 address (Fig.1).0693W00000QO2VSQA1.png When I stop program, it shows program stuck in system_stm32f10x.c in this function

while((RCC->CR & RCC_CR_PLL2RDY) == 0)
{
}

 0693W00000QO2YIQA1.pngCan HardFaultException solve this problem ? If it can plese suggest me how to use it.

Thank You very much.

1 REPLY 1

So like it​ resets and gets stuck waiting for the PLL to start.

Got a watchdog running?

Could you perhaps​ instrument the Reset Handler to indicate secondary entry?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..