There seems to be a bug in the recovery mechanism:
After an application has been stopped by the “Recovery Mechanism” due to crashing repeatedly, AT+WOPEN=7 (show application’s current state) replies +WOPEN: 7,0 - which means, “application is not started (current mode is AT+WOPEN=0)”
This makes sense.
But, in this state, AT+WOPEN=3 (erase Flash Objects) replies +CME ERROR: 532 - which means, “the embedded application is activated so the objects flash (sic) are not erased”
This does not make sense!
Similarly, in this state, AT+WOPEN=4 (erase application) replies +CME ERROR: 3 - which means, “Operation not allowed”
This also does not make sense - and is, presumably, related to the same issue?