A question on compiling upgradable bin file

Harold L.
Posts: 26
Joined: Thu Dec 18, 2014 3:24 pm

A question on compiling upgradable bin file

Postby Harold L. » Wed Jul 01, 2015 12:55 pm

I've successfully compiled both user1.2048.new.5.bin and user2.2048.new.5.bin, but found there is no different between them(md5sum are the same). Btw, I've done 'make clean' already.

both bin files works excellent, and I've sure upgrade was successful, because "system_upgrade_userbin_check()" returns alternative 0 and 1 after every upgrading.

My question is: can I simplify our server to offer only one bin file?

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

Re: A question on compiling upgradable bin file

Postby ESP_Faye » Thu Jul 02, 2015 9:49 am

Hi,

In compilation STEP 5 , if you choose “5, 2048KB,1024+1024” or "6,4096KB, 1024+1024",user1.bin and user2.bin would be the same, and you could use only one bin.

But if you choose any other option in STEP 5 ,user1.bin and user2.bin would be different, you need them both to FOTA, firmware upgrade through WiFi.

Thanks for your interest in Espressif Systems and ESP8266 !

Harold L.
Posts: 26
Joined: Thu Dec 18, 2014 3:24 pm

Re: A question on compiling upgradable bin file

Postby Harold L. » Fri Jul 03, 2015 6:35 pm

Good news, thank you!

Who is online

Users browsing this forum: No registered users and 21 guests