2022-08-18 09:20 PM
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). When I stop program, it shows program stuck in system_stm32f10x.c in this function
while((RCC->CR & RCC_CR_PLL2RDY) == 0)
{
}
Can HardFaultException solve this problem ? If it can plese suggest me how to use it.
Thank You very much.
2022-08-18 10:10 PM
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?