Texim Europe ESP32-DevKitC User manual

ESP32-DevKitC
Getting Started Guide
Version 1.0
Copyright © 2016
DISTRIBUTED BY TEXIM EUROPE

About This Guide
This user guide introduces the basic features and operations of the ESP32-DevKitC.
The document is structured as follows:
Release Notes
Chapter
Title
Content
Chapter 1
Overview
Introduction to the ESP32-DevKitC.
Chapter 2
Download Process
Introduction to the boot modes and download operations.
Date
Version
Release notes
2016.09
V1.0
Initial release.
DISTRIBUTED BY TEXIM EUROPE

Table of Contents
1. Overview 1................................................................................................................................
2. Download Process 2.................................................................................................................
2.1. Create Serial Communication!2"....................................................................................................
2.2. Set Download Mode and SPI Boot Mode!2"..................................................................................
2.3. Download Methods!2"....................................................................................................................
2.4. Check the Serial Output!4.............................................................................................................
DISTRIBUTED BY TEXIM EUROPE

1. Overview
1. Overview
ESP32-DevKitC is a small sized ESP32-based development board developed by Espressif.
Most of the I/O pins are led out to the pin headers on both sides for easy interfacing.
Developers can connect these pins to peripherals as needed. Standard headers also make
development easy and convenient when using a breadboard.
Figure 1-1 shows the layout of the board.
!
Figure 1-1. ESP32-DevKitC Layout
Espressif
/51
2016.09
DISTRIBUTED BY TEXIM EUROPE

2. Download Process
2. Download Process
You will need the hardware listed below:
•1 ×ESP32-DevKitC
•1 ×PC (with Windows OS as an example in this document)
•1 ×USB cable
2.1. Create Serial Communication
Connect the ESP32-DevKitC to the PC using the USB cable. Check the list of identified
external COM ports in the Windows Device Manager and confirm the COM port number of
the ESP32-DevKitC.
2.2. Set Download Mode and SPI Boot Mode
As shown in Figure 1-1, the ESP32-DevKitC features two buttons: one marked as “EN”
located on the bottom left corner is the reset button and the other “Boot” button on the
bottom right corner is the download button.
•Download mode:
While the “Boot” button is pressed, press the “EN” button to initiate download mode. The
system should then enter the download mode and output the following on the terminal:
!
Figure 2-1. Download Mode Output
•SPI boot mode:
Simply press the “EN” button and the ESP32-DevKitC will enter the SPI boot mode. If
download operation was completed successfully, the system will output some information
on the terminal as shown in Figure 2-3.
2.3. Download Methods
Use ESP32 DOWNLOAD TOOL
Please download ESP32 DOWNLOAD TOOL V3.4.1 from Espressif website.
Espressif
/52
2016.09
DISTRIBUTED BY TEXIM EUROPE

2. Download Process
Open the ESP32 DOWNLOAD TOOL. Select bootloader.bin, paritions_singeapp.bin,
and testje.bin to be downloaded to addresses 0x1000, 0x4000, and 0x10000 respectively.
Press “START” and wait for the prompt that indicates the download result.
!
Figure 2-2. ESP32 DOWNLOAD TOOL Interface
Use Python Scripts
Get Python scripts from esp-idf/components/esptool_py/esptool/esptool.py in the ESP-
IDF.
The download process will require the system to have a command terminal. For the
Windows System, open the “Windows PowerShell” or “Windows Command Terminal”.
On the terminal, set the current directory to where the downloaded Python scripts are
saved, and then type in the following commands:
python esptool.py -b 115200 -p COM3 write_flash -ff 40m -fm dio -ih
0x0 -il 0x00 0x1000 bootloader.bin 0x4000 partitions_singleapp.bin
0x10000 testje.bin
Espressif
/53
2016.09
DISTRIBUTED BY TEXIM EUROPE

2. Download Process
2.4. Check the Serial Output
Launch the serial terminal on the PC and press the “EN” button on the development board.
The system is now expected to enter the SPI boot mode and output the following:
!
Figure 2-3. SPI Boot Mode Output
📖Notes:
•The parameters highlighted in blue represent the baud rate, serial port, flash frequency, and the flash
mode, respectively. You can change these parameters as needed.
•Currently only DIO mode is supported. Espressif will upgrade the download tool and scripts to support
both QIO and DIO modes.
•Type in python esptool.py -h for help information, python esptool.py write_flash -h for
download commands.
Espressif
/54
2016.09
DISTRIBUTED BY TEXIM EUROPE

Contact details
2015 version 2.0
The Netherlands
Germany North
Nordic region
Belgium
Germany South
UK & Ireland
Austria
Elektrostraat 17
NL-7483 PG Haaksbergen
T: +31 (0)53 573 33 33
F: +31 (0)53 573 33 30
Bahnhofstrasse 92
D-25451 Quickborn
T: +49 (0)4106 627 07-0
F: +49 (0)4106 627 07-20
Sdr. Jagtvej 12
DK-2970 Hørsholm
T: +45 88 20 26 30
F: +45 88 20 26 39
Zuiderlaan 14 bus 10
B-1731 Zellik
T: +32 (0)2 462 01 00
F: +32 (0)2 462 01 25
Martin-Kollar-Strasse 9
D-81829 München
T: +49 (0)89 436 086-0
F: +49 (0)89 436 086-19
St. Mary’s House, Church Lane
Carlton Le Moorland
Lincoln LN5 9HS
T: +44 (0)1522 789 555
F: +44 (0)845 299 22 26
Warwitzstrasse 9
A-5020 Salzburg
T: +43 (0)662 216 026
F: +43 (0)662 216 026-66
General information
www.texim-europe.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 © 2016 Espressif Inc. All rights reserved.
Espressif IOT Team"
www.espressif.com
DISTRIBUTED BY TEXIM EUROPE
Table of contents