ESP8266 Developer Zone The Official ESP8266 Forum 2018-03-30T16:25:00+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=6446 2018-03-30T16:25:00+08:00 2018-03-30T16:25:00+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6446&p=19832#p19832 <![CDATA[Re: 4MB Nor memory OTA reboot fail]]>

Code:

esptool.py --port com --baud 115200 write_flash --flash_size 4MB-c1


or choose correct flash map when using flash download tool on windows

Statistics: Posted by Al_Ways — Fri Mar 30, 2018 4:25 pm


]]>
2017-09-20T03:47:00+08:00 2017-09-20T03:47:00+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6446&p=15868#p15868 <![CDATA[Re: 4MB Nor memory OTA reboot fail]]>
2nd boot version : 1.7(5d6f877)
SPI Speed : 40MHz
SPI Mode : DOUT
SPI Flash Size & Map: 32Mbit(512KB+512KB)
jump to run user1 @ 1000

OS SDK ver: 1.5.0-dev(4e7f435) compiled @ Aug 25 2017 19:26:38

Statistics: Posted by bzhang222 — Wed Sep 20, 2017 3:47 am


]]>
2017-09-19T14:20:58+08:00 2017-09-19T14:20:58+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6446&p=15850#p15850 <![CDATA[Re: 4MB Nor memory OTA reboot fail]]> Statistics: Posted by Guest — Tue Sep 19, 2017 2:20 pm


]]>
2017-09-19T04:00:36+08:00 2017-09-19T04:00:36+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6446&p=15843#p15843 <![CDATA[4MB Nor memory OTA reboot fail]]>
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?

Statistics: Posted by bzhang222 — Tue Sep 19, 2017 4:00 am


]]>