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 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.
>>>
Did anyone experienced this?