參考資訊:
https://github.com/ch32-rs/wlink/issues/41
問題如下:
$ wlink status 04:37:49 [INFO] Connected to WCH-Link v2.11(v31) (WCH-LinkE-CH32V305) Error: Probe is not attached to an MCU, or debug is not enabled. (hint: use wchisp to enable debug)
解法如下:
1. 按住RST按鈕
2. 執行如下命令
$ wlink erase --method power-off --chip ch32v003 07:24:12 [INFO] Connected to WCH-Link v2.17(v37) (WCH-LinkE-CH32V305) 07:24:12 [INFO] Erase chip by PowerOff
3. 放開RST按鈕
4. 接著就可以執行燒錄的命令