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?
Stuck in bootloop sometimes
-
- Posts: 969
- Joined: Sat Feb 03, 2018 7:02 pm
Stuck in bootloop sometimes
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Re: Stuck in bootloop sometimes
How are you powering it?
-
- Posts: 969
- Joined: Sat Feb 03, 2018 7:02 pm
Re: Stuck in bootloop sometimes
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.
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
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode