Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试按照本教程将 OpenOCD 与我的 ST 发现板一起使用:https ://japaric.github.io/discovery/README.html 。验证 OpenOCD 安装时,出现以下错误:
我试过提供所有文件的绝对路径,它不起作用。我还尝试使用 scripts/board 文件夹中的脚本文件。他们显示了类似的问题,找不到文件。任何有关解决此问题的指示都会很棒。
我的主机运行的是 Windows 10。
cd到/cygdrive/c/OpenOCD/share/openocd/scripts然后执行openocd -f file1 -f file2。
cd
/cygdrive/c/OpenOCD/share/openocd/scripts
openocd -f file1 -f file2
或者,无论当前工作目录如何,问题图片中显示的命令似乎都可以在正常的 Windows 命令提示符下工作。