您好,我是刚入行的,打了个G8R6的板子,遇到以下三个问题:
1、板子没有外围晶振,内置晶振是参照论坛其它帖子修改的,如下:
修改文件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,也能进断点调试,请问下这个是怎么回事?如何验证修改是否生效了?
2、日志打钱:使用的ch32v203C8T6能正常输出串口日志,但是这个不行,请问,怎样才能输出日志
3、 烧录:按boot与rst键烧录,没反应,但是能调试进断点。请问下,应该如何烧录
以上三个问题请多多指教