I was trying to upgrade my Brewpi Spark 3 (Particle P1 inside) from 0.5.2 to 0.5.5 yesterday and seem to have “bricked” my brewpi… I tried updating using the instructions on the release on github, but could not get the docker way working.
What I did was the following:
Logged in to my pi (where I have installed 2 spark’s, this is the first one and are using the default path for data) and ran the docker command:
HypriotOS/armv7: kassen@mesken in ~
$ docker run -it --name brewpi-dfu --privileged -v ~/brewpi-data:/data --rm brewpi/brewpi-raspbian python
utils/flashDfu.py --trigger
Persistent files already present
[ ok ] Starting nginx: nginx.
HypriotOS/armv7: kassen@mesken in ~
I assume something more should’ve been happening, at least it did not enter DFU mode as it apparently should by running it.
Ended up trying to manually update the bootloader and this is were it went wrong.
First I did like the release notes said but could not get it working:
$ sudo particle serial flash bootloader-0.8.0-rc.3-p1.bin
! PROTIP: Hold the SETUP button on your device until it blinks blue!
? Press ENTER when your device is blinking BLUE
! serial: No serial port identified
Did some googling and found you could do it with the usb param:
$ sudo particle flash --usb bootloader-0.8.0-rc.3-p1.bin
Error writing firmware…unknown module function 2, use --force to override
Ok, force it then:
$ sudo particle flash --usb --force bootloader-0.8.0-rc.3-p1.bin
Flash success!
Yay, apparently it was successful… Not exactly. Now my Brewpi Spark 3 is showing a constant green light, and a black/dead screen… I have even tried a factory reset by holding setup and reset button, letting go of reset and holding the setup button forever waiting for a white light that never come. What happens is first it blinks magenta, then yellow and it does not go on from there… (same that happens regardless of the reset being clicked, so I’m not able to set it in listening mode (blinking blue) either)
Any tips on what I can do to get it up and running again? I’ve tried logging onto the Brewpi Spark console via portainer, and running the scripts in utils but to no avail…