Cannot find script files with OpenOCD

ぐ巨炮叔叔 提交于 2019-12-12 05:13:24

问题


I'm trying to use OpenOCD together with my ST discovery board, following this tutorial: https://japaric.github.io/discovery/README.html. When verifying the OpenOCD installation I get the following error:

I've tried providing absolute paths to all files, it does not work. I also tried using the script files found in the scripts/board folder. They showed similar issues, the files cannot be found. Any pointers on solving this would be great.

My host computer is running Windows 10.


回答1:


cd to /cygdrive/c/OpenOCD/share/openocd/scripts and then execute openocd -f file1 -f file2.

Alternatively, command shown in the picture of the question seems to work in the normal windows command prompt no matter the current working directory.



来源:https://stackoverflow.com/questions/46673651/cannot-find-script-files-with-openocd

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!