As a new generation hard disk interface, Serial ATA has a higher speed, SATA1.0 is 1.5Gb/s and SATA2.0 is 3.0Gb/s. Serial ATA uses NCQ(Native Command Queued) mechanism to improve the efficience of command implementation. Also, Serial ATA has a better stability by supporting CRC check of the data and command. Now, Serial ATA bus has become the most popular hard disk bus in storage field.In addition, the information leakage event happens more and yet more. As a result, the requirement of data secutity is urgent. In the thesis, a resolution has been put forward on the basis of the SATA technology and information security requirement. The main results are as follows:Firstly, in the thesis, the SATA2.0 protocol is investigated in detail as well as the NCQ protocol. Meanwhile, the ATA Command Set are analyzed. The process of PIO and DMA command is investigated particularly.Secondly, a new hard disk encrpt-decrpt system is promoted. For customers, the system transmits the data transparently, which has been encrypted or decrypted. The system supports the primitives and high-speed data transmition of SATA2.0 protocol, allows customers reconfigurate the Key and cryptogram. The design of the SATA2.0 physical layer is introduced emphatically, which is based on the Rocket GTP.Finally, a test method for high speed and mass data transmitting system is used. The method locates the wrong point by using the Xilinx ChipScope tool, which can set the capture conditions conveniently. The data captured is transferred to testcase, which is used in the simulation tool. At last the fault is corrected. The method is used in the system and it is effective.The feasibility of the design has been validated on the Xilinx XC5VLX50T FPGA. So it worth for industrial application. |