Jump Test of ESP8266 s Secondary Bootloader (V1.6+)

Similar documents
Smart Plug User Guide

ESP8266 Application Note Firmware Download Protocol

Manufacturing Instruction

ESP-NOW User Guide Version 1.0 Copyright 2016

ECO and Workarounds for Bugs in ESP32

ESP8266 FOTA Guide Version 1.7 Copyright 2016

ESP8266 Flash RW Operation

DISTRIBUTED BY TEXIM EUROPE. ESP32-DevKitC Getting Started Guide

ECO and Workarounds for Bugs in ESP32

ESP8266 AT Command Examples

ESP8266 Quick Start Guide

ESP8266 Quick Start Guide

Geolocating with ESP8266

ESP8266 AT Command Examples

ESP32 BT&BLE Dual-mode Bluetooth. Version 1.0 Copyright 2018

ESP8266 SSL User Manual

ESP-WROVER-KIT Getting Started Guide

ESP8266 AT Command Examples

Simple-Pair User Guide

Ai-Thinker. ESP-12S Datasheet. Version V0. Copyright 2018 ESP-12S WIFI MODULE V0. Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved

CHANGING THE MODES OF MOD-WIFI-ESP8266-DEV

Ai-Thinker. ESP-01F Datasheet. Version V1 Copyright Copyright 2018 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved

PCI Express Link/Transaction Test Methodology

ESP-01 WiFi Module Version1.0

HOW TO UPGRADE ESP8266 BOARDS USING ESP FLASH DOWNLOAD TOOLS

ESP32-SOLO-1 OEM Installation Manual

ESP8266 Non-OS SDK IoT_Demo Guide

Espressif IOT Demo. Smart Light/Plug/Sensor. Version 1.0.1

Intel Server Board S2600CW2S

HOW TO USE ESP8266 WITH ARDUINO IDE

FOR TCG ACPI Specification

AN2667 Application note

Enhanced Serial Peripheral Interface (espi) ECN

Intel Server Board S2600STB

Intel Server Board S2400SC

Macrotron Systems, Inc. Flash Media Products. Part Number Family: 2.5 PATA (IDE) SSD (High Performance Series) PA25SMXXXXXMXXMX

Bluetooth PC Card Transport Layer

Intel Server Board S5520HC

LED Manager for Intel NUC

ESP-WROOM-S2 Datasheet

STEVAL-SPBT4ATV3. USB dongle for the Bluetooth class 1 SPBT2632C1A.AT2 module. Features. Description

Gen-Z Identifiers September Copyright 2016 by Gen-Z. All rights reserved.

LMX9838 Cable Replacement

STSW-STWBCFWDT. STWBC firmware downloader tool. Description. Features

Intel Server Board S1200BTS

Interoperability Specification for ICCs and Personal Computer Systems

Clear CMOS after Hardware Configuration Changes

Intel Desktop Board DZ68DB

Native route discovery algorithm

AN3996 Application Note

STSW-BLUENRG1-DK. BlueNRG-1, BlueNRG-2 DK SW package

AMD Radeon ProRender plug-in for Unreal Engine. Installation Guide

SAMSUNG ELECTRONICS RESERVES THE RIGHT TO CHANGE PRODUCTS, INFORMATION AND SPECIFICATIONS WITHOUT NOTICE. Products and specifications discussed

Intel Cache Acceleration Software for Windows* Workstation

Open-E Data Storage Server. Intel Modular Server

MySonicWall Secure Upgrade Plus

Intel Cluster Ready Allowed Hardware Variances

UM0401 User manual. User manual for eight bit port expander STMPE801 demonstration board. Introduction

AN3354 Application note

Server Test Submission (STS) Report. Server WHQL Testing Services Enterprise Platforms and Services Division

AN4491 Application note

FW Update Tool. Installation Guide. Software Version 2.2

Modernizing Meetings: Delivering Intel Unite App Authentication with RFID

Device Firmware Update (DFU) for Windows

INTEL PERCEPTUAL COMPUTING SDK. How To Use the Privacy Notification Tool

Intel Unite. Intel Unite Firewall Help Guide

This user guide describes how to run the Atmel ATWINC3400 Bluetooth Low Energy (BLE) Provisioning demo from out-of-box conditions.

AN3279 Application Note

STSW-BNRGUI. BlueNRG GUI SW package. Data brief. Features. Description

AN2676 Application note

Release Notes Compute Abstraction Layer (CAL) Stream Computing SDK New Features. 2 Resolved Issues. 3 Known Issues. 3.

AVR42789: Writing to Flash on the New tinyavr Platform Using Assembly

Document Revision 1.0 September 16, 1998 Intel Hewlett-Packard NEC Dell

AN2672 Application note

AN2143 Application note

Enhanced Serial Peripheral Interface (espi)

SAMSUNG ELECTRONICS RESERVES THE RIGHT TO CHANGE PRODUCTS, INFORMATION AND SPECIFICATIONS WITHOUT NOTICE. Products and specifications discussed

APPLICATION NOTE. Atmel AT03304: SAM D20 I 2 C Slave Bootloader SAM D20. Description. Features

Intel Unite Solution Version 4.0

AN4872 Application note

AN2792 Application note

STM32-MP3NL/DEC. STM32 audio engine MP3 decoder library. Description. Features

Aptio 5.x Status Codes

Firmware Update Guide

Intel Server Board S1200V3RPO Intel Server System R1208RPOSHORSPP

Sample for OpenCL* and DirectX* Video Acceleration Surface Sharing

Installing FTDI Device Drivers for the QF4A512-DK under Windows XP

AN2261 APPLICATION NOTE

Intel Server Board S1200V3RPO Intel Server System R1208RPOSHORSPP

Intel Server S3200SHV

Intel Server Board S2400EP Intel Server System R1000EP

SonicWall Mobile Connect for Chrome OS

Changing your Driver Options with Radeon Pro Settings. Quick Start User Guide v2.1

Fan Control in AMD Radeon Pro Settings. User Guide. This document is a quick user guide on how to configure GPU fan speed in AMD Radeon Pro Settings.

TCG Physical Security Interoperability Alliance IP Video Use Case 002 (PSI-UC-IPV002) Specification Version 1.0 Revision 0.2

Intel Server Board S2600WP Intel Server System H2600WP

Intel Manycore Platform Software Stack (Intel MPSS)

EDBG. Description. Programmers and Debuggers USER GUIDE

BIOS Update Release Notes

Intel & Lustre: LUG Micah Bhakti

Transcription:

Jump Test of ESP8266 s Secondary Bootloader (V1.6+) Version 2.0 Copyright 2017

About This Guide The document is structured as follows: Chapter Title Content Chapter 1 Chapter 2 Overview Jump Test Configuration Introduces ESP8266 s Secondary bootloader V1.6+ which supports SDK Non-OS 2.0.0 and later versions. Presents the method of enabling GPIOs, configuring BIN files and setting up the Flash download tool for the jump test mode. Release Notes Date Version Release notes 2016.09 V1.0 Initial release. 2017.05 V2.0 Major revisions.

Table of Contents 1. Overview... 1 2. Jump Test Configuration... 2 2.1. Configuring the GPIO that Enables the Jump Test Mode... 2 2.2. Configuring the Address of the Configuration Bin File... 2 2.3. Configuring the Flash Download Tool... 3

1.Overview 1. Overview ESP8266 s Secondary Bootloader V1.6+ (suited for the SDK Non-OS 2.0.0 and later versions) supports the so-called jump test mode, which means that the bootloader can determine whether to trigger a jump test or not by checking on the status of an enabled GPIO when the system is powered on, that is, within 100 ms of power-up. When the enabled GPIO is pulled to a low level, the system will jump to a specified test bin file and run it; and when the enabled GPIO is not pulled to a low level, the system will run userapplication firmware. Here, the enabled GPIO can be configured by users. Also, the test bin file can be downloaded to the flash memory together with the firmware that needs to be downloaded before the SMT production. In this way, users can save the time they would need for downloading this test bin file during the test that comes after the SMT production. Notice: This document is applicable to ESP8266 s Secondary Bootloader V1.6+ (supports both the Non-OS SDK and RTOS SDK). The bin file for the jump test should be a specified test file provided by Espressif, while any secondary development of this bin file by users is not supported in this case. Espressif 1/5 2017.05

2. Jump Test Configuration 2. Jump Test Configuration 2.1. Configuring the GPIO that Enables the Jump Test Mode Users can choose the GPIO that enables the jump test mode by configuring byte[119] of esp_init_data_default.bin, which is a 128-bit file. By default, byte[119] is initialized to 0x00, which disables the jump test mode. However, if byte[119] is configured to OxA5, 0xAC, 0xAD or 0xAE, then the bootloader will check on the status of GPIO5, GPIO12, GPIO13 and GPIO14, respectively, to determine if a jump test should be initiated. The above-mentioned correlations are: 0xA5 > GPIO5 0xAC > GPIO12 0xAD > GPIO13 0xAE > GPIO14 Notice: Byte[119] can only be configured to 0x00, 0xA5, 0xAC, 0xAD or 0xAE, otherwise malfunctions may occur. The enabled GPIO is only checked when the system is powered on, that is, within 100 ms of powerup. This makes it available for user-application firmware afterwards. Example: As the figure below shows, users can modify byte[119] to 0xAC. Subsequently, upon power-up, the Bootloader will check on the status of GPIO12 to determine whether a jump test will be triggered or not. 2.2. Configuring the Address of the Configuration Bin File Users can configure the test_blank.bin file in the following way: - Users should run python gen_test_blank.py and input the address of the flash memory that is reserved for the test bin file, as requested. This step is shown in the following screenshot: Espressif 2/ 5 2017.05

2. Jump Test Configuration - Then, the python gen_test_blank.py will generate a specified test_blank.bin in accordance with the user input. - Subsequently, users should burn the address of the generated test_blank.bin to the initial blank area, i.e. the blank.bin area. Notice: In an effort to avoid any discrepancies with the SDK flash map, users should consult the corresponding flash memory map, when allocating the address of the test bin file. 2.3. Configuring the Flash Download Tool Users can refer to the figure below to configure the Flash Download Tool (To download our latest tool, please click here): where, - ESP_MODULE_26M_20160520.bin is a test bin file and its address is 0x101000; - user1.2048.new.5.bin is a user application firmware and its address is 0x1000; - esp_init_data_default.bin is an initialization bin file; - test_blank.bin is the configuration bin file, which is generated by script. Espressif /5 3 2017.05

2. Jump Test Configuration When downloading is finished and the system runs normally, the bootloader will check on the status of the enabled GPIO upon power-up. In this case: - If the enabled GPIO is pulled to a low level, the system will jump to the address 0x101000 to run the test bin file; - If the enabled GPIO is not pulled to a low level, the system will jump to the address 0x1000 to run user-application firmware. Espressif 4/ 5 2017.05

Espressif IOT Team www.espressif.com Disclaimer and Copyright Notice Information in this document, including URL references, is subject to change without notice. THIS DOCUMENT IS PROVIDED AS IS WITH NO WARRANTIES WHATSOEVER, INCLUDING ANY WARRANTY OF MERCHANTABILITY, NON-INFRINGEMENT, FITNESS FOR ANY PARTICULAR PURPOSE, OR ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION OR SAMPLE. All liability, including liability for infringement of any proprietary rights, relating to use of information in this document is disclaimed. No licenses express or implied, by estoppel or otherwise, to any intellectual property rights are granted herein. The Wi-Fi Alliance Member logo is a trademark of the Wi-Fi Alliance. The Bluetooth logo is a registered trademark of Bluetooth SIG. All trade names, trademarks and registered trademarks mentioned in this document are property of their respective owners, and are hereby acknowledged. Copyright 2017 Espressif Inc. All rights reserved.