How to flash Bin file ESP8266 from Linux OS

This image has an empty alt attribute; its file name is vlcsnap-2018-12-27-16h48m48s771.png

ESP8266 NodeMCU is the smallest & cheapest IoT Development board. Price is only starting from $2. There is two chipset model available, one is CH340 and another one is CP2102. You can buy it from the following links.

CH340 AliExpress Amazon
CP2102 AliExpress Amazon

If you wanted to create bin file from Arduino IDE and flash it into ESP8266, then follow these posts.

How to create bin file from Arduino IDE

In this post, I will tell how to flash bin file to ESP8266 Nodemcu from Linux OS. This is for the absolute beginners who are very new to this device.

How to flash Bin file ESP8266 from Linux OS

First, connect your pc to Internet and open Terminal as root. To login as root or superuser mode, run the following command and enter your password.

Now Run the following command in terminal.

After this run the following command to install esptool. This is the main flashing tool which will help us to install bin file into Nodemcu.

How to flash Bin file ESP8266 from Linux OS

After this go to the folder where bin file is saved. Then Right click and open terminal on that path. Now run the following command to flash the bin file in the ESP8266 module. Do not forget to replace filename with your file name.

How to flash Bin file ESP8266 from Linux OS

Now you have successfully installed bin file to your ESP8266 Nodemcu.

How to flash bin file to ESP8266 from Windows OS

How to fix cannot access /dev/ttyUSB0 in Arduino IDE

Share with Friends
0 0 votes
Rating
guest
0 Comments
Inline Feedbacks
View all comments