Memory system, electric device, and information processing device
A memory system includes a memory and a command generator. The memory is connected to a host including a main memory and a processor connected to the main memory. The command generator generates an initialization command and transmits the initialization command to the host. The initialization command represents a command for instructing the initialization of the main memory and indicating an initialization method for the main memory.
1. A memory system comprising:
an interface connected to a host including a main memory and a processor to control the main memory; and
a control circuit that generates an initialization command among a plurality of initialization commands and transmits the generated initialization command to the host, the initialization command representing a command for instructing the host to execute initialization of the main memory and indicating an initialization method among a plurality of initialization methods for the main memory, the initialization method corresponding to a pattern of initialization data,
wherein the initialization command generated by the control circuit indicates the initialization method using initialization data including a value obtained by any one of incrementing a predetermined initial pattern, adding a predetermined addition value to a predetermined initial pattern, shifting a value in a predetermined initial pattern, or performing an operation on a predetermined initial pattern by a predetermined algorithm.
2. The memory system according to claim 1 ,
wherein the control circuit receives a response indicating a success or failure of the initialization from the host and interprets the success or failure of the initialization.
3. The memory system according to claim 1 ,
wherein the control circuit generates an initialization command indicating the initialization method using initialization data in which a constant is repeated.
4. The memory system according to claim 1 ,
wherein the control circuit generates an initialization command indicating the initialization method using initialization data in which a predetermined initial pattern is repeated.
5. The memory system according to claim 1 ,
wherein the control circuit generates an initialization command indicating the initialization method using initialization data including a value obtained by repeating a plurality of predetermined repetitive patterns.
6. An electric device comprising:
a main memory; and
a control circuit that receives an initialization command among a plurality of initialization commands from a memory system, interprets the received initialization command, the initialization command representing a command for instructing the host to execute initialization of the main memory and indicating an initialization method among a plurality of initialization methods for the main memory, the initialization method corresponding to a pattern of initialization data, and initializes the main memory by a pattern among a plurality of patterns, indicated by the interpreted initialization command,
the electric device further comprising
an initialization data generator that generates initialization data including a value obtained by any one of incrementing a predetermined initial pattern, adding a predetermined addition value to a predetermined initial pattern, shifting a value in a predetermined initial pattern, or performing an operation on a predetermined initial pattern by a predetermined algorithm, according to the initialization method interpreted by the control circuit.
7. The electric device according to claim 6 ,
wherein the control circuit generates a response indicating a success or failure of the initialization according to the result of the initialization and transmits the generated response.
8. The electric device according to claim 6 :
wherein the initialization data generator generates initialization data in which a constant is repeated, according to the initialization method interpreted by the control circuit.
9. The electric device according to claim 6 :
wherein the initialization data generator generates initialization data in which a predetermined initial pattern is repeated, according to the initialization method interpreted by the control circuit.
10. The electric device according to claim 6 :
wherein the initialization data generator generates initialization data including a value obtained by repeating a plurality of predetermined repetitive patterns, according to the initialization method interpreted by the control circuit.
11. An information processing device comprising:
a memory system including
an interface connected to an electric device, and
a first control circuit that generates an initialization command among a plurality of initialization commands and transmits the generated initialization command to the electric device, the initialization command representing a command instructing the electric device to execute initialization of the main memory and indicating an initialization method among a plurality of initialization methods for the main memory, the initialization method corresponding to a pattern of initialization data, and
the electric device including
a main memory, and
a second control circuit that interprets a received initialization command indicating the initialization method, and initializes the main memory by a pattern among a plurality of patterns indicated by the interpreted initialization command,
wherein the initialization command generated by the first control circuit indicates the initialization method using initialization data including a value obtained by any one of incrementing a predetermined initial pattern, adding a predetermined addition value to a predetermined initial pattern, shifting a value in a predetermined initial pattern, or performing an operation on a predetermined initial pattern by a predetermined algorithm.