Skip to main content
added 108 characters in body
Source Link
Majenko
  • 105.9k
  • 5
  • 82
  • 139

The ESP8266 has two "modes". "Run" mode and "Flash" mode. In "Run" mode the firmware installed onto the ESP8266 executes. The default firmware is the AT firmware that allows you to control the device with AT commands through serial.

Note that the site you link to has erroneous information about CH_PD that should be talking about GPIO0.

In "Flash" mode you get to upload new firmware (AKA a "sketch") to make the device do something different.

The basic programming sequence is:

  1. Switch the device to Flash mode (connect CH_PDGPIO0 to GND)
  2. Upload the sketch using the IDE
  3. Switch the device to Run mode (connect CH_PDGPIO0 to 3.3V).

Because of these extra steps many people choose to invest in a small USB interface board designed specifically for programming the ESP8266 to make their life easier. These generally have a switch on them to set whether CH_PDGPIO0 is connected to GND or 3.3V.

The ESP8266 has two "modes". "Run" mode and "Flash" mode. In "Run" mode the firmware installed onto the ESP8266 executes. The default firmware is the AT firmware that allows you to control the device with AT commands through serial.

In "Flash" mode you get to upload new firmware (AKA a "sketch") to make the device do something different.

The basic programming sequence is:

  1. Switch the device to Flash mode (connect CH_PD to GND)
  2. Upload the sketch using the IDE
  3. Switch the device to Run mode (connect CH_PD to 3.3V).

Because of these extra steps many people choose to invest in a small USB interface board designed specifically for programming the ESP8266 to make their life easier. These generally have a switch on them to set whether CH_PD is connected to GND or 3.3V.

The ESP8266 has two "modes". "Run" mode and "Flash" mode. In "Run" mode the firmware installed onto the ESP8266 executes. The default firmware is the AT firmware that allows you to control the device with AT commands through serial.

Note that the site you link to has erroneous information about CH_PD that should be talking about GPIO0.

In "Flash" mode you get to upload new firmware (AKA a "sketch") to make the device do something different.

The basic programming sequence is:

  1. Switch the device to Flash mode (connect GPIO0 to GND)
  2. Upload the sketch using the IDE
  3. Switch the device to Run mode (connect GPIO0 to 3.3V).

Because of these extra steps many people choose to invest in a small USB interface board designed specifically for programming the ESP8266 to make their life easier. These generally have a switch on them to set whether GPIO0 is connected to GND or 3.3V.

Source Link
Majenko
  • 105.9k
  • 5
  • 82
  • 139

The ESP8266 has two "modes". "Run" mode and "Flash" mode. In "Run" mode the firmware installed onto the ESP8266 executes. The default firmware is the AT firmware that allows you to control the device with AT commands through serial.

In "Flash" mode you get to upload new firmware (AKA a "sketch") to make the device do something different.

The basic programming sequence is:

  1. Switch the device to Flash mode (connect CH_PD to GND)
  2. Upload the sketch using the IDE
  3. Switch the device to Run mode (connect CH_PD to 3.3V).

Because of these extra steps many people choose to invest in a small USB interface board designed specifically for programming the ESP8266 to make their life easier. These generally have a switch on them to set whether CH_PD is connected to GND or 3.3V.