Maxim MCU 与Eclipse 和 OpenOCD

发布于 2025-01-14 13:38:14 字数 853 浏览 3 评论 0原文

我全新安装了 Maxims Micros SDK,当我尝试调试甚至在目标上运行时遇到问题。我得到以下输出

    Open On-Chip Debugger 0.11.0+dev-g4f85f7914 (2021-12-16-13:53)
Licensed under GNU GPL v2
For bug reports, read
    http://openocd.org/doc/doxygen/bugs.html
DEPRECATED! use 'adapter driver' not 'interface'
DEPRECATED! use 'adapter srst delay' not 'adapter_nsrst_delay'
DEPRECATED! use 'adapter srst pulse_width' not 'adapter_nsrst_assert_width'
Started by GNU MCU Eclipse
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections

这不是几周前的问题,我现在安装了全新的 Windows。当我插入 MCU 时,我会弹出用于拖放固件的 DAPLINK 可移动驱动器,但 cmsis_dap 调试似乎不起作用,至少这是我能收集到的,或者不知何故 openocd 版本比 eclipse 中编写的脚本太新。 这是用于调试和运行配置的 Eclipse 脚本的内容:

-s ${env_var:TOOLCHAIN_PATH}/OpenOCD/scripts -f  interface/cmsis-dap.cfg -f target/max32670.cfg

I have a fresh install of Maxims Micros SDK and I am having an issue when I try to debug or even run on target. I get the following output

    Open On-Chip Debugger 0.11.0+dev-g4f85f7914 (2021-12-16-13:53)
Licensed under GNU GPL v2
For bug reports, read
    http://openocd.org/doc/doxygen/bugs.html
DEPRECATED! use 'adapter driver' not 'interface'
DEPRECATED! use 'adapter srst delay' not 'adapter_nsrst_delay'
DEPRECATED! use 'adapter srst pulse_width' not 'adapter_nsrst_assert_width'
Started by GNU MCU Eclipse
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections

This was not the issue a few weeks ago, I now have a fresh windows install. When I plug the MCU i get the DAPLINK removable drive pop up for drag-drop firmware but cmsis_dap debugging seems to not be working at least thats what I can gather, or somehow openocd version is too new than what the script in eclipse was written for.
This is what eclipse script for debug and run configurations has:

-s ${env_var:TOOLCHAIN_PATH}/OpenOCD/scripts -f  interface/cmsis-dap.cfg -f target/max32670.cfg

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文