FOTA user1 can't be started - bootloader 1.6 issue

FrenkR
Posts: 44
Joined: Thu Dec 04, 2014 9:25 am

FOTA user1 can't be started - bootloader 1.6 issue

Postby FrenkR » Wed Sep 14, 2016 5:57 pm

Hello,
using SDK 2.0 and bootloader 1.6. Configuration is 32m-c1, mode=6 (1024kb + 1024kb). start address for user1 = 0x1000, for user2 = 0x101000.
I've did a dump of complete bin on address 0x1000 and 0x101000. Both are binary the same. So bin is correctly uploaded to flash(both user1 and user2).
When starting using "user1", following output is received from bootloader:

Code: Select all

tail 8
chksum 0xe5
load 0x3ffe8000, len 776, room 0
tail 8
chksum 0x84
load 0x3ffe8310, len 632, room 0
tail 8
chksum 0xd8
csum 0xd8

2nd boot version : 1.6
  SPI Speed      : 40MHz
  SPI Mode       : QIO
  SPI Flash Size & Map: 32Mbit(1024KB+1024KB)
jump to run user1 @ 1000

error magic!
first boot failed, reboot to try backup bin


when starting "user2", everything is correct:

Code: Select all

tail 8
chksum 0xe5
load 0x3ffe8000, len 776, room 0
tail 8
chksum 0x84
load 0x3ffe8310, len 632, room 0
tail 8
chksum 0xd8
csum 0xd8

2nd boot version : 1.6
  SPI Speed      : 40MHz
  SPI Mode       : QIO
  SPI Flash Size & Map: 32Mbit(1024KB+1024KB)
jump to run user2 @ 101000


It looks like bootloader is broken when starting user1.bin. Can you check bootloader code, please?
Rgds,
Frenk

Who is online

Users browsing this forum: No registered users and 56 guests