Help Updating Spark FW 0.4.3


#1

Tried updater.py and a few other update instruction found in this topic to no avail. Still at 0.4.3 and experiencing the bug that locks the PID control mode Heat or cool on.

Here is the script after running updater.py

pi@hammondbrewpi:~/brewpi-tools $ sudo python updater.py
######################################################

Welcome to the BrewPi Updater!

######################################################

Checking whether the update script is up to date
/home/pi/brewpi-tools is up-to-date.

It is not recommended to update during a brew!
If you are actively logging a brew we recommend canceling the the update with ctrl-c.

*** Updating BrewPi script repository ***

Stopping running instances of BrewPi
Quit message sent to BrewPi instance with pid 1292!
You are on branch master
The latest commit in /home/brewpi is 2b3756d43988264c73be8a42fe39ee01285cec8e on Mon, 31 Jul 2017 13:01:57
The latest commit on origin/master is 2b3756d43988264c73be8a42fe39ee01285cec8e on Mon, 31 Jul 2017 13:01:57
Your local version of /home/brewpi is up to date!

*** Updating BrewPi web interface repository ***
You are on branch master
The latest commit in /var/www/html is 2282837df5f0bb171ae58302b7780d5d50d213e2 on Sat, 23 Sep 2017 01:23:28
The latest commit on origin/master is 2282837df5f0bb171ae58302b7780d5d50d213e2 on Sat, 23 Sep 2017 01:23:28
Your local version of /var/www/html is up to date!

No changes were made, skipping runAfterUpdate.sh.
If you encounter problems, you can start it manually with:
sudo /home/brewpi/utils/runAfterUpdate.sh

The update script can automatically check your controller firmware version and program it with the latest release on GitHub, would you like to do this now? [Y/n]:y
Stopping any running instances of BrewPi to check/update controller…

Checking current firmware version…
Dec 16 2017 16:51:27 Opening serial port
Found BrewPi v0.4.3 build 0.4.3-0-g4d00879, running on a Particle Photon with a V2 shield on port /dev/ttyACM0

Current firmware version on controller: 0.4.3

Checking GitHub for available release…
Latest version on GitHub: 0.5.2
Downloading firmware…
downloading https://github.com/BrewPi/firmware/releases/download/0.5.2/brewpi-photon-0.5.2.bin
Updated system firmware for the photon found in release 0.4.4
downloading https://github.com/BrewPi/firmware/releases/download/0.4.4/system-part1-0.5.3-photon.bin
downloading https://github.com/BrewPi/firmware/releases/download/0.4.4/system-part2-0.5.3-photon.bin
Downloaded new system firmware to:

/home/brewpi/utils/downloads/0.4.4/system-part1-0.5.3-photon.bin
and

/home/brewpi/utils/downloads/0.4.4/system-part2-0.5.3-photon.bin

Latest firmware downloaded to:
/home/brewpi/utils/downloads/0.5.2/brewpi-photon-0.5.2.bin

Updating firmware…

**** Photon Program script started ****
Settings will be restored if possible
Devices will be restored if possible
Checking old version before programming.
Dec 16 2017 16:51:32 Opening serial port
Checking current version: Found BrewPi v0.4.3 build 0.4.3-0-g4d00879, running on a Particle Photon with a V2 shield on port /dev/ttyACM0

Requesting old settings from Photon…
Saved old settings to file settings-Dec-16-2017-16-51-35.json
Flashing system part 1.
Triggering a firmware update with the ymodem protocol on the controller
Flashing file /home/brewpi/utils/downloads/0.4.4/system-part1-0.5.3-photon.bin
Problem flashing file: 67
Please try again.
BrewPi script will restart automatically.
Firmware update done

*** Done updating BrewPi! ***


#2

I think you’ll have to use DFU mode over USB to be able to do this update.
Please try putting the photon in DFU mode by holding the mode button and triggering a reset (with the reset button or by unplugging power) until it flashes yellow.

Then run:
sudo python /home/brewpi/utils/flashDfu.py


#3

Been having this exact same problem, can confirm that this worked just perfectly for me and my brewpi is finally back in action.