Update: It seems I am getting the crashes only when I have my pysense/wipy connected via USB. I have around 12-15 units running in various setups; those running standalone (battery connection only) seem to do fine, those with USB fail regularly.
@robert-hh I dont think so. Because i can connect to the wifiAP when it is safe boot.
But not now, after this "fix". In both safe boot and normal.
I put the pycom.wifi_on_boot(False) into my main.py. And so far running fine.
I'm getting a very similar issue, at least for me it appears to be an issue with multi-threaded code. I've tried writing my code both with and without threading and I only have this issue on the threaded version.
I'll try to put together an MCVE if I have time so that hopefully this can get fixed.