Why this openocd doesn't support ch347 adapter?

Aberta
#53 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
52/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
c
Domínio
embedded-iot

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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
Linguagem predominante
C
Estrelas
212
Forks
61
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de STMicroelectronics/OpenOCD

Todas as issues de STMicroelectronics/OpenOCD

Issues semelhantes

Mais issues de C

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.