Skip to main content
Vivek pkd
Associate
Mar 15, 2022 11:33 AM UTC
Question

Unknown error during running code on STM32F105R8

Hi all,

I have made a source code that runs fine, But after 6 months I again tried to run the same code. Now the running stuck at some point,

The code stuck at this point is shown below

0693W00000KcfPYQAZ.pngIs this error occur due to any hardware failure like oscillator /capacitor

Anybody, please help???

This topic has been closed for replies.

3 replies

TDK
Mar 15, 2022 12:37 PM UTC

Could be, or invalid clock settings. Put a scope on HSE to see if it's working.

"If you feel a post has answered your question, please click ""Accept as Solution""."
ONadr.1
Senior III
Mar 15, 2022 12:42 PM UTC

The best option is measure (by osciloscope, counter, LA), that external oscilator is working. You can try PLL feed from internal HSI oscilator to check if PLL get ready.

Vivek pkd
Vivek pkdAuthor
Associate
Mar 17, 2022 4:11 AM UTC

Thanks.@TDK​  ,@ONadr.1​  , I checked with the Oscilloscope, I found some irregularities across Oscillator. So I replaced Oscillator with new one, The issue solved