Had a similar kind of problem
ESP-01
SDK v1.1.0
compiled AT example and flashed with
Code: Select allesptool.py write_flash 0x00000 eagle.flash.bin 0x40000 eagle.irom0text.bin
device boot success. Serial output garbage. AT commands not working.
flashed with
Code: Select allesptool.py write_flash 0x40000 eagle.irom0text.bin 0x00000 eagle.flash.bin
Serial o/p says ready at baud 115200. AT commands working. A wifi access point is visible but cannot connect to it.
//edit
while this seemed working fine
Code: Select allesptool.py write_flash 0x40000 eagle.irom0text.bin 0x00000 eagle.flash.bin
when in STA mode and connecting to home router ip was not obtained and was getting disconnected after a few seconds.
then tried
Code: Select allesptool.py write_flash 0x00000 eagle.flash.bin 0x40000 eagle.irom0text.bin
esptool.py write_flash 0x00000 eagle.flash.bin
reboot between commands. Now working flawlessly.
And thank you esp03madness. I was struggling before finding this topic