Problem with Esp32 Development board from Adafruit

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
cartere
Posts: 25
Joined: Sat Feb 04, 2017 9:26 pm

Problem with Esp32 Development board from Adafruit

Post by cartere » Tue May 23, 2017 6:02 pm

I have tried installing the latest ESP32 builds on this Adafruit board and all is good until I try to import network.
I (1446) cpu_start: Starting scheduler on PRO CPU.
OSError: [Errno 2] ENOENT
MicroPython v1.8.7-786-g51642d7e on 2017-05-22; ESP32 module with ESP32
Type "help()" for more information.
>>> import network
I (87671) wifi: wifi firmware version: 6c86a1c
I (87671) wifi: config NVS flash: enabled
I (87671) wifi: config nano formating: disabled
I (87671) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (87681) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (87701) wifi: Init dynamic tx buffer num: 32
I (87701) wifi: Init dynamic rx buffer num: 64
I (87701) wifi: wifi driver task: 3ffd7e64, prio:23, stack:4096
I (87701) wifi: Init static rx buffer num: 10
I (87711) wifi: Init dynamic rx buffer num: 0
I (87711) wifi: Init rx ampdu len mblock:7
I (87721) wifi: Init lldesc rx ampdu entry mblock:4
I (87721) wifi: wifi power manager task: 0x3ffde974 prio: 21 stack: 2560
I (87731) wifi: wifi timer task: 3ffdfa04, prio:22, stack:3584
W (87731) phy_init: failed to load RF calibration data (0x1102), falling back to full calibration
After this the serial connection from putty drops. Any thoughts?

cartere
Posts: 25
Joined: Sat Feb 04, 2017 9:26 pm

Re: Problem with Esp32 Development board from Adafruit

Post by cartere » Tue May 23, 2017 10:45 pm

Answering my own question, the problem turned out to be the USB cable.

User avatar
mcauser
Posts: 507
Joined: Mon Jun 15, 2015 8:03 am

Re: Problem with Esp32 Development board from Adafruit

Post by mcauser » Fri May 26, 2017 5:24 am

Have you tried turning it off and o...

Thanatos
Posts: 5
Joined: Wed Dec 02, 2020 6:21 pm

Re: Problem with Esp32 Development board from Adafruit

Post by Thanatos » Mon Dec 21, 2020 4:31 pm

For me, it was the usb cable as well. Even though everything worked, even BLE sending and receiving, the WIFI wouldn't work.

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

FAQ alert

Post by pythoncoder » Tue Dec 22, 2020 5:57 pm

This should be a FAQ somewhere. If an ESPx works, but crashes when you fire up the WiFi, it's voltage drop on the USB cable. The solution is a short cable with big power conductors.
Peter Hinch
Index to my micropython libraries.

Erik
Posts: 3
Joined: Thu Dec 17, 2020 8:15 pm
Location: switzerland

Re: Problem with Esp32 Development board from Adafruit

Post by Erik » Tue Dec 22, 2020 6:59 pm

Here is a Docker image for ESP32 esp-open-skd https://github.com/T-vK/docker-esp-sdk/tree/esp32
Including a good documentation how-to

Post Reply