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

What firmware did you use? Uploads OK but does not run. Onboard LED stays on. #4

Open
Fireflaker opened this issue Apr 18, 2017 · 11 comments

Comments

@Fireflaker
Copy link

I tried several different firmware versions. They all returned right serial feedback like this

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09f0c112
~ld

However, after that, the blue onboard LED stays on and nothing else goes on. What should I do?

I tried to blink a LED with those firmware and they all worked fine.

@amiravni
Copy link
Owner

I don't remember what "boot mode:(3,6)" stands for (try googling) but "rst cause:2" means that the esp8266 was reset by the reset pin. It seems weird that it keep happening when the reset is not even connected, but try connect it to VCC perhaps it will solve the problem

@Fireflaker
Copy link
Author

Fireflaker commented May 14, 2017

Thanks for helping.
It was a software problem and it is solved by writing zeros to all 4Mb and flash the firmware again. Now I can upload the sketch but it still does not run. I tried v0.9, v1.0, v1.2 and v1.5. All firmware work properly and report their statuses in the serial monitor. However, the blue LED still stays on. Wifi is booted as the firmware's default instead of the one defined in "definitions.h". Any suggestions? Thank you once again.

This is what I got in the serial monitor:
All I know is that the firmware is ok and it says the server is running. However, there is no available WiFi booted up thus no server....

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09f0c112
~ld
⸮[WS-Server] Server Started.
chg_B1:-40
chg_B2:0
:urn 61
:urd 9, 61, 13
:urd 4, 61, 23
:urd 11, 61, 28
:urch 61, 61
:urd 9, 61, 13
:urd 4, 61, 23
:urd 11, 61, 28
:urch 61, 61
:urd 9, 61, 13
:urd 4, 61, 23
:urd 11, 61, 28
:urch 61, 61
:urd 9, 61, 13
:urd 4, 61, 23
:urd 11, 61, 28
:urch 61, 117
:urd 8, 117, 13
:urd 4, 117, 22
:urd 5, 117, 27
:urch 117, 110
:urd 42, 110, 13
:urd 4, 110, 56
:urd 11, 110, 61
:urch 110, 61
:urd 9, 61, 13
:urd 4, 61, 23

@Fireflaker
Copy link
Author

I can connect to the WiFi with the default SSID created by the firmware. Port 80 and 81 are open. Port 80 says
"

Not found: /

"
and that is it....

@amiravni
Copy link
Owner

Hi,
What do you mean by "the default SSID" ? you mean the ESP works as hotspot?
Which of my codes you try to implement? the ver2.0 ? Cause that one should connect to your home network...
If nothing works after resetting it could mean that the ESP stayed in flash mode. You can try connect GPIO to VCC and reset again

@Fireflaker
Copy link
Author

Fireflaker commented May 16, 2017 via email

@amiravni
Copy link
Owner

Good luck !
If you find a solution please post it here and then we will close the issue, so it'll help other people in the future.

@Fireflaker
Copy link
Author

Fireflaker commented May 18, 2017 via email

@Fireflaker
Copy link
Author

I was using NodeMcu boards and they just do not work. I built a minimum system and it worked! Now, the web page says" Not found:/ "I guess I need to upload the equ.html file. But how?

Thank you!

Here are some debug info: (I do not think they are useful...)

request handler not found
New client
method: GET url: / search:
headerName: Host
headerValue: 192.168.1.141
headerName: Connection
headerValue: keep-alive
headerName: Upgrade-Insecure-Requests
headerValue: 1
headerName: Accept
headerValue: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
headerName: User-Agent
headerValue: Mozilla/5.0 (iPad; CPU OS 10_2_1 like Mac OS X) AppleWebKit/602.4.6 (KHTML, like Gecko) Version/10.0 Mobile/14D27 Safari/602.1
headerName: Accept-Language
headerValue: zh-cn
headerName: Cache-Control
headerValue: max-age=0
headerName: Accept-Encoding
headerValue: gzip, deflate
args:
Request: /
Arguments:
request handler not found

(and repeat whenever I access the page)

@amiravni
Copy link
Owner

Yeah you should upload the webpage, or just use mine
http://www.whatimade.today/content/images/2016/04/equ.html

and test it with your ESP IP

@stillgar2001
Copy link

I would like to try this project, (ver.2, Arduino) , but can not find where the web page was loaded into the ESP8266. There does not seem to be a Sketch data upload file(s) to be uploaded into SPIFFS. The rest of the write-up was well written and easy to follow, and the project look really cool.

@amiravni
Copy link
Owner

In ver.2, The web page isn't loaded to the ESP. The webpage is existed on a server over the internet and just communicate with the ESP when needed. In the ESP there's the minimal code to turn on and off the water heater

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