micro-ROS / micro-ROS/micro_ros_setup
What is the reason for transaction stalled error while running flash_firmware.sh
- 主要语言
- Shell
- 星标
- 509
- 派生
- 183
- 平均合并
- 22 小时 26 分钟
- 30 天内合并 PR
- 7
描述
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.
贡献指南
调研方向
从入口点 `ros2 run micro_ros_setup flash_firmware.sh` 开始,检查它如何为 Olimex STM32-E407 调用 OpenOCD。使用 ARM-USB-TINY-H 重现间歇性故障,并比较按下 reset 后可以进行烧录的运行情况。完成的标准是确定事务停滞的原因,并记录可靠的烧录步骤。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- shell
- 领域
- embedded-iot
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100