我的 CKLink_Lite_V2 接到 Sparkfun SDcard sniffer pinout 再接到板子, 想用 GDB 调试板子
DebugServer 从 T-Head 页面下载的 T-Head-DebugServer-linux-x86_64-V5.16.2-20220708.sh.tar.gz

想问
- VCC 应该是接到 CKLink 的 Vref?
- 因为 Jtag 与 SD 卡共用脚位,Sparkfin SDcard sniffer 上是否不能放 SD card 呢?
错误信息:
DebugServerConsole -arch riscv --debug connect
+--- ---+
| T-Head Debugger Server (Build: Jul 8 2022) |
User Layer Version : 5.16.02
Target Layer version : 2.0
| Copyright (C) 2022 T-HEAD Semiconductor Co.,Ltd. |
+--- ---+
CONNECT: Start to connect target (Enter target_open).
CONNECT: Detect JTAG port for RISC-V cores.
CONNECT: Configure cJTAG with 2-wires
CONNECT: Read IDCODE Gets 0x80000000, Invalid IDCODE.
CONNECT: Configure CDI type to 2-wires.
CONNECT: Read IDCODE Gets 0xffffffff, Manufid is 0x7ff.
CONNECT: Configure CDI type to 5-wires.
CONNECT: Read IDCODE Gets 0xffffffff, Manufid is 0x7ff.
CONNECT: Can't detect JTAG Port for RISC-V DM,keep going
CONNECT: Try to connect target and get arch_ops.
T-HEAD: CKLink_Lite_V2, App_ver 2.35, Bit_ver null, Clock 2526.316KHz,
5-wire, Without DDC, Cache Flush On, SN CKLink_Lite_V2-93A75147D5.
CONNECT: +--Attempt to connect Debug Transport Module.--+
CONNECT: Read IDCODE.
CONNECT: Read DTM IDCODE get 0xffffffff, it isn't T-HEAD implementation.
CONNECT: Read DTM Debug Control and Status.
CONNECT: Read DTMCS get 0xffffffff.
ERROR: DTM version unknown (dtmcs 0xffffffff)
CONNECT: DM is implemented depends on spec unknown as DTMCS.version is 15.
ERROR: For more information, please run Debugserver with connect log:
Console: run Debugserver with arguments "--debug connect".
UI : select "Connect" from menu "Setting->Verbose Setting".