Skip to content

ESP32-C3 bootloop #6519

Closed
Closed
@hedgemybets

Description

@hedgemybets

Board

ESP32-C3-DevKitC-02U

Device Description

Stock board with USB cable to PC running Arduino IDE.

Hardware Configuration

No external hardware

Version

v2.0.2

IDE Name

Arduino IDE v1.8.19

Operating System

Windows 10

Flash frequency

80MHz

PSRAM enabled

no

Upload speed

921600 and tried 512000 and 115200

Description

Using new Espressif board received last week. In Arduino IDE, selected ESP32C3 Dev Module under Tools/Board and compile any sketch, SHA-256 comparison fail occurs on boot and no other output.
Tried 40 MHz, various upload speeds, both QIO and DIO flash modes, same results with anything I tried.

One unusual thing I see during flashing is: "Chip is unknown ESP32-C3 (revision 3)"

Sketch

#define LED 2

void setup() {
    pinMode(LED, OUTPUT);
}

void loop() {
    digitalWrite(LED, HIGH);
    delay(100);
    digitalWrite(LED, LOW);
    delay(100);
    Serial.println("In Loop");
}

Debug Message

ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x420
load:0x403ce000,len:0x90c
load:0x403d0000,len:0x236c
SHA-256 comparison failed:
Calculated: ccb0d00bac7e84e1d90a12e4f75f4ab6c5f7e71bb209afd5819c4c9557a6db71
Expected: c9cf160580940ec7801c73b16423824e72ad12055c732e83ce66332240af42a7
Attempting to boot anyway...
entry 0x403ce000

Other Steps to Reproduce

As a work-around I was able to use the approach of adding the Arduino component to an installation of the ESP-IDF v4.4. Then build and flash my full Arduino project in ESP-IDF. The instructions I used are at: https://docs.espressif.com/projects/arduino-esp32/en/latest/esp-idf_component.html

Flash size is set for 4MBs, which was the default and what is listed in specification.

BTW, I didn't see PSRAM listed as config option in Arduino IDE, so I answered no above.

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions