本页内容

设置 uVision IDE

uVision是一款用于开发嵌入式设备应用程序的集成开发环境(IDE)。要调试应用程序,可使用 uVision 模拟器,或通过 ST-Link 和 J-Link 直接在硬件上进行调试。

Peripheral Registers ”视图在调试模式下会显示外设寄存器的当前状态。该视图默认处于隐藏状态。

uVision 模拟器

“设备”偏好设置中“裸机”选项卡下的 uVision 模拟器

}

要设置 uVision 模拟器的首选项:

  1. 转到“Preferences ” > “Devices ” > Bare Metal.
  2. 选择“Add ”。
  3. 选择“uVision Simulator ”。
  4. 在“Name ”中,输入连接名称。
  5. 在“Host ”中,选择用于连接调试服务器提供商的主机名和端口号。
  6. 在“Tools file path ”中,输入 Keil 工具集配置文件的路径。
  7. 在“Target device ”中,选择要调试的设备。
  8. 在“Target driver ”中,选择用于连接目标设备的驱动程序。
  9. 选择“Limit speed to real-time ”以限制连接速度。
  10. 选择“Apply ”以添加调试服务器提供程序。

“设备”偏好设置中“裸机”选项卡下的 uVision St-Link

要设置 uVision St-Link 或 JLink 调试器的首选项:

  1. 转到“Preferences ” > “Devices ” > Bare Metal
  2. 选择“Add ”。
  3. 选择“uVision St-Link or uVision JLink ”。
  4. 在“Name ”中,输入连接名称。
  5. 在“Host ”中,选择用于连接调试服务器提供程序的主机名和端口号。
  6. 在“Tools file path ”中,输入 Keil 工具集配置文件的路径。
  7. 在“Target device ”中,选择要调试的设备。
  8. 在“Target driver ”中,选择用于连接目标设备的驱动程序。
  9. 在“Adapter options ”中,指定适配器接口类型和速度(单位为 MHz)。
  10. 选择“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.