Skip to content

ESP32 C3 Bootloop #11685

@vishalkothari

Description

@vishalkothari

Board

ESP8685-WROOM-07

Device Description

Plain module ESP8685-WROOM-07

Hardware Configuration

NA

Version

v3.3.0

Type

Bug

IDE Name

Arduino IDE

Operating System

Windows 11

Flash frequency

40Mhz

PSRAM enabled

no

Upload speed

921600

Description

Bootloop when trying to enable STA mode.

Sketch

#include <WiFi.h>

void setup() {
  Serial.begin(115200);
  Serial.println("setup");

  WiFi.mode(WIFI_STA);
  Serial.println("after wifi mode");
}

void loop() {

  Serial.println("loop");
}

Debug Message

23:31:49.964 -> SPIWP:0xee
23:31:49.964 -> mode:DIO, clock div:2
23:31:49.964 -> load:0x3fcd5820,len:0x108c
23:31:49.964 -> load:0x403cbf10,len:0x9d8
23:31:49.964 -> load:0x403ce710,len:0x2ee0
23:31:49.964 -> entry 0x403cbf10
23:31:50.213 -> setup
23:31:50.250 -> ESP-ROM:esp32c3-api1-20210207
23:31:50.250 -> Build:Feb  7 2021
23:31:50.250 -> rst:0x3 (RTC_SW_SYS_RST),boot:0xd (SPI_FAST_FLASH_BOOT)
23:31:50.250 -> Saved PC:0x40048b82

Other Steps to Reproduce

This code goes into a bootloop on WiFi.mode(WIFI_STA);
If I remove this line, code seems to function fine and outputs "loop" on Serial.

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