micropython / micropython/micropython

boot loop after fresh firmware install on ESP8266MOD 12-F and ESP-12E

Open
#6,675 11 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

port-esp8266
Dominant language
C
Stars
22.1k
Forks
9k
Avg merge
6d 4h
Merged PRs (30d)
16

Description

I buy some nodeMCU on ebay,
i load the last micropython (1.12)... at boot i saw REPL and after 8s the device boot.
I find some info in the forum (here)... I have to run this :

import network; network.WLAN(network.AP_IF).active(False)

and it works very well. All my board could actually work with micropython if i disable wifi AP mode at start.

i try STA mod and it works well but if i try AP mod, the boot loop start again...

So i tried to flash with arduino an AP mode test program and ... It works !

Obviously there is somethings wrong with this board when AP mode start with micropython.
Some people in the forum says that it could be a lack of power and to solve that, put a 100µF cap between NE and ground... i don't try this because it works with arduino without it... That's why i think that it's not an hardware problem.

is someone interested by my problem ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository file or test; start by reproducing the boot loop on an ESP8266MOD 12-F or ESP-12E with MicroPython 1.12 and AP_IF enabled. Compare that behavior with AP mode under Arduino and with AP_IF disabled, then document a reproducible cause and verify that AP mode no longer loops without breaking STA mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.