主题中讨论的其他器件:LMFLASHPROGRAMR
您好!
我最近开始使用加载在 TM4C ROM 中的 TI 引导加载程序时遇到一些编程故障。 我们在开发 launchpad 板上以及在我们的定制板上的 IC 上都遇到了此问题。 我还应该补充的是、当使用 TI 的 LMFLASHPROGRAMR 时、它甚至会失败、并返回错误代码-1。
下面是一个日志、显示设备未能枚举:
[ 5.614518] hub 1-1.3.2.1:1.0: USB hub found [ 5.619131] hub 1-1.3.2.1:1.0: 4 ports detected [ 5.666698] usb 1-1.3.4: new full-speed USB device number 9 using xhci-hcd [ 5.776725] usb 1-1.3.4: device descriptor read/64, error -32 [ 5.996730] usb 1-1.3.4: device descriptor read/64, error -32 [ 6.216706] usb 1-1.3.4: new full-speed USB device number 10 using xhci-hcd [ 6.326731] usb 1-1.3.4: device descriptor read/64, error -32 [ 6.546731] usb 1-1.3.4: device descriptor read/64, error -32 [ 6.766706] usb 1-1.3.4: new full-speed USB device number 11 using xhci-hcd [ 6.776148] usb 1-1.3.4: Device not responding to setup address. [ 6.999147] usb 1-1.3.4: Device not responding to setup address. [ 7.216704] usb 1-1.3.4: device not accepting address 11, error -71 [ 7.316707] usb 1-1.3.4: new full-speed USB device number 12 using xhci-hcd [ 7.326148] usb 1-1.3.4: Device not responding to setup address. [ 7.549146] usb 1-1.3.4: Device not responding to setup address. [ 7.766705] usb 1-1.3.4: device not accepting address 12, error -71 [ 7.773266] usb 1-1.3-port4: unable to enumerate USB device
无法响应设置且不接受地址的器件是 TM4C、因为连接到集线器的其余器件工作正常。
我在 Linux 上运行、并尝试了各种命令以强制器件再次尝试和枚举、但似乎持续出现上述错误。
-
- 重置整个集线器:
echo 0 >/sys/bus/USB/drivers/USB/1-1/ Authorized
echo 1 >/sys/bus/USB/drivers/USB/1-1/ Authorized - 缩小到特定端口的范围:
echo 0 >/sys/bus/USB/drivers/USB/1-1.3/ Authorized
echo 1 >/sys/bus/USB/drivers/USB/1-1.3/ Authorized - 卸装和重新装订 USB 和 PCI 驱动程序
对于/sys/bus/USB/drivers/*/*:*中的 i;请执行
[-e "$i"]||继续
回显"${I#*/}">"${I%/*}/解除绑定"
回显"${i#*/}">"${i%/*}/bind
完成
对于/sys/bus/pci/drivers/*/*:*; do
[-e "$i"]||继续
回显"${I#*/}">"${I%/*}/解除绑定"
回显"${i#*/}">"${i%/*}/bind
完成 - 重置整个集线器:
有关此引导加载程序是否存在任何已知问题? 或可能的解决方案来解决这一问题?