You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • You should be able to just long-press BTN1 while booting (hold it right through the bootloader, and through the self test even when it tells you to remove your finger). That'll boot without loading saved code and should clear any code out of flash - you can always connect at that point and do require("Storage").eraseAll() to make absolutely sure everything is gone though.

    Espruino won't touch the flash memory that contains the interpreter itself (unless you explicitly enable that functionality) so if this happens again you should always be able to recover using the BTN1 trick.


Avatar for Gordon @Gordon started