Why this openocd doesn't support ch347 adapter?

Abierto
#53 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
52/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
c
Área
embedded-iot

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
C
Estrellas
212
Forks
61
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de STMicroelectronics/OpenOCD

Todos los issues de STMicroelectronics/OpenOCD

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.