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…

Read More

ESP8266 Bliss

You may have seen comments in here from Richard Burton about his bootloader. Well, I have to tell you – what a game-changer. If you look at a previous blog where I showed you how we’d moved code from the fairly normal 0x40000 starting point down to 0x20000 – freeing…

Read More

ESP8266 SDK 1.11

Just a short one for those of you who’ve not tried the new Espressif SDK update yet (SDK 1.11).  I noted a pair of commands “system_param_load” and “system_param_save_with_protect” which appear to replace the need for the load and save functions that TuanPM uses in his code in /mqtt/config.c  – so…

Read More