设置 ST-LINK

ST-LINK 实用程序用于对 STM32 微控制器进行编程。

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

为 St-Link 设置首选项:

  1. 转到首选项>Devices > 。 Bare Metal.
  2. 选择Add
  3. 选择St-Link
  4. Name 中,输入连接名称。
  5. Startup mode 中,选择启动调试服务器提供程序的模式。
  6. Peripheral description file 中,指定描述设备外围设备的文件路径。
  7. Host 中,选择连接到调试服务器提供程序的主机名和端口号。
  8. Executable file 中,输入调试服务器提供程序可执行文件的路径。
  9. Verbosity level 中,输入详细日志记录的级别。
  10. 选择Extended mode 可在连接关闭后继续监听连接请求。
  11. 选择Reset on connection 可在创建连接时重置电路板。
  12. Version 中,选择设备支持的传输层类型。
  13. Init commands 中,输入初始化连接时要执行的命令。
  14. Reset commands 中,输入重置连接时要执行的命令。
  15. 选择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.