The following code crashes the whole board
import network, pyb
wlan = network.WINC(network.WINC.MODE_AP)
pyb.delay(1000)
wlan.start_ap("OpenMV")
when this is run, the board reboots
The line “Running in Access Point mode…” does show up in the terminal, the call to start_ap seems to crash it
I can run the code in serial terminal and it does the exact same thing
Adding delays don’t help
also, setting the soft-ap parameters in the on-board settings file seems to make the board not able to connect via serial port. good thing it was easy to delete the settings file off the board, otherwise the board is kinda… I don’t wanna say bricked…
Version info
MicroPython v1.12-omv OpenMV v3.6.7 2020-07-20; OPENMV4P-STM32H743
WINC firmware is Firmware version: (19, 6, 1, 19, 3, 0, 1377184)
Demo code for scanning WiFi still works
EDIT: Oh and it’s important that it did work once. So maybe I need to clear the DHCP table?
EDIT: running FW update on the WiFi module did not help, still crashing