自制的cklink连不上M61-32

[复制链接]
查看774 | 回复5 | 2024-1-10 23:00:24 | 显示全部楼层 |阅读模式

T-HeadDebugServer输出

Running Debug Server, auto to check the target at first...
+---                                                    ---+
|  T-Head Debugger Server (Build: Sep 26 2023, Windows)    |
   User   Layer Version : 5.18.00 
   Target Layer version : 2.0
|  Copyright (C) 2023 T-HEAD Semiconductor Co.,Ltd.        |
+---                                                    ---+
UI Version.
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 0xffffffff, Manufid is 0x7ff.
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: Check the DEBUG ARCH automatically.
CONNECT:    Read IDCODE Gets 0xffffffff, Manufid is 0x7ff.
CONNECT: Try to connect target and get arch_ops.
CONNECT: +--Sync hacr width between HAD and ICE(hacr_8 default).--+
CONNECT:    Set HACR width to 8 according to program arguments.
CONNECT: +--Configure the channel between HAD and ICE.--+
CONNECT: Configure CDI type.
CONNECT:    Configure link with CDI 2.
CONNECT:    Read HAD reg 0x1f get 0xffffffff.
CONNECT:    0xffffffff is not an effective HID, target is identified as CDI 5.
CONNECT: Configure HACR width.
CONNECT:    Configure link with hacr_width_16.
CONNECT:    Read HID get 0xffffffff(not an effective HID).
CONNECT:    Target is identified as HACR width 8.
T-HEAD: CKLink_Lite_V2, App_ver 2.37, Bit_ver null, Clock 2526.316KHz,
       5-wire, With DDC, Cache Flush On, SN CKLink_Lite_V2-T000000000000008E34F5A1.
CONNECT: +--Attempt to obtain multi-cores and multi-processors data.--+
CONNECT: Check multi processors information.
CONNECT:    Try to check whether the target is a MCPU with HACR_16.
CONNECT:    Set HACR width to 16 according to program arguments.
CONNECT:    Set HACR width to 8 according to program arguments.
CONNECT:    Target is not multi-processors as it has no HAD_TOP.
CONNECT: Check multi-cores (CK860/C860) information.
CONNECT:    Target is not multi-cores as hacr_width is 8.
CONNECT: Check multi-cores (CK910/C910) information.
CONNECT:    Target is not multi-cores as hacr_width is 8.
CONNECT: +--Try to access CPU.--+
CONNECT: Init hacr width for CPU 0.
CONNECT:    Set cpus[0].hacr_width with had_info->hacr_width 8.
CONNECT: Check HAD connection for CPU 0.
CONNECT:    Read HID get 0xffffffff, HAD version is HAD_V5.
CONNECT:    Write DDCADDR with 0x00000000000abcd0.
CONNECT:    Read  DDCADDR get  0xffffffffffffffff.
CONNECT:    Can not access to HAD module as DDCADDR can not be written.
Extra Info: hacr width is 8.
ERROR: Fail to check had module of CPU 0, please check:
    1. the physical connection;
    2. the power of the target;
    3. the link clock (link clock <= (CPU clock/2));
    4. the reference voltage of link, default 3.3v;
For more information, please run Debugserver with connect log:
     Console: run Debugserver with arguments "--debug connect".
     UI     : select "Connect" from menu "Setting->Verbose Setting".
回复

使用道具 举报

爱笑 | 2024-1-11 08:39:12 | 显示全部楼层
需要找技术帮忙看看不?
用心做好保姆工作
回复 支持 反对

使用道具 举报

hdydy | 2024-1-11 08:48:58 | 显示全部楼层
爱笑 发表于 2024-1-11 08:39
需要找技术帮忙看看不?

当然需要
回复 支持 反对

使用道具 举报

WT_0213 | 2024-1-11 08:51:48 | 显示全部楼层
这个很厉害感觉,自制的cklink是设备吗
回复 支持 反对

使用道具 举报

干簧管 | 2024-1-11 08:58:27 | 显示全部楼层
大佬,调试好了开源吗?
回复 支持 反对

使用道具 举报

lazy | 2024-1-11 16:04:56 | 显示全部楼层
这个是啥呀,小白一脸懵
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则