问答

汇集网友智慧,解决技术难题

maoxin199413

TA的家园币:19  

  • GD芯片调试无法跳到main

    staticvoidsystem_clock_72m_hxtal(void){uint32_ttimeout=0U;uint32_tstab_flag=0U;/*enableHXTAL*/RCU_CTL0|=RCU_CTL0_HXTALEN;/*waituntilHXTALisstableorthestartuptimeislongerthanHXTAL_STARTUP_TIMEOUT*/do{timeout++;stab_flag=(RCU_CTL0&RCU_CTL0_HXTALSTB);}while((0U==stab_flag)&&(HXTAL_STARTUP_TIMEOUT!=timeout));一直在等待HXTAL时钟稳定

    AI 调试 芯片 ST TI

    2020-12-29 1