This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
mode_changes [2015/06/29 21:07] tytower |
mode_changes [2015/06/30 09:40] tytower |
||
---|---|---|---|
Line 15: | Line 15: | ||
SDIO mode is where the chip boots from an SD card. I dont think this is available yet. \\ | SDIO mode is where the chip boots from an SD card. I dont think this is available yet. \\ | ||
+ | For the two modes we care about, the processor expects GPIO15 to low and GPIO2 to be high on boot. GPIO0 selects between the two modes we are going to discuss here. During normal operation, we would want to use a resistor to pull GPIO0 high.5 That will cause the bootloader inside the ESP8266 to read data from the EEPROM chip into the ESP8266’s IRAM and boot our program. If we set GPIO0 low, however, the boot ROM inside the ESP8266 takes over and it begins communicating over the UART. Using this boot ROM we can push our programs to the flash memory. A good way to make use of this is to connect a switch from GPIO0 to ground so you can put it into program mode at will by holding the button at power on | ||