Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

wifi: invalid magic number 3ffcf140 #163

Closed
@NyxCode

Description

@NyxCode

After setting up the toolchain and the esp-idf, I built the micropython firmware and flashed it on my esp32:

make -C mpy-cross
cd esp32
rm -rf build/
make
make erase
make deploy

I can connect to it and besides a OSError: [Errno 2] ENOENT everything seems to work fine. But when I import network, I get this error:

>>> import network
E (174028) wifi: invalid magic number 3ffcf140, call WIFI_INIT_CONFIG_DEFAULT to init config
E (174028) wifi: wifi_init 1361 ret=258
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OSError: Wifi Invalid Argument

Recompiling and reflashing the firmware did not fix this issue. Has anyone experienced something similar or am I the only one?

build log

Chip: (probably fake) NodeMCU ESP32-S (ESP-WROOM-32 Revision 1)

Edit 1: I tried ESP-IDF 4ec2abbf23084ac060679e4136fa222a2d0ab0e8 and 4029ed1df4097f9eca8759e6e5ac0b72135b089d - still got the same problem

Edit 2: I tried all micropython-esp32 versions down to 06168c92c821b526014afb84b0e83199a52a8424 - same issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions