Skip to content

How to install firmware on your ESP

tjfsteele edited this page Dec 22, 2022 · 41 revisions

To install firmware on your ESP using esptool.exe:

  1. If your ESP is already on the OTGW, power down the gateway and unplug the ESP from the OTGW.
  2. Connect the ESP to a PC using a Micro USB lead. If no driver, try: WeMos or NodeMCU.
  3. Download both .bin files from our github and also esptool (for Windows get the file ending win32.zip and unzip it).
  4. Rename the .bin files to ino.bin and fs.bin. Make sure esptool is on your path.
  5. Identify your ESP port, e.g. on Windows try mode|for /f "tokens=4" %a in ('findstr COM') do @echo %a.
  6. Run esptool -cp COM3 -cd nodemcu -cb 921600 -cf ino.bin -ca 0x200000 -cf fs.bin (replace COM3 with ESP port).
  7. You should see a series of lines ending with [ 100% ]. The blue light should blink fast during programming then slowly.
  8. Unplug the ESP and install into your OTGW (be sure it's the right way round!), then power on the OTGW.

Clone this wiki locally