您好,我是剛?cè)胄械?,打了個G8R6的板子,遇到以下三個問題:
1、板子沒有外圍晶振,內(nèi)置晶振是參照論壇其它帖子修改的,如下:
修改文件system_ch32v20x.h
/*?
* Uncomment the line corresponding to the desired System clock (SYSCLK) frequency (after?
* reset the HSI is used as SYSCLK source).
* If none of the define below is enabled, the HSI is used as System clock source.?
*/
//#define SYSCLK_FREQ_HSE? ? HSE_VALUE
//#define SYSCLK_FREQ_48MHz_HSE? 48000000
//#define SYSCLK_FREQ_56MHz_HSE? 56000000
//#define SYSCLK_FREQ_72MHz_HSE? 72000000
//#define SYSCLK_FREQ_96MHz_HSE? 96000000
//#define SYSCLK_FREQ_120MHz_HSE? 120000000
//#define SYSCLK_FREQ_144MHz_HSE? 144000000
//#define SYSCLK_FREQ_HSI? ? HSI_VALUE
//#define SYSCLK_FREQ_48MHz_HSI? 48000000
//#define SYSCLK_FREQ_56MHz_HSI? 56000000
//#define SYSCLK_FREQ_72MHz_HSI? 72000000
#define SYSCLK_FREQ_96MHz_HSI? 96000000
//#define SYSCLK_FREQ_120MHz_HSI? 120000000
//#define SYSCLK_FREQ_144MHz_HSI? 144000000
沒修改前使用的SYSCLK_FREQ_96MHz_HSE,也能進斷點調(diào)試,請問下這個是怎么回事?如何驗證修改是否生效了?
2、日志打錢:使用的ch32v203C8T6能正常輸出串口日志,但是這個不行,請問,怎樣才能輸出日志
3、 燒錄:按boot與rst鍵燒錄,沒反應(yīng),但是能調(diào)試進斷點。請問下,應(yīng)該如何燒錄
以上三個問題請多多指教