thestraw0039
Active Member
Do you get the same results when running updateFirmware.py?
You can try adding a ":i" after the filename to explicitly define it as an Intel Hex file:
It should not be needed, but that's the answer to that error.Code:sudo avrdude -F -e -p atmega328p -c arduino -b 115200 -P /dev/ttyACM0 -U flash:w:brewpi-arduino-uno-revc-0.2.12.hex:i
That suggests the BrewPi script was still running.
Excellent! That means when I fix the UI method, it will work.
Odd because I can't get the script to run, fooling around with it now but here is what the log says. Clean install on a new Pi.
Code:
pi@raspberrypi:/home/brewpi/logs $ cat stdout.txt
2020-01-18 22:04:14 Opening serial port.
2020-01-18 22:04:14 0.5.4.1 (master) [5824d24 Fix degree sign in web]
2020-01-18 22:04:14 Starting 'My BrewPi Remix Run.'
2020-01-18 22:04:14 Waiting 10 seconds for board to restart.
2020-01-18 22:04:24 Checking software version on controller.
2020-01-18 22:04:24 Found BrewPi v0.2.12 build 8d36524, running on an Arduino Uno with a revC shield on port /dev/ttyACM0.
2020-01-18 22:04:25 Caught an unhandled exception, exiting.
2020-01-18 22:04:25 Stopping background serial processing.
2020-01-18 22:04:25 Closing port.
2020-01-18 22:04:25 Closing open sockets.
2020-01-18 22:04:25 Exiting.