luc-github / ESP3D

FW for ESP8266/ESP8285/ESP32 used with 3D printer
GNU General Public License v3.0
1.77k stars 466 forks source link

Reset #43

Closed lehar closed 9 years ago

lehar commented 9 years ago

Thanks for a very good project :+1: and thanks for sharing it.

When I applay a page, and there is a EPS8266.restart(), it will not boot up again. There is no debug messages (which at first start up) and there will be no life in the wireless network (ESP8266).

Do I something wrong, I use a NodeMCU 1.0

Best regards Per

luc-github commented 9 years ago

Do you use latest staging of ESP8266 ? What branch do you use in my project? Master or test? Also in all case seems having issue with captive portal - you may disable it as it cause some restart

luc-github commented 9 years ago

Also seems with latest staging available memory is in critical path due to latest additions - and I seems very visible on NodeMCU 1.0 compare to ESP01 So you may need to disable CSS usage also to free some memory.

I am now using NodeMCU 1.0 also and rewriting the rendering to use template and limit memory usage - you can have a look on test branch but I will finish all porting only next week - currently only home page and system page are done - still need to port AP configuration and STA configuration then will do the printer UI porting Should be done by next week

lehar commented 9 years ago

I use latest staging of ESP8266 I have tried both branches, Master and Templatetest, it's the same. I look forward to your next update, with templates :+1:

luc-github commented 9 years ago

template test is currently working I use it on NodeMCU 1.0 - even you do not upload the template it will show "cannot open /home.tpl" but should not restart And I disabled captive portal in testtemplate so it is strange

luc-github commented 9 years ago

may I have more detail of your actions ?

lehar commented 9 years ago

I have nothing more to add right now. (I press Apply on the system configuration page. it says restarting, and the connection is lost, and never come up again. Serial monitor says : F[08])þ)

Next week I have holidays, but when I'm back again, I'll try with your latest update and try to come up with more input for you.

luc-github commented 9 years ago

Ok this is more clear you have this after submitting the form what setting do you change before applying ? What speed do you set in serial monitor ? How do you recover ? unplug / replug module ? What OS are you using ? Normally when starting after 10s is display M117 192.168.0.1 then module is visible on network

lehar commented 9 years ago

I don't change anything, just press apply. I use default baud rate 9600 I can recover, by unplug and replug the module, or upload the software again. I am using Windows 7 Ultimate And I don't see M117 192.168.0.1 after reboot. Only then I unplug/replug.

luc-github commented 9 years ago

did you tried to do not just after an upload, I do not have this issue on my nodemcu but onmyESP01 the restart does not work after an upload, i need to unplug replug first

lehar commented 9 years ago

I have found the problem, but do not know why it is a problem. I do the following:

  1. compile software and upload from Arduino IDE
  2. Connect serail interface (serial monitor)
  3. Connect Wireless connection.
  4. Refresh browser (page load)
  5. switch to System configuration
  6. Press Apply (and it never start again) :-1:

// never tryied that before, I always reload SW before.

  1. Unplug/replug
  2. Connect Wireless connection.
  3. Refresh browser (page load)
  4. switch to System configuration
  5. Press Apply (and now it restart) :+1:

EDIT: I did not see your update, but yes it helps to unplug/replug :)

luc-github commented 9 years ago

after upload if no unplug replug the module may still be in upload mode, so the restart redo upload mode waiting to be flashed, it is always better to reset after an upload

luc-github commented 9 years ago

if ok please close issue

and feel free feedback especially on template part, i will be the big change and will allow a better UI and easily modifiable

github-actions[bot] commented 4 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.