When the Puck.js is in bootloader mode EspruinoTools cannot connect to the Puck.js to upload the firmware.
Obviously it does not find it under the name puck.js xxxx, but it also does not work with -d 'DfuTarg' or -p <device address> or without a port or device option.
-p <device address>
Uploading the firmware when the Puck.js is not in bootloader mode is also not possible (as expected)
I am running EspruinoTools under Linux Debian buster with bluez 5.50
Any help is appreciated.
I know there are other ways to upload firmware to the espruino devices. I am looking for a way to automate it without fiddeling around in a GUI tool
From the Puck's Firmware update:
Now a "DfuTarg" device should be connectable.
Just to link up, you filed an issue for this on https://github.com/espruino/EspruinoTools/issues/113 as well
Unfortunately CLI-based bluetooth firmware update isn't supported in EspruinoTools at the moment.
If you need to use CLI to do it, it's easiest just to use https://www.npmjs.com/package/web-bluetooth-dfu - which should do command-line firmware updates for you. Worth noting that especially on Linux it'll be quite a bit slower than the Android method
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem