My old raspberry pi 3B+ died and since you can’t buy pi3’s anymore, I bought a pi4. I’m running raspian buster on it currently.
When I try to upgrade the firmware I get the following output:
GoPiGo3 firmware needs to be version 1.0.x but is currently version 0.3.4
Firmware upgrade is needed
Attempting to upgrade firmware.
Flashing the firmware using a Pi4
Using interface file 'rpi4-sysfsgpio.cfg' for RPi version 'RPI4'.
/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'
Open On-Chip Debugger 0.10.0-dev (2016-12-16-18:07)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
/home/pi/Dexter/GoPiGo3/Firmware/rpi4-sysfsgpio.cfg:1: Error: invalid command name "adapter"
in procedure 'script'
at file "embedded:startup.tcl", line 60
at file "/home/pi/Dexter/GoPiGo3/Firmware/rpi4-sysfsgpio.cfg", line 1
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "build/bdist.linux-armv7l/egg/gopigo3.py", line 250, in __init__
gopigo3.FirmwareVersionError: GoPiGo3 firmware needs to be version 1.0.x but is currently version 0.3.4
It looks like the relevant line is:
/home/pi/Dexter/GoPiGo3/Firmware/rpi4-sysfsgpio.cfg:1: Error: invalid command name "adapter"
Looks like rpi4-sysfsgpio.cfg
fails on the very first line:
adapter driver sysfsgpio
I’m unsure of how to troubleshoot this and without the upgrade I can’t use my gopigo3 anymore. I see some threads from a few years ago discussing issues with the pi4, but none of them match my exact issue and I’m unsure of how to proceed.