c:\Python27\Scripts>esptool.py --port COM4 --baud 115200 erase_flash
esptool.py v2.0.1
Connection....___
A Fatal error occurred: Failed to connect to espressif device: Timed out waiting for packet header
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.
Tried that.
c:\Python27\Scripts>esptool.py --port COM4 --baud 115200 erase_flash
esptool.py v2.0.1
Connection....___
A Fatal error occurred: Failed to connect to espressif device: Timed out waiting for packet header