Last active
August 29, 2015 14:12
-
-
Save tomvdb/299bb68b2c8433637b02 to your computer and use it in GitHub Desktop.
ESP8266 Updating using ESP Tool
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Before you begin: It worked for me, and may work for you, but I take no responsibility if your ESP8266 module stops working after attempting this. | |
You need the original esp_flasher.zip file from Sebastians instructions found at https://developer.mbed.org/users/sschocke/code/WiFiLamp/wiki/Updating-ESP8266-Firmware | |
------------------------------------- | |
Connections: | |
VCC to 3.3V | |
GND to ground | |
CH_PD to 3.3V | |
TXD to RX, RXD to TX | |
GPIO0 to DTR | |
CH_PD to RTS | |
------------------------------------- | |
Software Requirements: | |
32-bit Debian | |
apt-get install git autoconf build-essential gperf bison flex texinfo libtool libncurses5-dev wget gawk libc6-dev-i386 python-serial libexpat-dev | |
64-bit Debian | |
apt-get install git autoconf build-essential gperf bison flex texinfo libtool libncurses5-dev wget gawk libc6-dev-amd64 python-serial libexpat-dev | |
Windows | |
Use Python 2.7 (not Python 3): https://www.python.org/downloads/ | |
Install pyserial-2.7: http://pyserial.sourceforge.net/pyserial.html | |
------------------------------------- | |
(1) ESP Flashing Tool | |
(1) git clone https://github.com/themadinventor/esptool | |
(2) Copy .bin files from esp_flasher.zip to esptool directory | |
------------------------------------- | |
Update: | |
tomvdb@tommainpc:~/esp8266/esptool$ ./esptool.py write_flash 0x0000 boot_v1.1.bin 0x01000 user1.bin 0x7C000 esp_init_data_default.bin 0x7E000 blank.bin | |
Connecting... | |
Erasing flash... | |
Writing at 0x00000600... (100 %) | |
Erasing flash... | |
Writing at 0x00037400... (100 %) | |
Erasing flash... | |
Writing at 0x0007c000... (100 %) | |
Erasing flash... | |
Writing at 0x0007ef00... (100 %) | |
Leaving... | |
tomvdb@tommainpc:~/esp8266/esptool$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment