Stuck in bootloop sometimes

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
kevinkk525
Posts: 969
Joined: Sat Feb 03, 2018 7:02 pm

Stuck in bootloop sometimes

Post by kevinkk525 » Tue Jul 17, 2018 9:12 am

Sometimes my esp8266 get stuck in a bootloop if it gets reset by "machine.reset()" or by pressing the reset button or sometimes if I connect to it using putty.
It then starts my program and connects to wifi and then reboots. It runs only a few hundred ms before it reboots. Then I have to disconnect it from the power and plug it in again (only pressing the reset button does not change that behaviour).

My code is frozen bytecode and started directly without waiting time in main.py, filesystem is disabled.

Does anyone know what might cause this or how it could be fixed? Do you need additional information?
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: Stuck in bootloop sometimes

Post by deshipu » Tue Jul 17, 2018 11:52 am

How are you powering it?

kevinkk525
Posts: 969
Joined: Sat Feb 03, 2018 7:02 pm

Re: Stuck in bootloop sometimes

Post by kevinkk525 » Tue Jul 17, 2018 12:27 pm

smartphone chargers. It happens on all my esp8266 occasionally and they all have different power supplies.
The one I access using putty is connected to the usb port of the PC, of course.
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode

Post Reply