-
• #2
From the Puck's Firmware update:
- Reset Puck.js with the button held down - the Green LED should be lit
- Release the button within 3 seconds of inserting the battery - either the Red LED should light instead or on new Puck.js devices, Green will light more brightly. If it doesn't, you'll need to try again, holding the button down for less time after inserting the battery.
Now a "DfuTarg" device should be connectable.
- Reset Puck.js with the button held down - the Green LED should be lit
-
• #3
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
Hi,
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.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.
Thanks,
Lars
PS:
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