STORAGE DEVICE
A storage device controls transmission of test data and reception of the test data according to a protocol set for test mode upon receiving, for example, a test instruction, when a reception interface and a transmission interface are electrically connected together through a cable. The storage device verifies whether the test data transmitted from any one of a controller, a buffer, and a storage medium matches the test data received by any one of them.
1 . A storage device comprising:
a transmission controller that controls, in response to a test instruction to operate in test mode for testing whether data is correctly transmitted and received when a signal is output from a transmission interface and input to a reception interface, transmission of test data set for the test mode according to a protocol set for the test mode, the transmission interface for data transmission and the reception interface for data reception that, when electrically connected to the transmission interface, receives the signal from the transmission interface being interfaces connected to an external device;
a reception controller that controls, in response to the test instruction, reception of the test data transmitted under control of the transmission controller according to the protocol set for the test mode; and
a verifying unit that verifies whether the test data transmitted under control of the transmission controller matches the test data received under control of the reception controller.
2 . The storage device according to claim 1 , further comprising:
a controller that includes the transmission interface and the reception interface;
a buffer; and
a storage medium, wherein
the transmission controller controls transmission of the test data stored in the controller, and
the reception controller performs control such that the test data is received by the controller.
3 . The storage device according to claim 1 , further comprising:
a controller that includes the transmission interface and the reception interface;
a buffer; and
a storage medium, wherein
the transmission controller controls transmission of the test data stored in the controller, and
the reception controller performs control such that the test data is received by the buffer.
4 . The storage device according to claim 1 , further comprising:
a controller that includes the transmission interface and the reception interface;
a buffer; and
a storage medium, wherein
the transmission controller controls transmission of the test data stored in the controller, and
the reception controller performs control such that the test data is received by the storage medium.
5 . The storage device according to claim 1 , further comprising:
a controller that includes the transmission interface and the reception interface;
a buffer; and
a storage medium, wherein
the transmission controller controls transmission of the test data stored in the buffer, and
the reception controller performs control such that the test data is received by the buffer.
6 . The storage device according to claim 1 , further comprising:
a controller that includes the transmission interface and the reception interface;
a buffer; and
a storage medium, wherein
the transmission controller controls transmission of the test data stored in the buffer, and
the reception controller performs control such that the test data is received by the controller.
7 . The storage device according to claim 1 , further comprising:
a controller that includes the transmission interface and the reception interface;
a buffer; and
a storage medium, wherein
the transmission controller controls transmission of the test data stored in the buffer, and
the reception controller performs control such that the test data is received by the storage medium.
8 . The storage device according to claim 1 , further comprising:
a controller that includes the transmission interface and the reception interface;
a buffer; and
a storage medium, wherein
the transmission controller controls transmission of the test data stored in the storage medium, and the reception controller performs control such that the test data is received by the storage medium.
9 . The storage device according to claim 1 , further comprising:
a controller that includes the transmission interface and the reception interface;
a buffer; and
a storage medium, wherein
the transmission controller controls transmission of the test data stored in the storage medium, and the reception controller performs control such that the test data is received by the buffer.
10 . The storage device according to claim 1 , further comprising:
a controller that includes the transmission interface and the reception interface;
a buffer; and
a storage medium, wherein
the transmission controller controls transmission of the test data stored in the storage medium, and
the reception controller performs control such that the test data is received by the controller.