设置 J-Link

J-Link是 Segger 的一系列调试探头。

设备偏好设置中裸金属选项卡的 J-Link

要为 J-Link 调试探头设置首选项,请

  1. 转到首选项>Devices > 。 Bare Metal.
  2. 选择Add
  3. 选择J-Link
  4. Name 中,输入连接名称。
  5. Startup mode 中,选择启动调试服务器提供程序的模式。
  6. Peripheral description file 中,指定描述设备外围设备的文件路径。
  7. Host 中,选择连接到调试服务器提供程序的主机名和端口号。
  8. Executable file 中,输入调试服务器提供程序可执行文件的路径。
  9. Host interface 中,选择连接类型,IP 或 USB,或使用默认连接。
  10. Target interface 中,选择目标接口类型。
  11. Speed 中,以千赫为单位输入接口速度。
  12. Device 中,选择要连接的设备。
  13. Additional arguments 中,输入命令参数。
  14. Init commands 中,输入初始化连接时要执行的命令。
  15. Reset commands 中,输入重置连接时要执行的命令。
  16. 选择Apply 添加调试服务器提供程序。

另请参阅 如何:为Bare Metal 开发Bare Metal 设备开发

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.