4MB Nor memory OTA reboot fail

Kieutrang
Posts: 1
Joined: Fri Aug 30, 2019 11:10 am

4MB Nor memory OTA reboot fail

Postby Kieutrang » Fri Aug 30, 2019 11:13 am

I am using a 4MB NOR with ESP8266(ESP-12E), I can downlaod and flash into the 1MB+4KB region(option 6), and checksum is okay;

after download and do checksum, I called
system_upgrade_flag_set(UPGRADE_FLAG_FINISH);
system_upgrade_reboot()

then I got this failure
pcode=04x, frame_type=Fatal exception (28):
epc1=0x4010151f
epc2=0x00000000
epc3=0x4024f4aa
epcvaddr=0x00000008
depc=0x00000000

and system reboot again back to the first copy which is at 0+4KB region---

I compared these two files, they are exactly the same , matching on each byte; I am curious, should these two file be different? because they are linked to different place, isn't it?
user1.4096.new.6.bin
user2.4096.new.6.bin,

I choose 1 on step 2 and 6 on last step to build BIN1
I choose 2 on step 2 and 6 on last step to build BIN2

I can't think of a reason why the bin2 image does not boot, any hints?

Who is online

Users browsing this forum: evelynvm18 and 9 guests