Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OTA failed after sumlength shown #8

Open
LinhDNguyen opened this issue Aug 22, 2015 · 4 comments
Open

OTA failed after sumlength shown #8

LinhDNguyen opened this issue Aug 22, 2015 · 4 comments

Comments

@LinhDNguyen
Copy link

Hi Dinh,

The ota-update shown following output. I was changed INTERVAL to 120s but same output. Do you have any idea about this?

2nd boot version : 1.4(b1)
  SPI Speed      : 40MHz
  SPI Mode       : QIO
  SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user1 @ 1000

RT!��PHfxP Ih��|rlS

SDK version: 1.2.0
Compile time: Aug 22 2015 16:48:49
Project otaupdate with version 0.0.1
mode : sta(18:fe:34:99:31:77)
add if0
f 0, scandone
add 0
aid 1
pm open phy_2,type:2 0 0
cnt 

connected with Vinh 1102, channel 7
dhcp client start...
ip:192.168.1.58,mask:255.255.255.0,gw:192.168.1.1
Got IP, start update
system_upgrade_start
upgrade_connect
upgrade_connect_cb
GET /firmwares/55d3345febacf68431a4e757/download HTTP/1.1
Host: 103.253.146.183:3000
Connection: keep-alive
Cache-Control: no-cache
User-Agent: ESP8266
Accept: */*
Content-Type: application/json

sumlength = 257392 

 ets Jan  8 2013,rst cause:4, boot mode:(1,7)

wdt reset
@nqd
Copy link
Owner

nqd commented Aug 22, 2015

Interesting. You may find a bug in the downloading

You are trying to download from port 3000, my firewall blocks all port except 80. Then timeout is guarantee. But it should not trigger watchdog reset.

I will double check this problem when I touch the hardware again.

@useless2u
Copy link

I'm using port 80 but I get the same reset

Thanks for your work!

@nqd
Copy link
Owner

nqd commented Aug 25, 2015

At first try my server at http://103.253.146.183/. After flashing, hard
reset the board, then see if the problem continue.

@useless2u
Copy link

Yes, works fine now…

Problem was not with you or your server.
Shame on me, because I power my esp from usb so power was way to low.

Thanks for your time and excellent software, I’ll try to setup a update server myself now.

Bye!

Jan

Op 25 aug. 2015, om 02:59 heeft Nguyễn Quốc Đính <notifications@github.com mailto:notifications@github.com> het volgende geschreven:

At first try my server at http://103.253.146.183/ http://103.253.146.183/. After flashing, hard
reset the board, then see if the problem continue.


Reply to this email directly or view it on GitHub #8 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants