Giter VIP home page Giter VIP logo

Comments (10)

marvinroger avatar marvinroger commented on May 24, 2024

The issue comes from the Arduino for ESP8266 (see esp8266/Arduino#1017)
Basically, an ESP.restart() after a flash triggers a wdt reset.

To confirm this is the issue, try this:

  1. Flash the firmware
  2. Manually power reset the board
  3. Repeat the config request/reset

You will see that the board is actually rebooting.

from homie-esp8266.

marvinroger avatar marvinroger commented on May 24, 2024

Note that when stuck on a wdt reset, you don't even have to reflash the firmware: just reset the board manually and it will boot in the correct mode.

from homie-esp8266.

enavarro222 avatar enavarro222 commented on May 24, 2024

Indeed, this doesn't appear when I hard reset power of the board after flashing !

We can leave this ticket open for documentation, until bug isn't fix in Arduino/ESP8266.

Resume: With NodeMCU 0.9 for every ESP8266, you need to manually power reset the board after flashing to have reboot working.

from homie-esp8266.

enavarro222 avatar enavarro222 commented on May 24, 2024

I'm not familiar with nodeNCU, Is there a way to reset it without plug/unplug it ?

from homie-esp8266.

marvinroger avatar marvinroger commented on May 24, 2024

Yes, let's leave it open for reference. It is not only a problem with NodeMCU, it is for every ESP8266 ;)

On NodeMCU 1.0 there is a RST button. It seems like NodeMCU 0.9 doesn't have such a button, so you'll have to power reset it!

from homie-esp8266.

enavarro222 avatar enavarro222 commented on May 24, 2024

Ok, thanks for the quick answer !

from homie-esp8266.

Dylantje avatar Dylantje commented on May 24, 2024

Dear alll...
I use a Nodemcu v.09 and v.10 i did have have work my esp correct.
after a new flash i did have a problem with the esp...

wdt reset
load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
~ld
ªU
INIT : Booting Build nr:48
WIFI : Connecting...
IP : Static IP :192.168.5.101
INIT : I2C

ets Jan 8 2013,rst cause:4, boot mode:(3,0)

wdt reset
load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
~ld
ªU
INIT : Booting Build nr:48
WIFI : Connecting...
IP : Static IP :192.168.5.101
INIT : I2C

I try different reset option...[ 10k to gpio0 gnd to reset, reset button different ways.. ]
I do have 3 esp boards and all 3 broken, when i did flash wit espeasy R48, ide 1.6.5

Is there some one that have working option for this problem?

from homie-esp8266.

marvinroger avatar marvinroger commented on May 24, 2024

@Dylantje report your issue at esp8266/Arduino, this is not the place to do it as Homie has nothing to do with it. ;)

from homie-esp8266.

marvinroger avatar marvinroger commented on May 24, 2024

The v2.0.0 will rely on the 2.3.0 version of the ESP8266 for Arduino. This problem is solved in this version.

from homie-esp8266.

jmozmoz avatar jmozmoz commented on May 24, 2024

Eventhough, this bug has be closed sometime ago, here an observation, which might help others:
I had the following added to my platformio.ini and I observed the resets described above (about 5 s after startup). After I have removed the debug options, no more resets:

build_flags = -DDEBUG_ESP_PORT=Serial -DDEBUG_ESP_SSL -DDEBUG_ESP_TLS_MEM 
 -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE

from homie-esp8266.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.