Spark Photon displaying white screen & "Serial Error: Write timeout" in log


#1

My original BrewPi Spark with the Photon controller is displaying a blank white screen. I’ve updated the Photon firmware to 0.7.0. I can access it via screen to run the WiFi setup. It has a valid IP address on the WiFi, and I can ping it, but i can’t communicate with it over TCP 6666. I can serial into it from the pi (docker container), but it’s giving me write errors (below). I did use the --privileged flag when creating the container so it should have access to the USB.

Any advice? Is this failed hardware?

Dec 26 2018 22:12:15 Notification: Script started for beer ‘My First BrewPi Run’
Dec 26 2018 22:12:15 Connecting to controller…
Dec 26 2018 22:12:15 Background thread for serial started
Dec 26 2018 22:12:15 Serial (re)connected for Photon [2d003d001647343337363432] at port: ttyACM0
Dec 26 2018 22:12:15 Serial Error: Write timeout)
Dec 26 2018 22:12:16 Serial Error: Write timeout)
Dec 26 2018 22:12:17 Serial Error: Write timeout)
Dec 26 2018 22:12:18 Serial Error: Write timeout)
Dec 26 2018 22:12:19 Serial Error: Write timeout)
Dec 26 2018 22:12:20 Serial Error: Write timeout)
Dec 26 2018 22:12:21 Serial Error: Write timeout)
Dec 26 2018 22:12:22 Serial Error: Write timeout)
Dec 26 2018 22:12:23 Serial Error: Write timeout)
Dec 26 2018 22:12:24 Serial Error: Write timeout)
Dec 26 2018 22:12:25 Warning: Cannot receive version number from controller. Check your port setting in the Maintenance Panel or in settings/config.cfg.
Dec 26 2018 22:12:26 Serial Error: Write timeout)
Dec 26 2018 22:12:26 Serial Error: Write timeout


#2

It looks like you are not running the BrewPi application, but have the Particle factory firmware with a blank application.

Please run the following on the pi to get the latest version of the BrewPi firmware:

docker run -it --name brewpi-dfu --privileged -v ~/brewpi-data:/data --rm brewpi/brewpi-raspbian python utils/flashDfu.py --trigger

docker run -it --name brewpi-dfu --privileged -v ~/brewpi-data:/data --rm brewpi/brewpi-raspbian python utils/flashDfu.py --noreset

If you are not running this from a raspberry pi, run this instead:

docker run -it --name brewpi-dfu --privileged -v ~/brewpi-data:/data --rm brewpi/brewpi-ubuntu python utils/flashDfu.py --trigger

docker run -it --name brewpi-dfu --privileged -v ~/brewpi-data:/data --rm brewpi/brewpi-ubuntu python utils/flashDfu.py --noreset

#3

It’s alive! Thanks Elco! Not sure how i missed that step.