Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页
    1. Home
    2. brissett
    B
    • Profile
    • Following 1
    • Followers 0
    • my integral 262
    • Topics 3
    • Posts 4
    • Best 0
    • Groups 0

    brissettLV 3

    @brissett

    262
    integral
    0
    Reputation
    1
    Profile views
    4
    Posts
    0
    Followers
    1
    Following
    Joined Last Online

    brissett Unfollow Follow

    Latest posts made by brissett

    • Reply: T-Head Debugger Server 连线问题

      @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.

      不知道我的操作流程是否有误?

      posted in D1系列-RISC-V
      B
      brissett
    • 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

      alt text

      想问

      1. VCC 应该是接到 CKLink 的 Vref?
      2. 因为 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".
      
      posted in D1系列-RISC-V
      B
      brissett
    • D1 JTag 调试

      回复: D1怎么使用JTAG?

      我参考 https://linux-sunxi.org/MicroSD_Breakout
      买了 microSD sniffer 接上 USB blaster 将脚位对接
      并照着这篇 https://linux-sunxi.org/Allwinner_Nezha#JTAG 执行 xfel jtag, 到这里应该都正常
      但是其中的 openocd-usb-sipeed.cfg 似乎不适用 USB blaster
      请问有可以让 USB Blaster 使用的 cfg 档吗?

      posted in D1系列-RISC-V
      B
      brissett