Skip to content

WCH-LinkE doesn't find target #2158

@Schildkroet

Description

@Schildkroet

Hello,

i have a WCH-LinkE and CH32V203. When using wlink, everythin works as expected and the probe+mcu are detected:

13:53:58 [INFO] Connected to WCH-Link v2.11(v31) (WCH-LinkE-CH32V305)
13:53:58 [INFO] Attached chip: CH32V20X [CH32V203C8T6] (ChipID: 0x20310510)
13:53:58 [INFO] Chip ESIG: FlashSize(64KB) UID(3e-92-5d-bc-cd-ab-68-fa)
13:53:58 [INFO] Flash protected: false
13:53:58 [INFO] RISC-V ISA(misa): Some("RV32ACIMUX")
13:53:58 [INFO] RISC-V arch(marchid): Some("WCH-V4B")

But when using blackmagic app, only the probe is found. No target.

Black Magic Debug App v2.0.0-239-g94281769-dirty
 for Black Magic Probe, ST-Link v2 and v3, CMSIS-DAP, J-Link, FTDI (MPSSE) and WCH-Link
Using 1a86:8010 7B578F060034 wch.cn
 WCH-Link ---
Firmware version: v2.11
Hardware type: WCH-LinkE (CH32V305)
Running in Test Mode
Target voltage: Unknown
Setting max debug interface frequency not available or not yet implemented
Reading max debug interface frequency not available or not yet implemented
No target found

I also compiled firmware with ch32v support, to test on BMP, but i got the same result:

Black Magic Debug App v2.0.0-239-g94281769-dirty
 for Black Magic Probe, ST-Link v2 and v3, CMSIS-DAP, J-Link, FTDI (MPSSE) and WCH-Link
Using 1d50:6018 DDD7C1DC Black Magic Debug
 Black Magic Probe (ST-Link/v2) v2.0.0-239-g94281769-dirty
Running in Test Mode
Target voltage: 3.30V
Speed set to 6.000MHz for SWD
Switching from JTAG to dormant
Switching from dormant to SWD
Deprecated JTAG to SWD sequence
No usable DP found
No target found

Is there no real support for WCH? Or did i miss something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions