So I was following the getting started guide last night and tried to compile & download the IOT example programs. I'm using an Adafruit HUZZAH (ESP-12) and compiling via VirtualBox as suggested, and using the newest ESP8266 download tool.
Since the board I am using has 4MB of FLASH, I followed the steps in the getting started guide and modified the "len" parameter in "eagle.app.v6.id" to 0xC0000. I also changed all the appropriate flash definitions in the header files as suggested.
I then copied the IOT example files over to the "app" folder and compiled successfully as non-FOTA. I then tried to download the program via the ESP8266 download tool using the download addresses specified in the getting started guide (see below).
When I reset the board, and view the output on a terminal program, I get a loop of "Fatal Exception (0)" errors. I have triple checked all my settings, and I have adequate power to the board, etc.
I then tried compiling and flashing as FOTA and it worked. I received the expected output on the serial terminal. This is strange. One thing I noticed is that upon compilation as non-FOTA, the output shows the following.
Specifically, it says "eagle.flash.bin--->0x00000", and "eagle.irom0text.bin---->0x10000". This doesn't match the 0x40000 address specified in the getting started guide. When I changed the download address to 0x10000 the non-FOTA download worked fine.
Is this a typo in the user manual? It cost me quite a bit of time to figure out what was happening here...Statistics: Posted by leonhart88 — Wed Sep 14, 2016 10:48 pm
]]>