用户工具

站点工具


linux:ubuntu:openocd

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
linux:ubuntu:openocd [2020/01/02 22:44] zhangguolinux:ubuntu:openocd [2023/03/17 10:12] (当前版本) – 外部编辑 127.0.0.1
行 32: 行 32:
  
 启动openocd服务:  openocd  -f ft2232h.cfg  -f target.cfg 启动openocd服务:  openocd  -f ft2232h.cfg  -f target.cfg
 +
 +
 +====== - RPC server ======
 +
 +<code>
 +
 +OpenOCD provides a simple RPC server that allows to run arbitrary Tcl commands and
 +receive the results.
 +To access it, your application needs to connect to a configured TCP port (see tcl_port).
 +Then it can pass any string to the interpreter terminating it with 0x1a and wait for the
 +return value (it will be terminated with 0x1a as well). This can be repeated as many times
 +as desired without reopening the connection.
 +Remember that most of the OpenOCD commands need to be prefixed with ocd_ to get the
 +results back. Sometimes you might also need the capture command.
 +See contrib/rpc_examples/ for specific client implementations.
 +</code>
 +
 +可以参考openocd包目录contrib/rpc_examples/下的例子。
 +
linux/ubuntu/openocd.1577976254.txt.gz · 最后更改: 2023/03/17 10:12 (外部编辑)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki