ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By dnts
#7099 Sprite_tm,
I have a strange problem with esp-httpd. Once I'm connected to my home AP via wifi connection page, reloading the page crashes the ESP8266 (I get Fatal Error (28) and then some dump and sometimes watchdog reset that just hangs). If I'm not connected to the home AP the wifi page loads just fine. Throughout this, I'm also connected to the ESP8266 as AP via my tablet so I can control the configuration.
How do I start to debug this?
Thanks,
Nir
User avatar
By dnts
#7164
Sprite_tm wrote:DNTS: Again, what SDK are you using, and where did you get it? I have no file containing the string setup_wifi_st_mode in any of the SDKs I have here.

Hi Sprite_tm,
I've installed the 0.9.4 on Windows machine and Eclipse per instructions found on this board. Then installed the examples with windows MAKE support, out of which, I've focused on the ESPHTTPD example since it was closest to what I was hoping to accomplish.
viewtopic.php?f=9&t=820
Are we not talking about the same project (esphttpd)?
Nir
User avatar
By banitama
#7183
Sprite_tm wrote:
banitama wrote:Btw, does previously flashed official firmware version affect operation of flashed firmware in the future?


Hmm, now you ask... I seem to remember something about needing to zero out the config space in the ESP flash when upgrading to a certain SDK version from an older one... Could you try flashing the (provided in the SDK) file blank.bin to address 0x7e000 and see if the http example does what you expect it to do?

Hi Sprite,
Sorrry, my fault. I used the code here: https://github.com/mziwisky/esp8266-dev ... r/esphttpd
not from your git server. No wonder it failed.
Now I use the code from your git server, and it works perfectly! :D