Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By kamal sonani
#41347 hey buddy,
i faced same problem. but now i'm here :D

first of all just short RX and TX pins of module that u used.and check that you receive data that you transmit on serial window.
and one more thing use arduino serial monitor OR if any other >> run with administer


common both GND (USB to ttl's AND esp's) << most common problem
GPIO^00 = 3.3v (normal using)
GPIO^00 = GND (for flash OR burn firmware)
GPIO^02 = 3.3v
GPIO^CH_PD = 3.3v
GPIO^15 = GND
baud rate must be 9600
put button between RST and GND for reset module
that's it.

i prefer that you change only GPIO^00 >>3.3 OR GND AND check only result with 9600 baudrate
just forgot all other baudrate that recive any kind of ..
garbage like>> "RST CAUSE:2, BOOT MODE:(3,6)"
other pins as i say


i just remember you again >>
just forgot all other baudrate that receive any kind of ..
garbage like>> "RST CAUSE:2, BOOT MODE:(3,6)" [set it only on 9600]

and set pins status as i say >> changes are only on GPIO^00 >>3.3 OR GND....
User avatar
By lnxsrt
#44216 Don't want to beat a dead horse, but I have had the same random reset/wdt and crash issues with a few of my ESP-12E modules. I wired them up all the same with 10k pullups on various pins as described above and in many other threads.

I was still having issues on some modules (all ESP-12E, all from the same supplier), but not others. I read in another thread that someone wired up the EN/CH_PD pin directly to 3.3V instead of using a 10k pullup. I tried that and that has fixed my reset issue.

So I wire GPIO_0, GPIO_2, and RST to 10k 3.3V pullups. I wire EN/CH_PD directly to 3.3V. I wire GPIO_15 to 10k GND pulldown. I also have a 10uF capacitor between VCC and GND.

Hopefully this will help someone else. You feel like you are going crazy trying to fix these WDT reset issues.
User avatar
By hadipic
#54391 add this code ferst loop or for slove problem reset
eset ets Jan 8 2013,rst cause:4, boot
eset ets Jan 8 2013,rst cause:2, boot

ets_intr_lock(15); // all intruptt off
ets_wdt_disable();

this code heir .....

ets_intr_unlock(15);
ets_wdt_enable(); :D :D :D

------------------------------------------------------------
eroor masege

REANSON_DEFAULT_RST = 0, // normal startup by power on
REANSON_WDT_RST = 1, // hardware watch dog reset
// exception reset, GPIO status won’t change
REANSON_EXCEPTION_RST = 2,
// software watch dog reset, GPIO status won’t change
REANSON_SOFT_WDT_RST = 3,
// software restart ,system_restart , GPIO status won’t change
REANSON_SOFT_RESTART = 4,
REANSON_DEEP_SLEEP_AWAKE = 5, // wake up from deep-sleep