ESP32 Huzzah feather board (v1) crc mismatch

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
boomandot
 
Posts: 2
Joined: Tue May 11, 2021 7:27 pm

ESP32 Huzzah feather board (v1) crc mismatch

Post by boomandot »

So I've been working with an ESP32 Huzzah feather board for a while now, and all of a sudden there is a mismatch between the blk crc and the calc crc, which is not allowing me to run any code that uses the Wi-Fi of the board. It automatically crashes when it tries to use the Wi-Fi module. Here is my output:
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1184
load:0x40078000,len:13220
ho 0 tail 12 room 4
load:0x40080400,len:3028
entry 0x400805e4
E (1009) system_api: Base MAC address from BLK0 of EFUSE CRC error, efuse_crc = 0xbf; calc_crc = 0x46
abort() was called at PC 0x400f9200 on core 1
Backtrace: 0x4008363d:0x3ffb1f60 0x4008b651:0x3ffb1f80 0x40090e6d:0x3ffb1fa0 0x400f9200:0x3ffb2020 0x400d2989:0x3ffb2060 0x400d2adc:0x3ffb20a0 0x400d2c5a:0x3ffb2230 0x400d25e5:0x3ffb2250 0x400d484e:0x3ffb2290
ELF file SHA256: a966663d4ea80d7b
Rebooting...

Please let me know of anything that can fix this. I dont know if that can work because it seems as though the area in which the boot data is stored is only writeable once and cant be unwritten.

heres my code that causes this error

Code: Select all

#include <WiFi.h>

const char* ssid = "Redacted";
const char* password = "Redacted";

void setup(){
    Serial.begin(115200);
    delay(1000);

    WiFi.mode(WIFI_STA); //Optional
    WiFi.begin(ssid, password);
    Serial.println("\nConnecting");

    while(WiFi.status() != WL_CONNECTED){
        Serial.print(".");
        delay(100);
    }

    Serial.println("\nConnected to the WiFi network");
    Serial.print("Local ESP32 IP: ");
    Serial.println(WiFi.localIP());
}

void loop(){}

User avatar
mikeysklar
 
Posts: 13824
Joined: Mon Aug 01, 2016 8:10 pm

Re: ESP32 Huzzah feather board (v1) crc mismatch

Post by mikeysklar »

Have you changed the BSP (Board Support Package) for the esp-idf recently? Is it current now?

There is a ESP_MAC_IGNORE_MAC_CRC_ERROR flag.

https://github.com/espressif/esp-idf/co ... f9c527a402

User avatar
boomandot
 
Posts: 2
Joined: Tue May 11, 2021 7:27 pm

Re: ESP32 Huzzah feather board (v1) crc mismatch

Post by boomandot »

I looked into doing this, but it seems as though I cannot modify that flag unless I am using ESP-IDF, which I am not, I am using the arduino IDE. Is there any way to do this via the arduino IDE? I have no idea how to use ESP-IDF, so if its possible I would like to use the arduino IDE. Thanks for your reply (:


"To use the arduino-esp32 core with a modified sdkconfig option, you need to use ESP-IDF to compile Arduino libraries. Please see Arduino as an ESP-IDF component and Library Builder for the two solutions available."

https://espressif-docs.readthedocs-host ... t/faq.html

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”