**BrickPi3 on a PI3 **
Raspbian GNU/Linux 9 (stretch)
Summary
My problem is that my PI and BrickPi were working perfectly well together and are now not for no apparent hardware reason.
I started to get the IO error:No SPI response when I ran my Python script (which imports brickpi3 and creates a BrickPi3 class and had been working up to this point).
I found I could fix this by flashing the firmware , my program ran, the motors moved, etc. I had, however, to do reflash each time I booted the Pi. I then tried an update of the BrickPi package. This seem to install correctly ( but with some errors , see below) but I still had the same IO error message. Worse, now reflashing .sh file does not run, reporting an unsupported RPI version. This means I have lost communication totally with the BrickPi3.
So several mysteries : firstly, why did reflashing suddenly overcome the IO error and why was the fix not permanent? Why has the so called update mean that Stretch is no longer recognised?
Any help greatly appreciated.
More detail
Python script fails creating BrickPi3 class
self.BP = brickpi3.BrickPi3()
File ābuild/bdist.linux-armv7l/egg/brickpi3.pyā, line 299, in init
IOError: No SPI response
BrickPi update completed
curl -kL dexterindustries.com/update_brickpi3 | bash
seemed to finish but with many errors like this:
Err:1 Index of /raspbian stretch/main armhf libdotconf0 armhf 1.3-0.2
404 Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:2 Index of /raspbian stretch/main armhf libspeexdsp1 armhf 1.2~rc1.2-1
404 Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
This is perhaps why Stretch is not recognised? Why is this IP incorrect?
Firmware flash now fails
sudo bash /home/pi/Dexter/BrickPi3/Firmware/brickpi3samd_flash_firmware.sh
Traceback (most recent call last):
File āā, line 1, in
ImportError: No module named āauto_detect_rpiā
Found +
Unsupported RPi version āā. Please report to support@dexterindustries.com
No communication with BrickPi3
sudo python /home/pi/Dexter/BrickPi3/Software/Python/Examples/Read_Info.py
No SPI response