So, first off, thanks a lot for all the hard work that has already been done for the ESP8266!
Secondly, I apologize if this is the wrong place to post.
I'm not new to embedded programming or C, but I am new to the ESP8266. I just started playing with an ESP-03 today. I've got a modified CH340 usb to serial adapter (to bring out RTS aswell) + an USB 3.3 volt power supply. I'm running linux Mint.
I've tried to read as much as possible, but this platform is still a bit confusing to me.
I do have a project in mind, so I do have an idea of what I want to achieve, and an HTTP server, preferrably with OTA would be a great first step. So I have cloned pfalcon's development tools and build that (SDK 1.0.1). And then I cloned https://github.com/billprozac/esphttpd (got heatshrink also). It would not build, so I messed with setting environment varirables until I was getting close. Still, a lot of warnings (implicit declarations) so I had to add a few includes here and there until it finally built ok.
Upload seems to work without a hitch, and the WIFI network shows up. However, when I go to http://192.168.4.1/wifi/wifi.tpl, I get an 404 'Not found' response. Had to fiddle with downloading CuteCom-my to have control of RTS and DTR from serial terminal, but finally I could see:
Con req, conn=0x3fff6888, pool slot 0
URL = /wifi/wifi.tpl
Is
url index 11
Magic mismatch. EspFS image broken.
Got 0xc92aa4b/wifi/wifi.tpl not found. 404!
Conn 0x3fff6888 is done. Closing.
Now, from the build process I can see that website.espfs is being built and it is a binary with data. I can also see that the call to esptool.py includes this data at 0x12000.
Now, I may have borked some configuration somewhere in the process of trying to getting everything working. Or maybe the SDK versions are incompatible (that is esphttpd needs an older SDK) or maybe something has changed in heatshrink.
I'm sorry if this answered somewhere else. I tried searching, but the only other similar problem I found, suggested that the website needs to be built (which I think it is). I really appreciate all and any help! Thanks!
Update: Ok, I have had a look at website.espfs and it seems to have the magic in the beginning (0x53457366) and I can unpack files with espfstest. I also tried not using compression, but still it won't work...
Update 2: Now, I've also tried building against SDK 0.9.3 and 0.9.5. I've tried the original esphttpd (make; make htmlflash;) as well with 0.9.5. No matter what I do, I always end up with the 404 page and 'Magic mismatch' in the console...
I'm starting to run out of ideas here...