meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| home_automation:esp8266:general [2016/06/28 10:25] – niziak | home_automation:esp8266:general [2020/06/05 14:43] (current) – niziak | ||
|---|---|---|---|
| Line 27: | Line 27: | ||
| ====== External software ====== | ====== External software ====== | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| * [[http:// | * [[http:// | ||
| * [[https:// | * [[https:// | ||
| Line 37: | Line 38: | ||
| ^ Pin # ^ GPIO ^ role / description ^^^^ | ^ Pin # ^ GPIO ^ role / description ^^^^ | ||
| | 15 | GPIO0 | FLSH | SPI_CS2 | | !!! Must be H during bootup. L=boot from UART | | | 15 | GPIO0 | FLSH | SPI_CS2 | | !!! Must be H during bootup. L=boot from UART | | ||
| - | | 26 | GPIO1 | UART0_TXD | SPI_CS1 | | Uart Tx during flash programming | + | | 26 | GPIO1 | UART0_TXD | SPI_CS1 | | UART TX during flash programming |
| - | | 14 | GPIO2 | | + | | 14 | GPIO2 | UART1_TXD |
| - | | 25 | GPIO3 | UART0_RXD | | + | | 25 | GPIO3 | UART0_RXD | |
| | 16 | GPIO4 | | | 16 | GPIO4 | | ||
| | 24 | GPIO5 | | | 24 | GPIO5 | | ||
| Line 49: | Line 50: | ||
| | 20 | GPIO11 | | SPI_CS0 | SD_CMD | | | | 20 | GPIO11 | | SPI_CS0 | SD_CMD | | | ||
| | 10 | GPIO12 | HSPI_MISO | MTDI | | | | | 10 | GPIO12 | HSPI_MISO | MTDI | | | | ||
| - | | 12 | GPIO13 | HSPI_MOSI | MTCK | UART0_CTS | | | + | | 12 | GPIO13 | HSPI_MOSI | MTCK | UART0_CTS |
| | 9 | GPIO14 | HSPI CLK | MTMS | | | | | 9 | GPIO14 | HSPI CLK | MTMS | | | | ||
| - | | 13 | GPIO15 | HSPI CS | MTDO | UART0_RTS | !!! Must be L durign bootup (H=SDIO mode) | | + | | 13 | GPIO15 | HSPI CS | MTDO | UART0_RTS |
| | 8 | GPIO16 | XPD_DCDC | | 8 | GPIO16 | XPD_DCDC | ||
| | | | | ||
| Line 66: | Line 67: | ||
| | 31 | | RES12K | | 31 | | RES12K | ||
| - | |||
| - | |||
| - | |||
| - | ====== Flashing new firmware ====== | ||
| - | When Chip is powered on, with GPIO0 pulled up, it enter into firmware downloading mode. | ||
| - | |||
| - | |||
| - | ===== esptool ===== | ||
| - | Download/ | ||
| - | |||
| - | Example usage: | ||
| - | <code bash> | ||
| - | |||
| - | < | ||
| - | Connecting... | ||
| - | Erasing flash... | ||
| - | Writing at 0x00001400... (1 %) | ||
| - | </ | ||
| - | |||
| - | < | ||
| - | Erasing flash... | ||
| - | Wrote 462848 bytes at 0x00000000 in 520.5 seconds (7.1 kbit/s)... | ||
| - | |||
| - | Leaving... | ||
| - | </ | ||
| ====== Firmwares ===== | ====== Firmwares ===== | ||
| Line 111: | Line 87: | ||
| ===== Arduino ===== | ===== Arduino ===== | ||
| [[https:// | [[https:// | ||
| + | |||
| + | [[https:// | ||