FOTA in SDK 1.1.0
Posted: Sun May 24, 2015 11:01 am
Has anyone succeed in FOTA with flash size map = 6 in sdk 1.1.0?
I just keep failing after a long debug run though. I guess there's a issue with the 1.4 version bootloader, becuase the bootloader prints:
I made sure that size map = 6 is written into the binary header by printing the size map value in gen_appbin.py.
so this is my question1: why does bootloader parse spi size map=6 into 32Mbit(512KB+512KB) rather than 32Mbit(1024KB+1024KB)?
And question 2: why does system_upgrade_userbin_check() return 0x1 even though bootloader prints "jump to run user1"?
Question 3: why size map 5/6 does not need seperate ld files any more? What's happening there in the new bootloader?
@Espressif guys
I will be appreciated very much if you guys can release better documents and more open-source styled sdk without hiding more and more APIs off.
Update:
Question 2 is clear now after I reflashed the esp_init_data_default.bin
I just keep failing after a long debug run though. I guess there's a issue with the 1.4 version bootloader, becuase the bootloader prints:
Code: Select all
2nd boot version : 1.4(b1)
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 32Mbit(512KB+512KB)
jump to run user1 @ 1000
I made sure that size map = 6 is written into the binary header by printing the size map value in gen_appbin.py.
so this is my question1: why does bootloader parse spi size map=6 into 32Mbit(512KB+512KB) rather than 32Mbit(1024KB+1024KB)?
And question 2: why does system_upgrade_userbin_check() return 0x1 even though bootloader prints "jump to run user1"?
Question 3: why size map 5/6 does not need seperate ld files any more? What's happening there in the new bootloader?
@Espressif guys
I will be appreciated very much if you guys can release better documents and more open-source styled sdk without hiding more and more APIs off.
Update:
Question 2 is clear now after I reflashed the esp_init_data_default.bin