Patent ID: 8543839

Claim:
An electronic device, comprising: a memory driver unit configured to read partition headers having encrypted version numbers from a memory and configured to write an updated encrypted version numbers to the memory; an update agent unit configured to control a software or firmware update of the electronic device; a one-time programmable memory configured to store a first value; and an encrypt-decrypt unit configured to decrypt the partition headers stored in the memory based on the first value stored in the one-time programmable memory, the encrypt-decrypt unit configured to retrieve version numbers from the partition headers; wherein the update agent unit is configured to compare the retrieved version numbers with version numbers from a software or firmware update to determine whether the version numbers of the software or firmware update are larger than the retrieved version numbers, wherein the first value is incremented and stored in the one-time programmable memory if an update is performed; wherein the encrypt-decrypt unit is configured to encrypt the version numbers of the software or firmware update based on the new first value; and wherein the memory driver unit is configured to write new partition headers with updated encrypted version numbers into the memory.