Possible to reset Puck? - Help !

Posted on
  • Hi all,

    Newbie to this forum but I'm a software developer who has been working with a Puck.JS for the past couple of months.

    I was just toying around with the idea of of trying to conserve battery life by calling NRF.sleep() & NRF.wake() at set intervals.

    I've made a real newbie mistake... I made a program that calls NRF.sleep() as soon as the Puck boots, and never calls NRF.wake()... I now can't connect to the Puck with Espruino IDE to re-program it !!

    I've tried putting the Puck into DFU mode and re-flashing the firmware (thinking it would wipe the program too) but it hasn't worked, it still boots into the original program and immediately disables Bluetooth! :-(

    Is there any way to reset a Puck.JS into it's initial 'factory state' or to wipe it clean & start again?!

    Thanks in advance !

  • I've worked it out, I'll post the method below in case anyone needs this in the future...

    1) Remove the battery
    2) Hold down button on Puck
    3) Insert the battery
    4) Keep holding the button down until one of the LED flashes a number of times (about 5 - 10 seconds).
    5) You can now re-connect via Espruino IDE and upload a new program.

    :-)

  • Great - glad you got it sorted in the end!

    If you're interested, there's a bit more info/background on this here: http://www.espruino.com/Puck.js#i-saved-some-code-and-my-puck-js-no-longer-works

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Possible to reset Puck? - Help !

Posted by Avatar for user78002 @user78002

Actions