Home / Community / Blog / ESP Easy - how to flash firmware

ESP Easy - how to flash firmware

I had to use Windows machine, if you use Linux you will need esptool and flash script for Linux.

First of all you have to download ESP Easy firmware, i.e. version R120. and unzip it to some folder (I've used C:\Users\username\Downloads\ESPEasy_R120)

If you have some ESP8266 module (they have different names, you have to search: ESP8266, Witty, NodeMCU or Lua) with USB interface the only think you have to do is connect to PC or you have to have serial to USB adapter.

After connect you have to check (virtual) serial port number. In my case COM3.

In first step I used smallest image:

cd C:\Users\username\Downloads\ESPEasy_R120
esptool.exe -vv -cd nodemcu -cb 115200 -cp COM3 -ca 0x00000 -cf ESPEasy_R120_512.bin

When you use putty connect to COM3 (115200 8N1) you will see log. Something like this:

WIFI : No SSID!
 INIT : I2C
 INIT : Boot OK
 INIT : Normal boot

Now you have to connect to WiFi network named ESP_0, password can be configesp. I've used Android phone, so I've been automatically redirected to configuration page where I can provide SSID and password to my WiFi. In console you can see:

WIFI : Connecting... 1
WIFI : Connected!

Then you have to disconnect from ESP_0 network and connect again. After this you will see:

FLASH: Settings saved

now you have your module configured to your WiFi network.

After this I've checked that my module (Main, Flash Size) is 4MB version and flashed them again using another image:

cd C:\Users\username\Downloads\ESPEasy_R120
esptool.exe -vv -cd nodemcu -cb 115200 -cp COM3 -ca 0x00000 -cf ESPEasy_R120_4096.bin

I didn't notice any changes so I thing 512kB image is enough.

Comments

Log in or create a user account to comment.

Just my blog...

Mon Tue Wed Thu Fri Sat Sun
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31