Wow, that is strange. I guess it's possible that there was some firmware issue that overwrote the bootloader with bad data.
However there are checks in there specifically to stop that from happening (E.setFlags({unsafeFlash})).
You may well be able to connect via SWD as others have suggested, but as it's likely still under warranty maybe you could just send it back here and I'll get a replacement out to you?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Wow, that is strange. I guess it's possible that there was some firmware issue that overwrote the bootloader with bad data.
However there are checks in there specifically to stop that from happening (
E.setFlags({unsafeFlash})
).You may well be able to connect via SWD as others have suggested, but as it's likely still under warranty maybe you could just send it back here and I'll get a replacement out to you?