Chat freely about anything...

User avatar
By leonhart88
#55094 Hi All,

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).

download addresses.jpg


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.

compile output.jpg


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...
User avatar
By leonhart88
#55120 I can confirm my suspicions because when you look at the chinese version of the getting started guide the same table says 0x10000 not 0x40000. Because of this, and because uploading at 0x10000 works, I'm putting my money on the fact that 0x40000 is a typo...