Cannot debug CH32L103 with WCH-Link-R1-1v1

I  can program the CH32L103C8T6 MCU through the USB bootloader. The program starts and runs normally when powered on. But I cannot use the WCH-Link-R1-1v1 to debug. When I try to load the WCH-Link debugger, it just doesn't work. The error is...


Error in final launch sequence

Failed to execute MI command:

-target-select remote localhost:3333

Error message from debugger back end:

localhost:3333: No connection could be made because the target machine actively refused it.

Failed to execute MI command:

-target-select remote localhost:3333

Error message from debugger back end:

localhost:3333: No connection could be made because the target machine actively refused it.

localhost:3333: No connection could be made because the target machine actively refused it.


Worth noting that when trying to connect, the running firmware on the MCU stops, and it won't start even by pressing the RESET pushbutton. Must cycle VDD to run the firmware again.


I was using this debugger with a CH32V203 chip without issues before, so the WCH-Link is not damaged...


What can be the problem? Please help!

Hello, WCH-Link does not support downloading the CH32L103 series. We recommend using WCH-LinkE. Please refer to the following figure for specific supported models

image.png


只有登录才能回复,可以选择微信账号登录