没有SPI响应。 gopigo3与地址8未连接

发布于 2025-01-22 19:37:06 字数 1116 浏览 5 评论 0原文

我试图将我的gopigo3与我的覆盆子Pi一起使用,但它们似乎彼此之间的联系并不很好。

当我尝试更新Gopigo3的固件时,我会遇到此错误:

pi@raspberrypi:~Dexter/GoPiGo3/Firmware $ bash gopigo3_flash_firmware.sh

No SPI response. GoPiGo3 with address 8 not connected.
Firmware upgrade is needed
Attempting to upgrade firmware.
Using interface file 'rpi2.cpg' for RPi version 'RPI3'.
/home/pi/Dexter/GoPiGo3/Firmware
/home/pi/Dexter/GoPiGo3/Firmware/GoPiGo3_Firmware_1.0.0.bin
Updating the GoPiGo3 Firmware with '/home/pi/Dexter/GoPiGo3/Firmware/GoPiGo3_Firmware_1.0.0.bin'
openocd: error while loading shared libraries: libusb-1.0.so.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File "build/bdist.linux-aarch64/egg/gopigo3.py", line 244, in __init__
IOError: No SPI response. GoPiGo3 with address 8 not connected.

但是我的gopigo3 LED上确实有绿灯,表明连接正在起作用(我想)。

当我尝试时:

sudo apt-get install libusb-1.0-0

我得到:

libusb-1.0-0 is already latest version (2:1.0.22-2).

有人为我有解决方案吗?

I am trying to use my GoPiGo3 with my raspberry pi but they don't seem to connect well to each other.

When I try to to update the Firmware of my GoPiGo3, I get this error:

pi@raspberrypi:~Dexter/GoPiGo3/Firmware $ bash gopigo3_flash_firmware.sh

No SPI response. GoPiGo3 with address 8 not connected.
Firmware upgrade is needed
Attempting to upgrade firmware.
Using interface file 'rpi2.cpg' for RPi version 'RPI3'.
/home/pi/Dexter/GoPiGo3/Firmware
/home/pi/Dexter/GoPiGo3/Firmware/GoPiGo3_Firmware_1.0.0.bin
Updating the GoPiGo3 Firmware with '/home/pi/Dexter/GoPiGo3/Firmware/GoPiGo3_Firmware_1.0.0.bin'
openocd: error while loading shared libraries: libusb-1.0.so.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File "build/bdist.linux-aarch64/egg/gopigo3.py", line 244, in __init__
IOError: No SPI response. GoPiGo3 with address 8 not connected.

But I do have a green light on my GoPiGo3 led indicating the connection is working (I suppose).

And when I try:

sudo apt-get install libusb-1.0-0

I get:

libusb-1.0-0 is already latest version (2:1.0.22-2).

Does anyone have a solution for me?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

南薇 2025-01-29 19:37:06

好的,我的解决方案是在 /boot/config.txt文件中注释“ dtparam = i2s = on”:

# Uncomment some or all of these to enable the optional hardware interfaces    
dtparam=i2c_arm=on
#dtparam=i2s=on
dtparam=spi=on

Ok so my solution was to comment "dtparam=i2s=on" in the /boot/config.txt file:

# Uncomment some or all of these to enable the optional hardware interfaces    
dtparam=i2c_arm=on
#dtparam=i2s=on
dtparam=spi=on
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文