Skip to content

Instantly share code, notes, and snippets.

@premek
Created April 18, 2017 21:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save premek/8b8bf306ecfaaaaa792843952f68d65e to your computer and use it in GitHub Desktop.
Save premek/8b8bf306ecfaaaaa792843952f68d65e to your computer and use it in GitHub Desktop.
ESP8266 AT
AT+CWMODE=1
AT+CWJAP="SSID","secret"
AT+CIPSTART=1,"TCP","google.com",80
1,CONNECT
OK
AT+CIPSEND=1,9 (GET /)
OK
>
Recv 9 bytes
SEND OK
+IPD,1,495:HTTP/1.0 302 Found
...
1,CLOSED
#    boot_v1.2+.bin 0x00000
# user1.1024.new.2.bin 0x01000
# esp_init_data_default.bin 0xfc000 (optional)
# blank.bin 0x7e000 & 0xfe000
sudo ./esptool.py --port /dev/ttyUSB1 write_flash 0x00000 ../AT_bin/boot_v1.5.bin 0x01000 ../AT_bin/512+512/user1.1024.new.2.bin 0xfc000 ../AT_bin/esp_init_data_default.bin 0x7e000 ../AT_bin/blank.bin 0xfe000 ../AT_bin/blank.bin  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment