Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS 无法使用openocd 进行固件更新 #118

Open
hi-jian opened this issue Feb 28, 2023 · 5 comments
Open

MacOS 无法使用openocd 进行固件更新 #118

hi-jian opened this issue Feb 28, 2023 · 5 comments

Comments

@hi-jian
Copy link

hi-jian commented Feb 28, 2023

在macos上尝试使用openocd 进行更新的时候找不到设备

openocd -c "adapter driver cmsis-dap" -c "init;cmsis-dap info"
Open On-Chip Debugger 0.11.0
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
Error: unable to find a matching CMSIS-DAP device

请问有什么解决方案吗?

@jim-kirisame
Copy link
Member

@hi-jian
Copy link
Author

hi-jian commented Feb 28, 2023

好的,我看看。

@hi-jian
Copy link
Author

hi-jian commented Mar 1, 2023

有可能和这个问题类似 https://github.com/pyocd/pyOCD/issues/815,你可能需要改改pyocd的源码

尝试更改的过程中发现在 hid 设备列表的 path 中找不到 CMSIS-DAP 的名称,然后尝试使用配置信息进行强制链接过程发现
hid.device 方法不存在,更改成 Device后 发现open指令存在问题....

@myst729
Copy link
Contributor

myst729 commented May 10, 2023

这问题有进展吗?我某次升级 pyocd 以后也发现板载调试器不见了,后来都用的 jlink,或者 ota 升级

@codesnoodles
Copy link

这个问题还有进展吗?newhope64b的板子pyocd识别不到。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants