ESP 01 keeps resetting

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
andutzicus
Posts: 5
Joined: Tue Apr 04, 2017 5:00 am

ESP 01 keeps resetting

Post by andutzicus » Sun May 14, 2017 9:02 am

Hello all,

My ESP 01 keeps resetting at a non regular pace. This is happening just after using for the first time the Timer from machine. The code looks like this:

Code: Select all

from machine import Timer

def lambda():
    print("callback happened")

tim = Timer(-1)
tim.init(period=2000, mode=Timer.PERIODIC, callback=lambda t:print(2))
I tried uploading another boot.py. (It uploads the file, runs it, but keeps resetting)
I also tried reflashing. It works ok, so i don't think is the 3.3V rail. I also have two capacitors on 3.3V.
Finally, i tried erasing the entire EEPROM.

This is how the log file looks like:

Code: Select all

MicroPython v1.8.7-7-gb5a1a20a3 on 2017-01-09; ESP module with ESP8266
Type "help()" for more information.
>>> 
 ets Jan  8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 32028, room 16 
tail 12
chksum 0x40
ho 0 tail 12 room 4
load 0x3ffe8000, len 1092, room 12 
tail 8
chksum 0x17
load 0x3ffe8450, len 3000, room 0 
tail 8
chksum 0x56
csum 0x56
rnlbbplllryr'bl8p8#l`|nblb8pbbl`8?bll`r8l #r8rI8lrrlbbl88b~nnNll``bl8|rrrn<~6blb#`#l`#4 ets_task(40100164, 3, 3fff8398, 4)
could not open file 'main.py' for reading

MicroPython v1.8.7-7-gb5a1a20a3 on 2017-01-09; ESP module with ESP8266
Type "help()" for more information.
>>> 
That rst cause is rst pin, and no, the pin is high and works well when connected to GND.

Did anyone experienced this?

Post Reply