Maxim MCU 与Eclipse 和 OpenOCD
我全新安装了 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论