+--- ---+ | 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. | +--- ---+ T-HEAD: CKLink_Lite_V2, App_ver unknown, Bit_ver null, Clock 2526.316KHz, 5-wire, With DDC, Cache Flush On, SN CKLink_Lite_Vendor-rog 199C8A. +-- Debug Arch is CKHAD. --+ +-- CPU 0 --+ T-HEAD Xuan Tie CPU Info: WORD[0]: 0x0910090d WORD[1]: 0x11002000 WORD[2]: 0x260c0001 WORD[3]: 0x30030066 WORD[4]: 0x42180000 WORD[5]: 0x50000000 WORD[6]: 0x60000853 MISA : 0x8000000000b4112d Target Chip Info: CPU Type is C906FDV, Endian=Little, Vlen=128, Version is R1S0P2. DCache size is 32K, 4-Way Set Associative, Line Size is 64Bytes, with no ECC. ICache size is 32K, 2-Way Set Associative, Line Size is 64Bytes, with no ECC. Target is 1 core. MMU has 256 JTLB items. PMP zone num is 8. HWBKPT number is 2, HWWP number is 2. MISA: (RV64IMAFDCVX, Imp M-mode, S-mode, U-mode)
**************** DebuggerServer Commands List ************** help/h Show help informations. *************************************************************
如果出现以下日志,插拔几次,复位板子多试试。
+--- ---+ | 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. | +--- ---+ ERROR: Fail to write to CKLINK. ERROR: Fail to write to CKLINK. ERROR: Fail to write to CKLINK.
/opt/Xuantie-900-gcc-elf-newlib-x86_64-V2.2.6/bin/riscv64-unknown-elf-gdb: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory