固件無法寫入芯片CH32v307,請教哪里問題?
正在執(zhí)行任務(wù): platformio run --target upload?
Processing genericCH32V307VCT6 (platform: ch32v; board: genericCH32V307VCT6; framework: noneos-sdk)
--------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/ch32v/genericCH32V307VCT6.html
PLATFORM: WCH CH32V (1.0.0) > Generic CH32V307VCT6
HARDWARE: CH32V307VCT6 144MHz, 64KB RAM, 256KB Flash
DEBUG: Current (wch-link) On-board (wch-link) External (minichlink)
PACKAGES:?
?- framework-wch-noneos-sdk @ 2.10000.0+sha.2cafe78?
?- tool-minichlink @ 0.1.0+sha.af02ba5?
?- tool-openocd-riscv-wch @ 2.1100.230329 (11.0)?
?- tool-wchisp @ 0.22.230228?
?- toolchain-riscv @ 1.80200.190731+sha.99cb62f
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 0 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Checking size .pio/build/genericCH32V307VCT6/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: ? [ ? ? ? ? ?] ? 3.4% (used 2220 bytes from 65536 bytes)
Flash: [ ? ? ? ? ?] ? 3.0% (used 7816 bytes from 262144 bytes)
Configuring upload protocol...
AVAILABLE: isp, minichlink, wch-link
CURRENT: upload_protocol = wch-link
Uploading .pio/build/genericCH32V307VCT6/firmware.elf
Open On-Chip Debugger 0.11.0+dev-02415-gfad123a16-dirty (2023-03-02-19:26)
Licensed under GNU GPL v2
For bug reports, read
? ? ? ? http://openocd.org/doc/doxygen/bugs.html
debug_level: 1
Warn : Transport "sdi" was already selected
Ready for Remote Connections
Error: open failed
*** [upload] Error 1
========================== [FAILED] Took 1.10 seconds ==========================
?* ?終端進(jìn)程“platformio 'run', '--target', 'upload'”已終止,退出代碼: 1。?
?* ?終端將被任務(wù)重用,按任意鍵關(guān)閉。?
配置文件內(nèi)容
platformio.ini
[env:genericCH32V307VCT6]
platform = ch32v
board = genericCH32V307VCT6
framework = noneos-sdk