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):
- get into download mode and then
esptool.py --port /dev/tty.usbmodem01 erase_flash
- reinstall boot loader according to this
- reinstall the current CPY for ESP32
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):
esptool.py --port /dev/tty.usbmodem01 erase_flash