Skip to content
Michael Miller edited this page Dec 18, 2016 · 3 revisions

On my ESP8266 when I flash the sketch the LEDs light up, is this normal?

Yes it is normal for both DMA and UART to have this side effect.
The UART is used to program the ESP, both DMA and UART are using the low level hardware that is also used for serial/uploads; so this can happen. They are reacting to the serial data being sent across the wire and get fooled into thinking its something when its just code being flashed.

Since the LEDs need 5v, when I prototype I usually run a switch that I can turn them off when I upload; and the final project just doesn't get flashed.

NOTE: OTA (over the air) flashing should not cause this.
NOTE: Some have said that using the UART method causes less flashing.

Clone this wiki locally