ESP8266

Connections:

Building new native firmware:

????

Flashing new firmware:

See below

Flashing new AT firmware:

Instructions at https://syonyk.blogspot.com/2016/11/installing-latest-at-firmware-on-4mbit.html

    • Link GPIO0 to ground

    • Link TX/RX to Serial adaptor and test connection

    • Get the "NONOS SDK" from http://espressif.com/en/support/download/sdks-demos and uppack and enter the contents directory

    • Run "/path_to/esptool_py/esptool/esptool.py -p /dev/ttyUSB1 -b 9600 write_flash 0x0000 ./bin/at/noboot/eagle.flash.bin 0x10000 ./bin/at/noboot/eagle.irom0text.bin 0x7c000 ./bin/esp_init_data_default.bin 0x7e000 ./bin/blank.bin"

Flash Arduino bootloader:

  • Use the arduino boardmanager

      • http://arduino.esp8266.com/stable/package_esp8266com_index.json

Using arduino-cli:

  • arduino-cli compile -b esp8266:esp8266:generic ~/Arduino/MySketch

  • arduino-cli upload -p /dev/ttyUSB0 -b esp8266:esp8266:generic ~/Arduino/MySketch