Patent ID: 11960632
Assignee: MICRON TECHNOLOGY, INC.
Field: Digital communication (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 14:
15. A system, comprising:
a host;
a memory; and
circuitry configured to:
detect when the host is idle in response to a particular period of time passing without receiving a command from the host or receive a command to power off the memory;
generate a run-time cryptographic hash by reading data stored in a portion of the memory and using a hash function to hash the data in response to detecting the host is idle or receiving the command to power off the memory, wherein the portion of the memory is inaccessible to a user of the memory;
compare the run-time cryptographic hash with a golden cryptographic hash in response to generating the run-time cryptographic hash;
increment a power off counter in response to the run-time cryptographic hash and the golden cryptographic hash being equal;
power off the memory;
power on the memory subsequent to powering off the memory;
increment a power on counter in response to powering on the memory;
determine, in response to incrementing the power on counter, if the power on counter is equal to the power off counter; and
provide an error flag stored in the portion of the memory that is inaccessible to a user of the memory in response to determining the power on counter and the power off counter are not equal.