Skip to content

Instantly share code, notes, and snippets.

@bitboxx
Created January 7, 2018 17:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bitboxx/9ff53b40b5112282ef6919dc4d524cb3 to your computer and use it in GitHub Desktop.
Save bitboxx/9ff53b40b5112282ef6919dc4d524cb3 to your computer and use it in GitHub Desktop.
Erase and upload firmware on ESP8266 using esptool.py
# Remember to change the serial device
# Erase flash
esptool.py --port COM3 erase_flash
# Upload
esptool.py --port COM3 write_flash -fs 1MB -fm dout 0x0 firmware.bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment