Tag Archives: ESP RESET USSUES

ESP8266 RESET

As often as not, when I reset an ESP8266 by using the system reset call in the SDK, after flashing – for example.

if (strcmp(token, "id") == 0) {
                    if (isQuery) RESPONSE("ID=%s\r\n", sysCfg.base);
                    else if (strlen(strValue)>=2){
                        strcpy(sysCfg.base, strValue);
                        CFG_Save();
                        system_restart();
                    }

The unit does not come out of reset.. the internal startup code will run, maybe there will be a reference to the watchdog – and that’s it. This usually happens after FLASHING the chip.. ie you flash it, you run the code to reset – it won’t.

But otherwise the system_restart works fine.

Anyone have any idea why this should be and how to get around it. I’m not the only one to mention this?

Facebooktwittergoogle_pluspinterestlinkedin