STM32F103vct6在keil uvision5使用“use simulator”仿真在HSE出现问题
时间:10-02
整理:3721RD
点击:
仿真时,程序卡在以下代码处
/* 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下载程序后板子也无法正常运行。请问一下该怎么解决?谢谢!
/* 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下载程序后板子也无法正常运行。请问一下该怎么解决?谢谢!