Reboot occurred in system_upgrade_start() for FOTA

riverwin
Posts: 5
Joined: Tue Jul 14, 2015 8:19 pm

Reboot occurred in system_upgrade_start() for FOTA

Postby riverwin » Wed Jul 22, 2015 8:24 pm

Hi,

I am using system_upgrade_start() functions for FOTA (Firmware upgrade over-the-air) using the binary files on my own OTA server.

Initially the upgrade process was successful, but it began to fail (reset occurred) to have repeated several times.

Code: Select all


 ets Jan  8 2013,rst cause:4, boot mode:(3,0)

wdt reset
load 0x40100000, len 1396, room 16
tail 4
chksum 0x89
load 0x3ffe8000, len 776, room 4
tail 4
chksum 0xe8
load 0x3ffe8308, len 540, room 4
tail 8
chksum 0xc0
csum 0xc0

2nd boot version : 1.4(b1)
  SPI Speed      : 26.7MHz
  SPI Mode       : QIO
  SPI Flash Size & Map: 16Mbit(512KB+512KB)
jump to run user2 @ 81000



I use SDK 1.2.0.
The size of the binary file for upgrade is 306272 Bytes.

Please confirm it.

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

Re: Reboot occurred in system_upgrade_start() for FOTA

Postby ESP_Faye » Fri Jul 24, 2015 10:47 am

Hi,

Here is an example of FOTA http://bbs.espressif.com/viewtopic.php?f=7&t=423#p1619

If your problem is still unsolved, please offer your test code and we will have a try.

Thanks for your interest in Espressif Systems and ESP8266 !

fvpalha

Re: Reboot occurred in system_upgrade_start() for FOTA

Postby fvpalha » Sat Sep 19, 2015 4:43 am

Hi riverwin,

Do you can share a example of FOTA firmware?

I want add this feature in my firmware.

Who is online

Users browsing this forum: No registered users and 84 guests