Why this openocd doesn't support ch347 adapter?

オープン
#53 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
52/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
c
領域
embedded-iot

調査の方向性

Start by comparing the adapter lists in the issue with the STMicroelectronics build and xPack OpenOCD, then check the repository's build configuration and adapter sources for CH347 support. The issue does not name files or tests, so first establish whether CH347 support exists in this repository and how adapters are included in its build. Done means explaining why this build omits CH347 or identifying the change needed to make it available.

索引モデルが issue の本文から書いたものです。

説明

The powershell output for this openocd is as below, there is no ch347:

 ./openocd -c "adapter list"
Open On-Chip Debugger 0.12.0+dev-00635-gddb0d32b4 (2025-11-07-10:06) [https://github.com/STMicroelectronics/OpenOCD]
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
The following debug adapters are available:
1: ftdi
2: usb_blaster
3: esp_usb_jtag
4: ft232r
5: usbprog
6: vsllink
7: rlink
8: ulink
9: angie
10: arm-jtag-ew
11: hla
12: osbdm
13: opendous
14: cmsis-dap
15: kitprog
16: xds110
17: st-link
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Error: Debug Adapter has to be specified, see "adapter driver" command

but xpack-openocd-0.12.0-7 has ch347:

./openocd -c "adapter list"
xPack Open On-Chip Debugger 0.12.0+dev-02228-ge5888bda3-dirty (2025-10-04-22:44)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
amt_jtagaccel  { jtag }
angie          { jtag }
arm-jtag-ew    { jtag }
ch347          { jtag swd }
cmsis-dap      { jtag swd }
dummy          { jtag }
esp_usb_jtag   { jtag }
ft232r         { jtag }
ftdi           { jtag swd }
gw16012        { jtag }
hla            { jtag swd }
jlink          { jtag swd }
jtag_dpi       { jtag }
jtag_vpi       { jtag }
kitprog        { swd }
opendous       { jtag }
openjtag       { jtag }
osbdm          { jtag }
parport        { jtag }
presto         { jtag }
remote_bitbang { jtag swd }
rlink          { jtag }
st-link        { jtag swd swim }
ulink          { jtag }
usb_blaster    { jtag }
usbprog        { jtag }
vdebug         { jtag swd }
vsllink        { jtag swd }
xds110         { jtag swd }
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Error: Debug Adapter has to be specified, see "adapter driver" command
主要言語
C
スター
212
フォーク
61
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

STMicroelectronics/OpenOCD のほかの issue

STMicroelectronics/OpenOCD の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。