issue with 1v92 on puck - pulsing leds

Posted on
  • I tried to install the 1v92 firmware on my puck, it seems like it uploads okay, but then all three leds start flashing together (which continues after a reset).

    youtu.be/Guc0ALQiODY

    I've tried it a few times, and tried a new battery - though still the same.

    Reinstalling 1v91 worked okay.

  • Odd - had you been using it for anything else beforehand? Was that one that you'd used with a beta firmware? It might be that the beta firmware had caused some corruption of the memory area that's now needed for the Bluetooth stack.

    Could you try reinstalling 1v91 on it, and then run the following on it via the left-hand side, and then try re-uploading 1v92?

    var f = require("Flash");
    for (var i=119;i>=115;i--) {
      print(i);
      f.erasePage(i*4096);
    }
    

    thanks! I'd be interested to hear if anyone else has this problem - I had tried upgrading various 1v91 devices before the release, but I guess things changed around with the beta firmwares and that could cause problems.

  • Thanks @Gordon, Okay, I've re-flashed it with 1v91 (1v91.467 from the firmware list, rather than the beta one). And ran that erasePage script on the left:

    Connected
    >console.log("<","<<",JSON.stringify(pro­cess.env),">>",">")
    =undefined
    >var f = require("Flash");
    =function () { [native code] }
    >for (var i=119;i>=115;i--) {
    :  print(i);
    :  f.erasePage(i*4096);
    :}
    119
    118
    117
    116
    115
    =undefined 
    

    Though the LEDs are flashing the same as before when I update to 1v92.

    Ah, yes - this is the one that I had the beta firmware on.

    One thing - I've been screwing around with the NRF.(set/update)Services quite a lot, so I don't know if that got me in a weird state. (I couldn't get custom services to work - and I was hoping that the firmware update might reset things.)

  • Strange... That all looks good - the services and any stored code should get totally overwritten after doing something like that.

    Are you sure you connected and executed that code on the same Puck.js, and not a different one?

    edit: I literally just tried an update from 1v91 after wiping everything and it seems to work fine. Could you maybe try using a new battery? I guess it's possible that the firmware update itself failed halfway through and that's what is causing the crashes?

  • @Gordon - oh, I may well have written that to the wrong one. Just went through it again and I'm upgraded to 1v92 fine. Thanks so much for your help!

  • No problem - glad it's sorted! :)

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

issue with 1v92 on puck - pulsing leds

Posted by Avatar for benjaminbenben @benjaminbenben

Actions