-->
Page 1 of 1

Help: Reflash AT to 8266 in Linux

PostPosted: Sun Feb 05, 2017 6:28 pm
by housecaz
Hello,

I have flashed a sketch to the 8266 and now I would like to restore the AT commands to the 8266. Can you tell me the easiest way to do this from Linux?

Thank you!

Re: Help: Reflash AT to 8266 in Linux

PostPosted: Mon Feb 06, 2017 8:41 am
by housecaz
I'll take instructions in Windows, too, if that's easier to answer?

Re: Help: Reflash AT to 8266 in Linux

PostPosted: Tue Feb 07, 2017 12:22 pm
by jeffas
Linux instructions. I don't know if they're the same for Windows. Could be pretty much the same, as it's Python.
I downloaded the ESP8266_NONOS_SDK zip file from here http://bbs.espressif.com/download/file.php?id=1690
Then got esptool.py from here https://codeload.github.com/espressif/e ... zip/master

Then:
esptool.py -p /dev/ttyUSB0 -b 115200 write_flash \
0x00000 bin/boot_v1.2.bin \
0x01000 bin/at/512+512/user1.1024.new.2.bin \
0xfc000 bin/esp_init_data_default.bin \
0x7e000 bin/blank.bin \
0xfe000 bin/blank.bin

That worked for me using an ESP-07.