Hi, After the long time running spark v2 had a stall reading the temperature sensors, I decided to try to flash the device. I am getting the following error. After multiple, unsucsessful trials with chatgpt, and particle-cli I hope there is a workaround somehow. The device can be set-up with wifi through the particle-photon web interface. However trying to flash it from brewblox - leaves the spark in DFU mode and the following error:
brewblox-ctl flash
INFO Flashing Spark 2 ...
edge: Pulling from brewblox/brewblox-firmware-flasher
Digest: sha256:3d96c6485d09c511c6828854fbe39c1b5bd2993727fd78457363d448c99497cc
Status: Image is up to date for ghcr.io/brewblox/brewblox-firmware-flasher:edge
Triggering DFU mode...
Flashing Photon...
Flashing System 1 file...
:::: NOTICE:
:::: Your first flash may take up to 10m to complete - during
:::: this time, your device may regularly change LED states
:::: as Device OS upgrades are applied.
Flashing photon device 3e0035000a47353235303037
[█████████████████████████] 100% | Flash success!
Flashing System 2 file...
pkg/prelude/bootstrap.js:1876
throw error;
^
Error: No native build was found for platform=linux arch=arm runtime=node abi=127 uv=1 armv=default libc=glibc node=22.13.1
loaded from: /snapshot/particle-cli/node_modules/usb
at Function.<anonymous> (/snapshot/particle-cli/node_modules/node-gyp-build/node-gyp-build.js:60:9)
at load (/snapshot/particle-cli/node_modules/node-gyp-build/node-gyp-build.js:22:30)
at Object.<anonymous> (/snapshot/particle-cli/node_modules/usb/dist/usb/bindings.js:8:38)
at Module._compile (pkg/prelude/bootstrap.js:1934:22)
at Module._extensions..js (node:internal/modules/cjs/loader:1703:10)
at Module.load (node:internal/modules/cjs/loader:1317:32)
at Module._load (node:internal/modules/cjs/loader:1127:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
at Module.require (node:internal/modules/cjs/loader:1339:12)
Node.js v22.13.1
ERROR CalledProcessError(Command 'docker run -it --rm --privileged -v /dev:/dev --pull always ghcr.io/brewblox/brewblox-firmware-flasher:edge flash' returned non-zero exit status 1.)
ERROR
It is cold in Trondheim for the time being and the cellar temp is ok for the batch of lager fermenting. however- guide to fix would be appreciated.
Atle