FOTA in SDK 1.1.0

KillingJacky
Posts: 2
Joined: Fri May 15, 2015 11:42 am

FOTA in SDK 1.1.0

Postby KillingJacky » Sun May 24, 2015 11:55 pm

Has anyone succeed in FOTA with flash size map = 6 in sdk 1.1.0?
I just can't 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. :cry:

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: FOTA in SDK 1.1.0

Postby ESP_Faye » Tue May 26, 2015 10:39 am

Hi,

Sorry for the inconvenience.

Please use the latest flash download tool v1.2 http://bbs.espressif.com/viewtopic.php?f=5&t=433

Select the corresponding flash map
flash download tool_v1.2.png
flash download tool_v1.2.png (69.51 KiB) Viewed 2620 times

Who is online

Users browsing this forum: No registered users and 136 guests