here is the information about startpoint and size of the save code
https://github.com/espruino/Espruino/blob/eca6aae8104ddaca66dfe317d3b76243962f4332/boards/MDBT42Q.py#L66
maybe you can use the flash lib to clear the pages
http://www.espruino.com/Reference#Flash
@MaBe started
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.
here is the information about startpoint and size of the save code
https://github.com/espruino/Espruino/blob/eca6aae8104ddaca66dfe317d3b76243962f4332/boards/MDBT42Q.py#L66
maybe you can use the flash lib to clear the pages
http://www.espruino.com/Reference#Flash