-->
Page 2 of 2

Re: AT firmware and SPI Flash sizes

PostPosted: Wed May 27, 2015 1:31 am
by cal
Moin,

I suggest looking at esptool.py code.

Cal

For what its worth:
Nodemcu does some size detection here:

https://github.com/nodemcu/nodemcu-firm ... lash_api.c

Re: AT firmware and SPI Flash sizes

PostPosted: Wed May 27, 2015 5:11 am
by esp03madness
Heh, yeah, I was hoping to avoid debugging esptool.py ;)

But if anyone has experienced a similar issue, I'd love to hear for you

Re: AT firmware and SPI Flash sizes

PostPosted: Sun May 31, 2015 2:30 am
by dev_su
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

Re: AT firmware and SPI Flash sizes

PostPosted: Tue Jun 02, 2015 12:40 am
by esp03madness
:D glad to help, dev_su