Hi, I can answer 2nd part. I posted it to this thread as I have same exit code and similar symptoms (vendor packed version etc).
Finally get it solved! The problem is missing driver for WCH-Link SERIAL. Default CDC driver from windows is not correct one. Additional driver from WCH is necessary in my case: https://pio-ch32v.readthedocs.io/en/latest/installation.html#install-drivers-rules
Hi, I have same issue with "Arduino" one. This is, how arduino see the problem: "C:\Users\Jindra\AppData\Local\Arduino15\packages\WCH\tools\openocd\1.0.0/bin/openocd" -f "C:\Users\Jindra\AppData\Local\Arduino15\packages\WCH\tools\openocd\1.0.0/bin/wch-riscv.cfg" -c init -c halt -c "program {C:\Users\Jindra\AppData\Local\arduino\sketches\082CA6E126A46280AC42B2C347267422/CH32_blink.ino.elf} verify; wlink_reset_resume; exit;" Open On-Chip Debugger 0.11.0+dev-02415-gfad123a16-dirty (2023-05-05-13:43)...