-
Notifications
You must be signed in to change notification settings - Fork 34
How to install firmware on your ESP
Maurice Verhoeven edited this page Apr 22, 2024
·
41 revisions
To install firmware on your ESP
Prepare:
- If your ESP is attached to the OTGW, disconnect the gateway then unplug the ESP from the OTGW.
- Connect the ESP to a PC or Mac using a Micro USB lead (make sure the cable supports data-transfer, not just power)
- Download .bin files and rename the .bin files to
ino.bin
andfs.bin
For Windows:
- If no driver, try: WeMos or NodeMCU.
- Download esptool (you will need to unzip it).
- Make sure
esptool
is on your path. - Type
esptool write_flash 0x0 ino.bin 0x200000 fs.bin
For Mac:
- Open a terminal and navigate to the folder with the bin files.
- Run
pip install esptool
, or follow these instructions. - Run:
esptool.py -p /dev/tty.usbserial-120 write_flash 0x0 ino.bin 0x200000 fs.bin
(Replace/dev/tty.usbserial-120
with the name of your serial port. You should be able to find it by inspecting the output fromls /dev/tty*
)
Once the installer is running:
- Several lines of information will appear as the ESP is written. The blue light should blink fast then slowly.
- Unplug the ESP and install into your OTGW (be sure it's the right way round!), then power on the OTGW.
Now move on to configure the wifi.