Patent ID: 7882388

Claim:
A method of restoring a failed non-volatile memory (NVM) system in a wireless device having a primary NVM system and a secondary NVM system wherein the method does not require a reboot of the wireless device, the method comprising: detecting a failure in either of the NVM systems; determining which NVM system has failed wherein if the primary NVM system has failed then: switching the wireless device to operate using the secondary NVM system; restoring the primary NVM system using data from the secondary NVM system; and switching the wireless device to operate using the primary NVM system once it has been restored, otherwise, if the secondary NVM system has failed then: restoring the secondary NVM system using data from the primary NVM system, wherein restoring a failed NVM system comprises: erasing all sectors of the storage space of the failed NVM system; initializing an embedded file system of the failed NVM system; rebuilding the embedded file system of the failed NVM system; and copying data from the NVM system currently being used to operate the wireless device to the embedded file system of the failed NVM system.