Question asked about:

How to put AT-firmware ON ESP8266

In this tutorial you will learn how to put the new AT-firmware to n ESP8266 module.

CityOS flag

0

Flash Config Error

Hi Armin, I have done all the steps from your tutorial, but after opening example code for Check Flash Config I got an error: “Flash Chip configuration wrong!”

Here is the code:

/* 
 ESP8266 CheckFlashConfig by Markus Sattler

 This sketch tests if the EEPROM settings of the IDE match to the Hardware

 */

void setup(void) {
    Serial.begin(115200);
}

void loop() {

    uint32_t realSize = ESP.getFlashChipRealSize();
    uint32_t ideSize = ESP.getFlashChipSize();
    FlashMode_t ideMode = ESP.getFlashChipMode();

    Serial.printf("Flash real id:   %08Xn", ESP.getFlashChipId());
    Serial.printf("Flash real size: %unn", realSize);

    Serial.printf("Flash ide  size: %un", ideSize);
    Serial.printf("Flash ide speed: %un", ESP.getFlashChipSpeed());
    Serial.printf("Flash ide mode:  %sn", (ideMode == FM_QIO ? "QIO" : ideMode == FM_QOUT ? "QOUT" : ideMode == FM_DIO ? "DIO" : ideMode == FM_DOUT ? "DOUT" : "UNKNOWN"));

    if(ideSize != realSize) {
        Serial.println("Flash Chip configuration wrong!n");
    } else {
        Serial.println("Flash Chip configuration ok.n");
    }

    delay(5000);
}

Thank you in advance!

Vote for the Best Answer

0

Bosnia-And-Herzegovina flag

Emir you can’t use this tipe of code with AT-Firmware, as AT-Firmware can only use AT commands. You can send AT commands via serial to esp8266. When you connect arduino and esp so arduino send AT commands to esp.


Like this post? Share it!

Join Our Community!

Join our community and participate in the discussions!

Stats

answers

1

people

2

2 Followers