No support for stm32mp2x
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Área
- devtools, embedded-iot
Línea de trabajo
Start by inspecting target/stm32mp2x.cfg references and the target/ directory in OpenOCD, then reproduce the missing-file error with the STM32CubeIDE configuration described. Done means STM32MP2 support is available through the expected target configuration and the reported debug session no longer fails because the file is missing.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description:
I am trying to flash my STM32MP2 board using OpenOCD, but I am encountering an error because the file target/stm32mp2x.cfg is missing. This prevents OpenOCD from recognizing the target and initializing the debug session.
Error Message
Open On-Chip Debugger 0.12.0+dev-00608-gd8ed48fef (2025-02-06-11:20) [https://github.com/STMicroelectronics/OpenOCD]
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
STM32CubeIDE/workspace_1.18.0/AttemptD/CM33/AttemptD_CM33 Debug.cfg:43: Error: Can't find target/stm32mp2x.cfg
in procedure 'script'
at file "embedded:startup.tcl", line 28
at file "/Users/william/STM32CubeIDE/workspace_1.18.0/AttemptD/CM33/AttemptD_CM33 Debug.cfg", line 43
Steps to Reproduce
- Install OpenOCD from the official repository or through Homebrew (
brew install openocd). - Create a debug configuration in STM32CubeIDE for an STM32MP2 board.
- Attempt to flash the firmware using OpenOCD.
- OpenOCD fails to find
target/stm32mp2x.cfgand exits with an error.
Expected Behavior
OpenOCD should include the necessary target configuration file stm32mp2x.cfg for STM32MP2 boards, allowing successful flashing and debugging.
Actual Behavior
The required configuration file is missing, preventing the debugger from recognizing the board.
System Information
- OS: macOS Sonoma 14.x
- OpenOCD Version:
0.12.0+dev-00608-gd8ed48fef (2025-02-06-11:20) - Board: STM32MP2
- Installation Method: Homebrew
Possible Fix
- Add the missing
stm32mp2x.cfgfile to thetarget/directory in OpenOCD. - If the configuration file is not yet available, provide guidance on an alternative method to flash STM32MP2 boards.
Additional Context
I checked my OpenOCD installation folder, and the target/stm32mp2x.cfg file is completely missing. Searching through the OpenOCD repository, I also did not find an available configuration file for STM32MP2. Could you confirm whether support for STM32MP2 has been added or if there's an alternative configuration that can be used?
Let me know if you need further information. Thanks!
- Click Submit.
Let me know if you need modifications before submitting! 🚀
- Lenguaje dominante
- C
- Estrellas
- 202
- Forks
- 57
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de STMicroelectronics/OpenOCD
-
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 67/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
-
bug
STMicroelectronics/OpenOCD#44 · 1 comentario · 1 asignado ·
Todos los issues de STMicroelectronics/OpenOCD
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
bradcypert/plum#53 ·
-
Component: GLib
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Status: Opened
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
nextbsd/nextbsd-userland#285 ·