Patent ID: 8108691

Claim:
A method of operating a memory card, comprising: performing steps in a host when it is coupled to a memory card, wherein the memory card includes a memory die with test ports and a security system and is operative in testing, operating, failure analysis and disabled states, the security system including: a cryptographic engine and a cryptographic key, where in the testing state the test ports are available for hardware testing, and software test routines are available that enable operation of the cryptographic engine and testing of software of the memory card, where in the operating state the test ports are unavailable, the software test routines are unavailable, and the memory card is configured for operation as a secure memory card, and wherein the disabled state is irreversible in which the cryptographic engine is disabled and the memory card operates as a non-secure memory card, the steps comprising: testing the memory card software while the memory card is in the testing state; transmitting a command to the memory card for causing the memory card to irreversibly switch from the testing state to the operating state; and upon detecting a failure of the memory card, causing the memory card to operate in the failure analysis state that enables failure testing of the software and hardware of the memory card, prevents the memory card from ever again decrypting previously stored information on the memory card or entering a secure operating state, and configures the memory card such that the memory card can only be transitioned to the disabled state.