@phaedrux I have the exact same problem on a Mini 5+ Wifi. I bought the board approx. 4 weeks ago from a German dealer. It was shipped with Firmware 3.3 and runs DWC 3.3.0.
This now happened the third time within 3 days of testing. The first two times i wasn't familiar enough to understand what was going on. But after some trying and having the first movements on the machine i finally figured out what happened.
Setup of my machine:
12V power supply
only 4 stepper motors connected (X, Y and two Z motors), no hotend, not thermistors, no fans, no endstops etc.
My machine was running smooth. Got sensorless homing on X and Y working, homing on Z manually. Did a lot of testing on accelleration and speed. Created some very simple Macros for this (go to Z min, go to Z max, go to X and Y min, go to X and Y max) and played with them. All went without any problems. While everything was up and running i wanted to look into my config.g (which was shown in DWC) but got the error that no config.g is present. In this state i was still able to run any of my macros and the machine did the movement properly. After switching off power i was not able to re-connect. I connected it via serial tools and M552 reported "WiFi module is disabled". I have observed the exact same thing on the other two occasions.
I enabled the Wifi module but was not able to connect. Once i stored SSID and password again (M587) i was of course able to connect. But now there is no more config.g. Before all this there was a config.bak but this is not there anymore.
Interestingly my homex.g is still the original one i created. It seems as if only the config.g is affected.
What to do next?
Regards,
Dieter