OLIMEX ESP8266 Series Upgrade Manual

OLIMEX ESP8266 Series Upgrade Manual

How to upgrade using esp flash download tools
Hide thumbs Also See for ESP8266 Series:

Advertisement

Quick Links

OLIMEX© 2016
Upgrading ESP8266
HOW TO UPGRADE ESP8266 BOARDS
HOW TO UPGRADE ESP8266 BOARDS
USING
USING
ESP FLASH DOWNLOAD TOOLS
ESP FLASH DOWNLOAD TOOLS
This document applies for the following products:
This document applies for the following products:
ESP8266-EVB; ESP8266-EVB-BAT; ESP8266-EVB-BAT-BOX;
ESP8266-EVB; ESP8266-EVB-BAT; ESP8266-EVB-BAT-BOX;
MOD-ESP8266-WIFI-DEV; MOD-ESP8266-WIFI;
MOD-ESP8266-WIFI-DEV; MOD-ESP8266-WIFI;
Document revision A, March 2016
All boards produced by Olimex LTD are ROHS compliant

Advertisement

Table of Contents
loading

Summary of Contents for OLIMEX ESP8266 Series

  • Page 1 ESP FLASH DOWNLOAD TOOLS This document applies for the following products: This document applies for the following products: ESP8266-EVB; ESP8266-EVB-BAT; ESP8266-EVB-BAT-BOX; ESP8266-EVB; ESP8266-EVB-BAT; ESP8266-EVB-BAT-BOX; MOD-ESP8266-WIFI-DEV; MOD-ESP8266-WIFI; MOD-ESP8266-WIFI-DEV; MOD-ESP8266-WIFI; Document revision A, March 2016 All boards produced by Olimex LTD are ROHS compliant...
  • Page 2: Disclaimer

    The products described in this document are subject to continuous development and improvements. All particulars of the products and their use contained in this document are given by OLIMEX in good faith. However, all warranties implied or expressed, including but not limited to, implied warranties of merchantability or fitness for purpose, are excluded.
  • Page 3: Table Of Contents

    OLIMEX© 2016 Upgrading ESP8266 Table of Contents DISCLAIMER ................... 2 CHAPTER 1: PURPOSE OF THIS DOCUMENT ........4 CHAPTER 2: REQUIREMENTS .............. 5 2.1 Hardware requirements ................. 5 2.1.1 ESP8266 board ............................5 2.1.2 Source of power ............................5 2.1.3 USB<->serial cable ..........................6 2.1.4 Personal computer ...........................
  • Page 4: Chapter 1: Purpose Of This Document

    CHAPTER 1: PURPOSE OF THIS DOCUMENT This document aims to assist beginners in restoring or upgrading the firmware of the ESP8266 boards, manufactured by Olimex Ltd. The guide is suitable for people that have one of the following boards: MOD-ESP8266-WIFI-DEV; MOD- ESP8266-WIFI;...
  • Page 5: Chapter 2: Requirements

    OLIMEX© 2016 Upgrading ESP8266 CHAPTER 2: REQUIREMENTS CHAPTER 2: REQUIREMENTS The minimal connection requires several hardware and software prerequisites. 2.1 Hardware requirements 2.1 Hardware requirements You would need: an ESP8266 board; a way to power the ESP8266 board; a USB < - > serial cable with level shifter;...
  • Page 6: Usb<->Serial Cable

    OLIMEX© 2016 Upgrading ESP8266 We distribute affordable 220V<->5V adapters that fit the board's barrel jack. Search our web-shop for SY0605E and SY0605E- CHINA. You would need to power MOD-WIFI-ESP8266 or MOD-WIFI-ESP8266-DEV from a 3.3V source. They don't have a voltage convertor – do not try to power these boards with 5V! Refer to the schematic of each of the boards to find the location of the “3.3V”...
  • Page 7: Software Requirements

    OLIMEX© 2016 Upgrading ESP8266 2.2 Software requirements 2.2 Software requirements 2.2.1 Driver for the USB < - > serial cable 2.2.1 Driver for the USB < - > serial cable Contact the supplier of your USB to serial adapter cable for such drivers. After the drivers are installed make sure the cable is properly recognized by the operating system.
  • Page 8: Suitable Firmware

    OLIMEX© 2016 Upgrading ESP8266 2.2.3 SUITABLE FIRMWARE 2.2.3 SUITABLE FIRMWARE We would also need to download (or prepare) firmware compatible with the ESP8266 board. The best idea is to download the latest NONOS SDK from the official web-site of “Espressif Systems” - it contains a folder with pre-built binaries.
  • Page 9: Chapter 3: Hardware Setup

    OLIMEX© 2016 Upgrading ESP8266 CHAPTER 3: HARDWARE SETUP CHAPTER 3: HARDWARE SETUP The hardware setup consists of a powered ESP8266 board with a properly established connection between the board and the personal computer via the serial cable. The layout of the hardware connections can be found on the next page.
  • Page 10 OLIMEX© 2016 Upgrading ESP8266 Page 10 of 17...
  • Page 11: Chapter 4: Firmware Update

    OLIMEX© 2016 Upgrading ESP8266 CHAPTER 4: FIRMWARE UPDATE CHAPTER 4: FIRMWARE UPDATE At this point we have all the hardware and software prerequisites ready. Now we have to set everything together. 1. Start the ESP8266 board in UART (bootloader) mode.
  • Page 12 7. The other three fields that we have to edit are the “FLASH SIZE” of the ESP8266 board, the “COM PORT” of the serial cable and the communication's “BAUDRATE”. The flash size of Olimex boards is 2MB = 16Mbit and it is suggested to use the 16Mbit-C1 option. The “BAUDRATE” is 57600. The “COM PORT”...
  • Page 13 OLIMEX© 2016 Upgrading ESP8266 10. (conditional) If your board doesn't have a button to enter UART mode – you would need to revert the jumpers back to default “FLASH” mode. Else the firmware will not execute upon powering the board (it would boot in UART bootloader mode).
  • Page 14: Chapter 5: Simple At Command Test

    OLIMEX© 2016 Upgrading ESP8266 CHAPTER 5: SIMPLE AT COMMAND TEST CHAPTER 5: SIMPLE AT COMMAND TEST Again we need the serial cable to be able to send and receive AT commands over the UART of the ESP8266 board. For this test we power the board in the default state (no button pressed; if the board doesn't have a button the jumpers need to be in “execute from flash”...
  • Page 15 OLIMEX© 2016 Upgrading ESP8266 • In the “New-line” box change the value for the “Transmit” field to “CR+LF”. It should look like this: • Now the terminal is set properly. We can send AT commands to the board now. It is important to notice that the AT commands should be capitalized! •...
  • Page 16: Chapter 6: Further Reading

    The best place to read more about the ESP8266 support for Arduino IDE is this one: https://github.com/esp8266/Arduino • The custom ESP8266 firmware and examples provided by Olimex can be found here: https://github.com/OLIMEX/ESP8266 • The link to the official web-site of Olimex is here: https://www.olimex.com...
  • Page 17: Chapter 7: Ordering Codes And Document Revision

    (if damage occurs and you want to replace the part yourself). Make sure to use the search box. You can purchase directly from our online shop or from any of our distributors. List of confirmed Olimex Ltd distributors and resellers: https://www.olimex.com/Distributors.

Table of Contents