From f276768f0b79df69b8b569712ac4ed1dbbd8ab9d Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Fri, 23 Mar 2018 17:39:56 +0900 Subject: [PATCH] Revised a reset cause description --- docs/faq/index.html | 22 ++++++++++++++++++++++ mkdocs/faq.md | 8 ++++++++ 2 files changed, 30 insertions(+) diff --git a/docs/faq/index.html b/docs/faq/index.html index 703c16a..bf1216a 100644 --- a/docs/faq/index.html +++ b/docs/faq/index.html @@ -770,6 +770,28 @@ wdt reset

The correct boot mode for starting the sketch is (3, x).

+
+

ESP8266 Boot Messages

+

It is described by ESP8266 Non-OS SDK API Reference, section A.5.

+ + + + + + + + + + + + + + + + + +
MessagesDescription
rst cause1: power on
2: external reset
4: hardware watchdog reset
boot mode
(the first parameter)
1: ESP8266 is in UART-down mode (and downloads firmware into flash).
3: ESP8266 is in Flash-boot mode (and boots up from flash).
+

How erase the credentials saved in EEPROM?

Make some sketches for erasing the EEPROM area, or some erasing utility is needed. You can prepare the sketch to erase the saved credential with AutoConnectCredential. The AutoConnectCrendential class provides the access method to the saved credential in EEPROM and library source file is including it.

A class description of AutoConnectCredential is follows.

diff --git a/mkdocs/faq.md b/mkdocs/faq.md index 688d6ce..e7f0a4d 100644 --- a/mkdocs/faq.md +++ b/mkdocs/faq.md @@ -72,6 +72,14 @@ wdt reset The correct boot mode for starting the sketch is **(3, x)**. +!!! info "ESP8266 Boot Messages" + It is described by [ESP8266 Non-OS SDK API Reference](view-source:https://www.espressif.com/en/products/hardware/esp8266ex/resources), section A.5. + + | Messages | Description | + |----------|-------------| + | rst cause | 1: power on
2: external reset
4: hardware watchdog reset | + | boot mode
(the first parameter) | 1: ESP8266 is in UART-down mode (and downloads firmware into flash).
3: ESP8266 is in Flash-boot mode (and boots up from flash). | + ## How erase the credentials saved in EEPROM? Make some sketches for erasing the EEPROM area, or some erasing utility is needed. You can prepare the sketch to erase the saved credential with *AutoConnectCredential*. The *AutoConnectCrendential* class provides the access method to the saved credential in EEPROM and library source file is including it.