T-Head Debugger Server 连线问题
-
我的 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".
-
@brissett VCC可以不用连接(我反正没连
可以试试按住FEL连接CKLink -
@yuzukitsuru
谢谢回覆
想请问DebugServer 是要搭配 xfel 一起使用吗?
线路都接起来后,我的操作方式: xfel 按钮 -> 板子上电 -> CKLINK 上电 ->xfel ddr ddr3
(console 有正常反应)->xfel jtag
(console 没反应) ->DebugServer -arch riscv --debug connect
(console 印出一样的错误信息)奇怪的是我两张 Nezha 板子都有
Read DTM IDCODE get 0xffffffff, it isn't T-HEAD implementation.
不知道我的操作流程是否有误?
-
@brissett 不需要xfel吧,我记得上电就行了
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号