ESP8266 Developer Zone The Official ESP8266 Forum 2017-06-07T15:26:45+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=4718 2017-06-07T15:26:45+08:00 2017-06-07T15:26:45+08:00 https://bbs.espressif.com:443/viewtopic.php?t=4718&p=13773#p13773 <![CDATA[Re: ESP8266 suddenly boot fail, and never jump to 2nd boot or user code, help!]]> Also, do not try to upgrade boot.bin or touch system parameters area when you upgrade firmware. ONLY write to user1 or user2 area strictly.

The latest boot BIN will first try user1.bin... is checksum is invalid, it will jump to user2.bin. If both are invalid it will just print out an error and hang up the system.

Statistics: Posted by Guest — Wed Jun 07, 2017 3:26 pm


]]>
2017-06-05T09:59:57+08:00 2017-06-05T09:59:57+08:00 https://bbs.espressif.com:443/viewtopic.php?t=4718&p=13698#p13698 <![CDATA[Re: ESP8266 suddenly boot fail, and never jump to 2nd boot or user code, help!]]>
I want to analyze the flash to find the cause, and finally resovle this bug or avoid it.

Anyway, thanks a lot!

Statistics: Posted by miles — Mon Jun 05, 2017 9:59 am


]]>
2017-06-04T23:15:26+08:00 2017-06-04T23:15:26+08:00 https://bbs.espressif.com:443/viewtopic.php?t=4718&p=13681#p13681 <![CDATA[Re: ESP8266 suddenly boot fail, and never jump to 2nd boot or user code, help!]]>
You do not need to disable the SDK FOTA functions, just don't ever call them in your application and it will be fine.

Statistics: Posted by Guest — Sun Jun 04, 2017 11:15 pm


]]>
2017-06-03T15:09:54+08:00 2017-06-03T15:09:54+08:00 https://bbs.espressif.com:443/viewtopic.php?t=4718&p=13663#p13663 <![CDATA[Re: ESP8266 suddenly boot fail, and never jump to 2nd boot or user code, help!]]>
I means the OTA firmware upgrade. I used my own http download code to download firmware, and call spi_flash_write() to upgrade user1.bin to user2.bin or versa.

Since i didn't call built-in upgrade function, like system_upgrade_start(), can i disable it? I am afraid if built-in function has some relation with this problem.

thanks.

Statistics: Posted by miles — Sat Jun 03, 2017 3:09 pm


]]>
2017-06-01T16:47:35+08:00 2017-06-01T16:47:35+08:00 https://bbs.espressif.com:443/viewtopic.php?t=4718&p=13614#p13614 <![CDATA[Re: ESP8266 suddenly boot fail, and never jump to 2nd boot or user code, help!]]> You cannot directly read the flash and save its contents, but it probably will not be useful data anyway, because the newest firmware will work fine if your module is okay.

I hope you did not put 5V on some module pin? The module runs off 3.6V max. Over that can damage the module.


2. as i use my own http download code, can i turn off the built-in http download or upgrade function?

I did not clearly understand this. Are you talking about downloading and uploading data or are you talking about FOTA firmware update?

Statistics: Posted by Guest — Thu Jun 01, 2017 4:47 pm


]]>
2017-05-31T15:56:07+08:00 2017-05-31T15:56:07+08:00 https://bbs.espressif.com:443/viewtopic.php?t=4718&p=13569#p13569 <![CDATA[Re: ESP8266 suddenly boot fail, and never jump to 2nd boot or user code, help!]]>
1. can i read my code out before re-flash it?
2. as i use my own http download code, can i turn off the built-in http download or upgrade function?

thanks!

Statistics: Posted by miles — Wed May 31, 2017 3:56 pm


]]>
2017-05-28T22:42:19+08:00 2017-05-28T22:42:19+08:00 https://bbs.espressif.com:443/viewtopic.php?t=4718&p=13487#p13487 <![CDATA[Re: ESP8266 suddenly boot fail, and never jump to 2nd boot or user code, help!]]> Maybe you should re-flash the firmware.

Statistics: Posted by Guest — Sun May 28, 2017 10:42 pm


]]>
2017-05-25T11:35:51+08:00 2017-05-25T11:35:51+08:00 https://bbs.espressif.com:443/viewtopic.php?t=4718&p=13381#p13381 <![CDATA[ESP8266 suddenly boot fail, and never jump to 2nd boot or user code, help!]]>
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
...

does my 2nd boot and user code in flash have been erased? or what's wrong with boot?
how can i read out my code in flash?

thanks.

my esp8266 normal print should be:
ets Jan 8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 816, room 16
tail 0
chksum 0x8d
load 0x3ffe8000, len 788, room 8
tail 12
chksum 0xcf
ho 0 tail 12 room 4
load 0x3ffe8314, len 288, room 12
tail 4
chksum 0xcf
csum 0xcf

2nd boot version : 1.2
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size : 16Mbit
jump to run user1


compile time: May 10 2017 11:31:35
SDK version:1.5.0
...

Statistics: Posted by miles — Thu May 25, 2017 11:35 am


]]>