1.. _entering-the-bootloader:
2
3Entering the Bootloader
4=======================
5
6Espressif chips have to be reset in a certain way in order to launch the serial bootloader, only then can ``esptool.py`` communicate with the ESP chip.
7
8On some development boards (including NodeMCU, WeMOS, HUZZAH Feather, Core Board, ESP32-WROVER-KIT), esptool can :ref:`automatically trigger a reset into the serial bootloader <automatic-bootloader>` - in which case you don't need to read this section.
9
10For everyone else, three things must happen to enter the serial bootloader (firmware download mode) - a reset, required pins set correctly, and a correct strapping pin pulled low. For more information, see the detailed :ref:`Boot Mode Selection<boot-mode>` guide.
11
12Boot Mode
13---------
14
15Espressif chips choose the boot mode each time they reset. A reset event can happen in one of several ways:
16
17.. list::
18
19    *  Power applied to chip.
20    :esp8266: *  The nRESET pin was low and is pulled high.
21    *  The CH_PD/EN pin ("enable") pin was low and is pulled high.
22
23.. only:: esp8266
24
25    On {IDF_TARGET_NAME}, both the nRESET and CH_PD pins must be pulled high for the chip to start operating.
26