What's the problem with my puck.js

Posted on
  • Hello.

    I cannot make a pair with my puck.js suddenly.

    When I try to pair, my puck lights up all leds for 1 sencond after then red led flashes once shortly.

    I tried all things I can do. (Reset, rewrite all kind of firmwares, but the same.)

    Same with my iPhone 6.

    How can I fix it?

    Please help me.

  • Hi,

    You should be able to get around this by flashing firmware 1v91 and running some commands, however I didn't realise this was still happening.

    Hang on, and in an hour or so I'll post again and I should have a new firmware that will fix this for you.

  • Ok, if you try uploading the puck.js firmware zip file from here: http://www.espruino.com/binaries/travis/­34f43c4987a0067d2f9510b64ae812ed75f59f4a­/

    And then reboot with the button held down until all 3 LEDs light and then release, the green LED should flash (showing self test was fine) and you should be able to connect properly from then on.

  • It's working!!
    I upload the new firmware and reset. Everything is fine.
    Thank you so much.

  • No problem, that'd great!

    Out of interest, do you have any idea what could have started the issue? Did you connect to lots of different computers, or play around with the flash memory module? If I have some idea what causes it I might be able to stop it happening in the future, but I haven't been able to reproduce it here.

  • Not to lots of different computers, but to same computer. I repeated remove pairing and repairing the puck to PC. while doing this, puck went wrong.
    I hope this helps you.
    Thank you.

  • My Puck.js has unfortunately gone into the same state.

    I unboxed the device yesterday and more or less immediately updated the firmware (1v93). Then I spent a few hours just exploring it. Tested the (desktop) IDE a bit. Advertised a service/characteristic and tried to get that information with a small script on my Raspberry Pi Zero W. That involved a lot of trial and error, with repeated connections and requests for service/characteristic info.

    I don't remember exactly what happened, but out of the blue the script was no longer connecting / getting info as expected. After removing/inserting the battery, I could no longer connect from the Windows control panel. It just resulted in the LED behavior described in this thread.

    I got new firmware (1v93.162) from the link above and flashed it successfully. The problem still remains, though. At one point, Windows was suddenly able to connect. I saw that the IDE printed "app_timer_start error 8" over and over again really fast. After disconnecting, the LEDs started to flash again (the "all three, then red" sequence), now repeating every ~1-7 seconds.

    It's still possible to connect using nRF Connect and LightBlue. LEDs seem to go dark when connected, then the sequence may start again after disconnecting.

    Any ideas?

  • Now you've got the latest firmware (1v93.162), please can you reset Puck.js with the button held down? Just like you did for the bootloader, but leave it held down until all 3 LEDs light, then release it.

    After that the green LED should flash 5 times, and:

    • Any code you saved to flash won't be loaded
    • All pairing information will be deleted from Puck.js

    Hopefully at that point you'll be able to connect fine - and when you do type save() on the left-hand side of the IDE to overwrite any saved code with an empty state.

    Hope that fixes it for you! Most likely it was something that got saved onto Puck.js itself that was causing it problems.

  • Thanks, that got it working again! :)

    I had tried a similar procedure earlier, but then I held down the button until all 3 LEDs lighted AND the red one flashed. Releasing the button exactly when the 3 LEDs lighted worked immediately.

  • Great!

    The red LED flashing a few times isn't a big deal. Basically Puck.js runs a quick self-test. If you don't release the button quick enough then it thinks the button might be broken and flashes red to tell you - but it doesn't affect anything!

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

What's the problem with my puck.js

Posted by Avatar for user75414 @user75414

Actions