STM32F103vct6在keil uvision5使用“use simulator”仿真在HSE出现问题

2019-07-15 10:00发布

仿真时,程序卡在以下代码处
/* Wait till HSE is ready and if Time out is reached exit */
   do
   {
     HSEStatus = RCC->CR & RCC_CR_HSERDY;
     StartUpCounter++;  
   } while((HSEStatus == 0) && (StartUpCounter != HSE_STARTUP_TIMEOUT));
使用stlink下载程序后板子也无法正常运行。请问一下该怎么解决?谢谢!
0条回答

一周热门 更多>