【PyOCD】使用 Vscode 调试
一、安装 PyOCD OpenOCD,Open On-Chip Debugger,主要使用 C 编写。 PyOCD,Python On-Chip Debugger,主要使用 Python 编写。 当前最新版本的 PyOCD 是 v0.42,其依赖的 Python 版本是 >= 3.8.0。 1 2 3 4 5 $ python --version Python 3.12.5 $ pip --version pip 25.3 from C:\Users\Zeepunt\AppData\Roaming\Python\Python312\site-packages\pip (python 3.12) 这里我们使用 pip 工具安装即可。 1 2 3 4 5 6 7 8 $ python -mpip install -U pyocd ... Installing collected packages: pyocd Attempting uninstall: pyocd Found existing installation: pyocd 0.41.0 Uninstalling pyocd-0.41.0: Successfully uninstalled pyocd-0.41.0 Successfully installed pyocd-0.42.0 查看版本信息: ...