micro-ROS / micro-ROS/micro_ros_setup

What is the reason for transaction stalled error while running flash_firmware.sh

Offen
#798 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Shell
Sterne
509
Forks
183
Ø Merge
22 Std. 26 Min.
Gemergte PRs (30 T.)
7

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit dem Einstiegspunkt `ros2 run micro_ros_setup flash_firmware.sh` und untersuche, wie dieser OpenOCD für das Olimex STM32-E407 aufruft. Reproduziere den sporadischen Fehler mit dem ARM-USB-TINY-H und vergleiche die Durchläufe, bei denen das Drücken von Reset das Flashen ermöglicht. Als erledigt gilt die Aufgabe, wenn die Ursache der steckengebliebenen Transaktion identifiziert und zuverlässige Schritte zum Flashen dokumentiert wurden.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
shell
Bereich
embedded-iot
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.