Skip to content

Instantly share code, notes, and snippets.

@premek

premek/AT

Created Apr 18, 2017
Embed
What would you like to do?
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