I recommend to start with
esptool.py --port COM3 erase_flash
next check id to make sure to use the correct parameter for write_flash
esptool.py -port COM3 flash_id
and write_flash statement
@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.
I recommend to start with
esptool.py --port COM3 erase_flash
next check id to make sure to use the correct parameter for write_flash
esptool.py -port COM3 flash_id
and write_flash statement