[SOLVED] Stuck on Low memory screen

Posted on
  • I have done something rather idiotic. I wrote a boot.js file for an app I was creating and uploaded it. It turns out this file is too much for the Bangle and now whatever I do I'm stuck on the "Low memory" screen. The only solution I can think of is to temporarily upload a modified firmware that will delete that file. I was hoping someone could help me do this, as I know little how Espruino's internals work. Thank you!

  • Have you tried deleting it from the IDE console?
    i.e. connect to the Bangle, and enter require("Storage").erase(<filename>) directly in the left-hand side. That might still work even after it prints the LOW_MEMORY error.

  • Unfortunately no - the interpreter won't work at all.

  • Best bet is just reboot the Bangle while holding the button down so it doesn't load code. You can then connect with the IDE and remove the file either using the Storage menu or the command @rigrig posted above.

  • Thank you! That's what I needed.

About

[SOLVED] Stuck on Low memory screen

Posted by Avatar for user147266 @user147266

Actions