倒霉崔的,使用国产芯片,还得上国外网上下软件,问题还连不上
想实现个小功能,却还要学一大堆
CH32V003 烧录需要使用linkE(link无法烧录v003)
安装linke后可能需要更新下固件(不识别,无反应插上电脑无反应)
linke使用 未连接电脑前按mode键,切换状态;无灯时为 有灯时为;无灯时烧写
ch32v l 为risc-v系列
ch32f 为arm 系列
先上github下载
GitHub - openwch/arduino_core_ch32: Core library for CH32duino
打开wch库github 下载下方的三个库文件 放入 stages文件下(参照 arduino 离线库的安装)
arduino 首选项,添加
https://github.com/openwch/board_manager_files/raw/main/package_ch32v_index.json(这个失效了,换)
https://alexandermandera.github.io/arduino-wch32v003/package_ch32v003_index.json
GitHub - openwch/board_manager_files: The board manager files for CH32 development boards
https://github.com/openwch/board_manager_files/package_ch32v_index.json
最重要的选择1.0.0
错误 beforinstall 1.0.0 error
离线安装
下载相应的支持包到C:\Users\Administrator\AppData\Local\Arduino15\staging\packages
将josn文件复制到C:\Users\Administrator\AppData\Local\Arduino15\下
arduino首选项 添加 https://github.com/openwch/board_manager_files/raw/main/package_ch32v_index.json
开发板管理
https://github.com/AlexanderMandera/arduino-wch32v003
其它ch32v2 v3 先安装 1.0.0 再 换成1.0.3
无法识别: 重安装驱动
变砖:link e
rst引脚 ->pd7
vcc -》 5v gnd ->gnd
dio->swd