2)Why SDK libraries burned into the flash? What's advanatge of that?
I mean , normal program are compiled with SDK libraries togther. I dont see why SDK libraries need to be in ROM.
=====================================================
SPI Flash ROM Layout (without OTA upgrades)
This is for ESP IoT SDK version 0.8 and above.
Address Size Name Description
00000h 248k app.v6.flash.bin User application
3E000h 8k master_device_key.bin OTA device key. Unconfirmed: Not used without OTA
40000h 240k app.v6.irom0text.bin SDK libraries
7C000h 8k esp_init_data_default.bin Default configuration
7E000h 8k blank.bin Filled with FFh. May be WiFi configuration
==================================================================
SPI Flash ROM Layout (with OTA upgrades)
This is for ESP IoT SDK version 0.8 and above, supporting OTA upgrades.
Address Size Name Description
00000h 4k boot.bin Bootloader
01000h 64k app.v6.flash1.bin User application, slot 1
11000h 180k app.v6.irom0text1.bin SDK libraries, slot 1
3E000h 8k master_device_key.bin OTA device key
40000h 4k Unused
41000h 64k app.v6.flash1.bin User application, slot 2
51000h 180k app.v6.irom0text1.bin SDK libraries, slot 2
7E000h 8k blank.bin Filled with FFh. May be WiFi configuration.