micro-ROS / micro-ROS/micro_ros_setup
What is the reason for transaction stalled error while running flash_firmware.sh
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Shell
- Estrellas
- 509
- Forks
- 183
- Merge medio
- 22 h 26 min
- PR fusionados (30 d)
- 7
Descripción
I am getting the following error while running `ros2 run micro_ros_setup flash_firmware.sh`
```
Flashing firmware for zephyr platform olimex-stm32-e407
Bus 003 Device 018: ID 15ba:002a Olimex OpenOCD JTAG ARM-USB-TINY-H
Open On-Chip Debugger 0.11.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "jtag". To override use 'transport select '.
Info : clock speed 2000 kHz
Info : JTAG tap: stm32f4x.cpu tap/device found: 0x4ba00477 (mfg: 0x23b (ARM Ltd), part: 0xba00, ver: 0x4)
Info : JTAG tap: [stm32f4x.bs](http://stm32f4x.bs/) tap/device found: 0x06413041 (mfg: 0x020 (STMicroelectronics), part: 0x6413, ver: 0x0)
Info : DAP transaction stalled (WAIT) - slowing down
Info : DAP transaction stalled (WAIT) - slowing down
Info : DAP transaction stalled (WAIT) - slowing down
Info : DAP transaction stalled (WAIT) - slowing down
Info : DAP transaction stalled (WAIT) - slowing down
Info : stm32f4x.cpu: hardware has 0 breakpoints, 0 watchpoints
Info : starting gdb server for stm32f4x.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : JTAG tap: stm32f4x.cpu tap/device found: 0x4ba00477 (mfg: 0x23b (ARM Ltd), part: 0xba00, ver: 0x4)
Info : JTAG tap: [stm32f4x.bs](http://stm32f4x.bs/) tap/device found: 0x06413041 (mfg: 0x020 (STMicroelectronics), part: 0x6413, ver: 0x0)
Error: Could not find MEM-AP to control the core
Info : DAP transaction stalled (WAIT) - slowing down
Info : DAP transaction stalled (WAIT) - slowing down
Info : DAP transaction stalled (WAIT) - slowing down
Info : DAP transaction stalled (WAIT) - slowing down
Error: Failed to enable the FPB
TARGET: stm32f4x.cpu - Not halted
[ros2run]: Process exited with failure 1
```
I have the STM32-E407 Board and flashing via ARM-USB-TINY-H. At times it works after I press reset for some time. And after sometime if I try to flash again with a new program this happens.
Guía de contribución
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.
Línea de trabajo
Comienza con el punto de entrada `ros2 run micro_ros_setup flash_firmware.sh` e inspecciona cómo invoca OpenOCD para el Olimex STM32-E407. Reproduce el fallo intermitente con el ARM-USB-TINY-H y compara las ejecuciones en las que pulsar reset permite realizar el flasheo. Se considerará terminado cuando se identifique la causa de la transacción atascada y se documenten pasos fiables para realizar el flasheo.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- shell
- Área
- embedded-iot
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100