Well, haven't you just deleted the flash memory at bytes 0-4097? That'll include the vector table, and probably a bunch of program code that Espruino needs?
To test, you probably want to delete something significantly further up?
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.
Well, haven't you just deleted the flash memory at bytes 0-4097? That'll include the vector table, and probably a bunch of program code that Espruino needs?
To test, you probably want to delete something significantly further up?