Why this openocd doesn't support ch347 adapter?
還沒有人認領這個 Issue。
評估
- 難度
- 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,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
STMicroelectronics/OpenOCD 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 55/100
-
難度 3/5 1-2 天 新手友好度 67/100
-
難度 3/5 1-2 天 新手友好度 68/100
-
難度 4/5 3-5 天 新手友好度 45/100
-
STM32N647: OpenOCD halt/debug fails with UNDEFINED while CubeIDE works可能重新可做 @tarek-bochkati 於 325 天前認領,目前沒有進行中的 PR。 未關閉bug
STMicroelectronics/OpenOCD#44 · 1 則留言 · 已指派 1 人 ·
查看 STMicroelectronics/OpenOCD 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 82/100
Polprzewodnikowy/N64FlashcartMenu#486 · 3 則留言 ·
-
crash
難度 2/5 1-3 小時 新手友好度 64/100
-
難度 2/5 1-3 小時 新手友好度 76/100
-
難度 2/5 1-3 小時 新手友好度 78/100
-
`core.output` prints string properties without escaping their quotes可能已有人在做 @JensOgorek 今天認領。 未關閉bug
難度 2/5 1-3 小時 新手友好度 82/100
zauberzeug/lizard#399 ·
維護者通常 2 天內回覆