esp8266 / esp8266/Arduino

How to fix "ets Jan 8 2013,rst cause:2, boot mode:(1,7)" log

Open
#9,016 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
16.7k
Forks
13.1k
PR merge metrics
No merged PRs in 30d

Description

#### Platform

- Hardware: ESP-12
- Core Version:
- Development Env: Arduino IDE
- Operating System: Windows

### Settings in IDE

- Module: Wemos D1 mini
- Flash Mode:
- Flash Size: 4MB
- lwip Variant:
- Reset Method:
- Flash Frequency:
- CPU Frequency:
- Upload Using: SERIAL
- Upload Speed: 115200

### Problem Description

it cant boot to program i upload . notice i can upload but it cannot run program so problem is not with uploading or programming . problem is booing . no matter what program is . after uploading that serial monitor keeps printing this and I don't know why. and yes I did some searching on that, my board has no power issues . serial output is always as follow :
```
ets Jan 8 2013,rst cause:2, boot mode:(1,7)
```

### [MCVE](https://stackoverflow.com/help/mcve) Sketch

```cpp

// Digital pin D2 connected to an LED
int ledPin = D2;

void setup() {
// Set pin D2 as output
pinMode(ledPin, OUTPUT);
}

void loop() {
// Turn the LED on
digitalWrite(ledPin, HIGH);
delay(1000); // Wait 1 second

// Turn the LED off
digitalWrite(ledPin, LOW);
delay(1000); // Wait 1 second
}

```

### Debug Messages

```
ets Jan 8 2013,rst cause:2, boot mode:(1,7)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.