【问题标题】:How to start openOCD on ARM M1 MacBook如何在 ARM M1 MacBook 上启动 openOCD
【发布时间】:2021-04-29 20:21:56
【问题描述】:

我很难启动 openocd。我附上了STM32F3 Discovery 板。 当我运行openocd -f interface/stlink.cfg -f target/stm32f3x.cfg 时,出现以下错误:

Open On-Chip Debugger 0.11.0
Licensed under GNU GPL v2
For bug reports, read
    http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 1000 kHz
Error: open failed

非常感谢任何有关如何启动 openOCD 的帮助。

【问题讨论】:

    标签: openocd apple-silicon


    【解决方案1】:

    原来我用的只是电源线,不支持数据传输。

    使用具有所有 4 条线路的适当迷你 USB 电缆,它可以立即工作。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-09-22
      • 2021-10-19
      • 2022-10-15
      • 2013-02-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-07-31
      相关资源
      最近更新 更多