Skip to content

FeatherS2 ESP32S2 wifi.radio.stop_scanning_networks() before scan hangs device #3663

@pvanallen

Description

@pvanallen

On the FeatherS2, if code.py has wifi.radio.stop_scanning_networks() with no scan first, it causes the device to hang, stops showing up as CIRCUITPY, and there is no way to get the REPL. This is with MacOS and CircuitPython 6.0.0-rc.1. The board was purchased from Adafruit Nov 6, 2020.

See attached code:

code-crash.py.zip

Restoring the S2 requires the following (must have esptool.py 3.0+ for this to work):

  1. get into download mode and then esptool.py --port /dev/tty.usbmodem01 erase_flash
  2. reinstall boot loader according to this
  3. reinstall the current CPY for ESP32

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions