Patent ID: 9710193
Date: 2017-07-18
CPC Classifications: G06F

Claim:
1. A method of detecting a rewritable non-volatile memory module by a memory control circuit unit through a memory interface, the method comprising: (a) by the memory control circuit unit, setting an output voltage of a write protect pin of a control bus of the memory interface as a first logic level for the rewritable non-volatile memory module, giving a read status command through the control bus to the rewritable non-volatile memory module, and receiving a first status message through a data bus of the memory interface from the rewritable non-volatile memory module in response to the read status command, wherein the control bus and the data bus are buses independent from each other; (b) by the memory control circuit unit, determining whether a bit data representing a logic status of the write protect pin in the first status message conforms to a status corresponding to the first logic level; (c) by the memory control circuit unit, setting an output voltage of the write protect pin of the control bus as a second logic level, giving the read status command through the control bus, and receiving a second status message through the data bus; (d) by the memory control circuit unit, determining whether the bit data representing the logic status of the write protect pin in the second status message conforms to a status corresponding to the second logic level; and (e) if the bit data representing the logic status of the write protect pin in the first status message conforms to the status corresponding to the first logic level and the bit data representing the logic status of the write protect pin in the second status message conforms to the status corresponding to the second logic level, identifying that the rewritable non-volatile memory module has physically connected to the memory interface by the memory control circuit unit.