Patent ID: 7137037

Claim:
A method for testing a data storage system, said data storage system comprising a buffer area, firmware and a storage area, said method comprising: (a) selecting at least one product testing item through an application program; (b) commanding said firmware to execute a starting process through said application program in order to transfer said data storage system from general working mode to testing mode, wherein said process (b) comprises: (b1) writing a starting command data sequence to said buffer area through said application program; (b2) commanding said firmware to read and execute said starting command data sequence and setting said data storage system status as “busy”; (b3) commanding said firmware to record a status data sequence corresponding to an executing result of said starting command data sequence to said buffer area and setting said data storage system status as “ready”; (b4) reading said status data sequence through said application program to judge whether said data storage system has successfully entered said testing mode; and (b5) determining whether said data storage system has entered said testing mode, if so, continuing to step (c), and if not, returning back to step (a); (c) commanding said firmware to execute a testing process corresponding to said selected product testing item through said application program, said executed testing process generating a testing result; and (d) commanding said firmware to execute an ending process through said application program in order to return said data storage system to general working mode.