How to Backup Original Firmware of Esp8266EX or Esp-01

Introduction: How to Backup Original Firmware of Esp8266EX or Esp-01

About: Hye, I am Ajay. & it's all about Electronics and Programming.

Why ? backup of original firmware is important.

simplest ans is = original is original

In this tutorial I will show you how to backup original firmware of esp8266ex.

The ESP8266EX is a low-cost Wi-Fi microchip with full TCP/IP stack and microcontroller capability produced by manufacturer Espressif Systems in Shanghai, China.

Step 1: Hardware Required

Hardware

1. ESP8266EX or ESP8266-01

2. FTDIModule which supports 3.3 v Output

3. Breadboard

4. Jumper wire

I do not advise Arduino. it causes lots of problems

Step 2: Software Required

1. Python 2 or Python 3 its up to you

And do not forget to install (Python Serial Library) for more info and installation process

2 .esptool

3. at last you will need command prompt or terminal

and Software part is done

Step 3: Hardware Connection

FTDI CONNECTION......................ESP8266EX CONNECTION

  1. FTDI GND..............................................ESP GND + ESP GPIO0
  2. FTDI RX..................................................ESP TX
  3. FTDI TX..................................................ESP RX
  4. FTDI VCC...............................................ESP CH-PD + ESP VCC

Connection part is done now its time to backup

Step 4: Now Command Prompt Part

  1. copy the esptool to ( C:/ ) Directory
  2. Open your command prompt
  3. now follow the commands
cd /
cd esptool 

Installation of Esptool

setup.py install

IMPORTANT to correctly set the flash size and flash mode values according to your device.

esptool.py --port COMx flash_id

Firmware backup

esptool.py --port COMx read_flash 0x00000 0x400000 image.bin


Some Extra Commands :


Erase firmware

esptool.py --port COMx erase_flash

Upload firmware

esptool.py --port COMx write_flash -fs 4MB -fm dio 0x0 image.bin
Change the value of x to your COM port x=Port Number ....Example: COM15,COM12

3 People Made This Project!

Recommendations

  • Audio Challenge

    Audio Challenge
  • Reclaimed Materials Contest

    Reclaimed Materials Contest
  • Unusual Uses Contest

    Unusual Uses Contest

7 Comments

0
shoukat2003
shoukat2003

8 months ago

Can i upload this bin file to another esp8266 same module.?

0
hackplague
hackplague

Reply 3 months ago

I upload it to another esp8266.

0
shoukat2003
shoukat2003

Reply 3 months ago

Thanks for replying .i will apply ot.

0
Orngrimm
Orngrimm

2 years ago

Title: It is Flash. Like the lightning... Flesh is part of a living thing. ;)

0
hackplague
hackplague

Reply 2 years ago

Thanks for corrections

0
Penolopy Bulnick
Penolopy Bulnick

2 years ago

Nice job on your first Instructable :)

0
hackplague
hackplague

Reply 2 years ago

Thanks