自己的 ota upgrade server
Re: 自己的 ota upgrade server
Postby ESP_Faye » Tue May 05, 2015 3:11 pm
Hi,
master-device-key.bin is only needed when you need to use Espressif Cloud.
If you are using your own server, master-device-key.bin need not to be written into flash.
You can just download
0x00000 boot_v1.3(b3)
0x01000 user1.1024.new.bin
0xFC000 esp_init_data_default.bin
0xFE000 blank.bin
If your problem is still unsolved, please offer the capture picture of your flash download tool while you burning images into flash.
master-device-key.bin is only needed when you need to use Espressif Cloud.
If you are using your own server, master-device-key.bin need not to be written into flash.
You can just download
0x00000 boot_v1.3(b3)
0x01000 user1.1024.new.bin
0xFC000 esp_init_data_default.bin
0xFE000 blank.bin
If your problem is still unsolved, please offer the capture picture of your flash download tool while you burning images into flash.
Re: 自己的 ota upgrade server
Postby ESP_Faye » Tue May 05, 2015 4:28 pm
Hi,
Please using Espressif Official flash download tool http://bbs.espressif.com/viewtopic.php?f=7&t=25
Select Flash size 8 Mbit on flash download tool according to http://bbs.espressif.com/viewtopic.php?f=10&t=305
Please using Espressif Official flash download tool http://bbs.espressif.com/viewtopic.php?f=7&t=25
Select Flash size 8 Mbit on flash download tool according to http://bbs.espressif.com/viewtopic.php?f=10&t=305
Re: 自己的 ota upgrade server
Postby ESP_Faye » Thu May 07, 2015 3:48 pm
Hi, alex,
please have a look on document "99C-ESP8266-OTA_UPGRADE" here http://bbs.espressif.com/viewtopic.php?f=21&t=413
it seems that you compiled user2.bin in a wrong way.
please have a look on document "99C-ESP8266-OTA_UPGRADE" here http://bbs.espressif.com/viewtopic.php?f=21&t=413
it seems that you compiled user2.bin in a wrong way.
Re: 自己的 ota upgrade server
Postby alexchang » Sun May 10, 2015 2:03 pm
好像找原因了,不使用 boot 增強模式就都可以正常更新,只要進入增強模式, user2 升級 user1 就會當機(一開始下載就當了)。
測試情境是這樣的:
完全重寫 rom ,使用
boot_v1.3(b3).bin
blank.bin
esp_init_data_default.bin
user1.bin
這幾個檔案。
接著 ota 升級 user2,升級完用 增強模式開機進入 user2,隨後不重啟,馬上繼續 ota 升級 user1,然後就會看到當機的狀況(一開始下載就當了)。
測試情境是這樣的:
完全重寫 rom ,使用
boot_v1.3(b3).bin
blank.bin
esp_init_data_default.bin
user1.bin
這幾個檔案。
接著 ota 升級 user2,升級完用 增強模式開機進入 user2,隨後不重啟,馬上繼續 ota 升級 user1,然後就會看到當機的狀況(一開始下載就當了)。
Last edited by alexchang on Sun May 10, 2015 3:12 pm, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 60 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.