当前位置: 首页 > news >正文

互联网站安全管理服务平台软文代写新闻稿

互联网站安全管理服务平台,软文代写新闻稿,网站建设行业增长率,99企业邮箱文章目录 1、Windows下安装与配置2、Linux下安装与配置3、芯片默认 JTAG PIN 列表4、命令行运行JTAG5、Eclipse下使用JTAG 1、Windows下安装与配置 CKLink 驱动安装 Windows版驱动下载地址: https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1666331…

文章目录

    • 1、Windows下安装与配置
    • 2、Linux下安装与配置
    • 3、芯片默认 JTAG PIN 列表
    • 4、命令行运行JTAG
    • 5、Eclipse下使用JTAG

1、Windows下安装与配置

  1. CKLink 驱动安装

Windows版驱动下载地址: https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1666331581133/T-Head-DebugServer-windows-V5.16.5-20221021-1018.zip

解压后按照默认配置安装,安装成功后插上 cklink-lite 后,可以在设备管理器中找到 cklink-lite 已经找到

在这里插入图片描述

  1. 运行
    双击桌面上的 T-HeadDebugServer 即可运行

在这里插入图片描述

正确连接 cklink-lite 与目标芯片,然后点击 T-HeadDebugServer 上的 Run debug server,如硬件连接正确,图标会由三角形编程圆形,并在软件窗口上显示芯片内核信息

在这里插入图片描述

Running Debug Server, auto to check the target at first...
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 2C115D.
+--  Debug Arch is RVDM.  --+
+--  CPU 0  --+
RISCV CPU Info:WORD[0]: 0x0814050dWORD[1]: 0x11080000WORD[2]: 0x202bf97bMISA   : 0x40909125
Target Chip Info:CPU Type is E907FP, Endian=Little, Version is R1S2P0.DCache size is 16K.ICache size is 32K.MGU zone num is 8.MGU zone size is 4B.HWBKPT number is 3, HWWP number is 3.MISA: (RV32IMAFCXP, Imp M-mode, U-mode)GDB connection command for CPUs(CPU0):target remote 192.168.135.1:1025target remote 192.168.22.1:1025target remote 192.168.188.23:1025

默认端口:1025

2、Linux下安装与配置

  1. CKLink 驱动安装
    Linux x86_64版驱动下载地址:https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1666331533949/T-Head-DebugServer-linux-x86_64-V5.16.5-20221021.sh.tar.gz

  2. 在 linux 命令行下执行

$ tar zxvf T-Head-DebugServer-linux-x86_64-V5.16.5-20221021.sh.tar.gz
$ sudo ./T-Head-DebugServer-linux-x86_64-V5.16.5-20221021.sh -i

其中参数含义为:

-i:安装

-u:卸载

然后按照提示输入 yes 就可以。

注意:必须要 ubuntu 22 以上才可以,ubuntu 20.04 不行。。

  1. 完成安装后,插上 CKlink-Lite,通过 lsusb 可以看到已经检测到了CKlink-Lite
$ lsusb
Bus 002 Device 004: ID 42bf:b210 Bouffalo C-Sky CKLink-Lite
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  1. 运行
  • 确认安装完成,查看参数
$ DebugServerConsole -h
  • server 端口号,默认 1025,可以通过 -p 修改
$ DebugServerConsole -p 3333

注意:在运行 jtag 功能器件,T-HeadDebugServer 要一直运行。

3、芯片默认 JTAG PIN 列表

CHIP/PinBL602/BL604BL702/BL704/BL706BL616/BL618BL808
TMSGPIO12GPIO0GPIO0GPIO6
TCKGPIO14GPIO2GPIO1GPIO12
TDOGPIO11GPIO9GPIO2GPIO7
TDIGPIO17GPIO1GPIO3GPIO13

4、命令行运行JTAG

  1. 运行 gdb
$ riscv64-unknown-elf-gdb helloworld_bl616.elf
GNU gdb (Xuantie-900 elf newlib gcc Toolchain V2.6.1 B-20220906) 10.0.50.20200724-git
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "--host=i686-w64-mingw32 --target=riscv64-unknown-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:<http://www.gnu.org/software/gdb/documentation/>.For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from .\helloworld_bl616.elf...
(gdb) 

也可以先只运行 riscv64-unknown-elf-gdb 命令,然后在连接 gdb server 完成后,使用 file helloworld_bl616.elf 命令加载 elf 文件。

  1. 设置等待远程目标响应240秒的超时限制,默认为2秒。
(gdb) set remotetimeout 240
  1. 连接 gdb server
(gdb) target remote :1025
  1. 加载
(gdb) load
  1. 运行
(gdb) c

更多指令可查询 gdb 手册

5、Eclipse下使用JTAG

  1. 选择 Debug Configurations …

在这里插入图片描述

  1. 选择当前需要调试的目标项目的 elf 文件

在这里插入图片描述

注:使用 JTAG 调试前,需先下载完成对应目标项目的 bin 文件。

http://www.hkea.cn/news/536801/

相关文章:

  • wordpress有广告郑州seo优化大师
  • 企业网站推广的实验内容企业宣传网站
  • 如何开发高端市场宁波seo快速优化公司
  • 常用设计资源网站爱网站
  • 企业品牌网站营销关于seo的行业岗位有哪些
  • 群晖怎样做网站惠州网络营销
  • 怎么做网站内部链接的优化品牌营销推广代运营
  • 婚纱照网站制作搜索引擎优化搜索优化
  • 网站建设吉金手指专业13中国营销网站
  • 做销售在哪些网站注册好百度产品
  • dw做汽车网站seo排名工具提升流量
  • 网络培训学校排名奉化seo页面优化外包
  • vps除了做网站还能做什么晨阳seo服务
  • seo网站建设优化什么意思网络营销与直播电商专业就业前景
  • 工程建设企业网站网站关键词优化应该怎么做
  • 修复wordpress青岛网站优化
  • 敦煌网站做外贸怎样网页推广怎么做的
  • 南京网站建设优化今日头条普通版
  • 网站编辑的工作职能有哪些活动营销案例100例
  • 小程序招商加盟平台我是seo关键词
  • wordpress 发帖机镇江抖音seo
  • 网站建设的小结可以发外链的论坛有哪些
  • 网站正常打开速度网店营销与推广策划方案
  • 义乌 网站制作进入百度app
  • 做外围网站赌球红树林seo基础入门免费教程
  • 绿色风格网站seo排名赚钱
  • 南宁企业免费建站百度推广营销怎么做
  • 建立个人网站的成本短视频seo营销系统
  • 深圳公司名称大全网站结构优化的内容和方法
  • 安康市代驾公司上海网站关键词排名优化报价