METHOD AND SYSTEM FOR CAPTURING DATA TO CREATE SERIAL ATA EYE DIAGRAM
The present invention provides a method for capturing data suitable for creating a Serial ATA eye diagram. A Serial ATA host controller including a first and a second Serial ATA ports is powered up, where receive lines of the first Serial ATA port are short-circuited to receive lines of the second Serial ATA port, and the first Serial ATA port is communicatively coupled to a Serial ATA drive. An initialization pattern from the Serial ATA drive is received by the first and the second Serial ATA ports. An ALIGN/SYNC pattern is transmitted over transmit lines of the second Serial ATA port. Data transmitted over the transmit lines of the second Serial ATA port is captured using a high impedance differential probe and an oscilloscope. The captured data may be used to create a Serial ATA eye diagram for the second Serial ATA port on the oscilloscope.
This invention relates generally to the field of Serial ATA, and particularly to a method and system for capturing data to create a Serial ATA eye diagram.
BACKGROUND OF THE INVENTIONSerial ATA (Advanced Technology Attachment) is an evolutionary replacement for the Parallel ATA physical storage interface. Serial ATA is a computer bus primarily designed for transfer of data between a computer processor and hard disk and has at least three advantages over Parallel ATA, namely speed, cable management, and Serial ATA's ability of being hot swappable.
To determine the performance of a Serial ATA host controller, the first type of analysis an engineer often performs is to look at an eye diagram. The eye diagram test is used to check the signal quality of a serial stream of data and to check whether the signal transmission meets the specifications for the Serial ATA host controller. During an eye diagram test, data sent through the Serial ATA host controller is captured over a period of time and displayed in a bit over bit fashion on the screen of an oscilloscope. Standard test masks are defined on the screen and typically have an “eye” in the center in addition to regions at the top and bottom which test for overshoot/undershoot. A signal which intrudes into the mask violates the standard.
An eye diagram test conventionally requires a pattern generator which may be very expensive. Thus, it would be desirable to provide a method and system for capturing data to create a Serial ATA eye diagram without using a pattern generator.
SUMMARY OF THE INVENTIONAccordingly, the present invention is directed to a method and system for capturing data to create a Serial ATA eye diagram without using a pattern generator. In a first aspect of the present invention, a method for capturing data to create a Serial ATA eye diagram includes the following steps: (a) powering up a Serial ATA host controller including a first Serial ATA port and a second Serial ATA port, receive lines of the first Serial ATA port being short-circuited to receive lines of the second Serial ATA port, the first Serial ATA port being communicatively coupled to a Serial ATA drive; (b) receiving, by the first Serial ATA port and the second Serial ATA port, an initialization pattern from the Serial ATA drive; (c) transmitting an ALIGN/SYNC pattern over transmit lines of the second Serial ATA port; and (d) capturing data transmitted over the transmit lines of the second Serial ATA port using a high impedance differential probe and an oscilloscope, the transmit lines of the second Serial ATA port being connected to each other via a resistor of 100 ohm for specified termination, and the high impedance differential probe being communicatively coupled to the oscilloscope. The captured data may be used to create a Serial ATA eye diagram for the second Serial ATA port on the oscilloscope.
In an additional aspect of the present invention, a system for capturing data to create a Serial ATA eye diagram includes the following: (a) means for powering up a Serial ATA host controller including a first Serial ATA port and a second Serial ATA port, receive lines of the first Serial ATA port being short-circuited to receive lines of the second Serial ATA port, the first Serial ATA port being communicatively coupled to a Serial ATA drive; (b) means for receiving, by the first Serial ATA port and the second Serial ATA port, an initialization pattern from the Serial ATA drive; (c) means for transmitting an ALIGN/SYNC pattern over transmit lines of the second Serial ATA port; and (d) a high impedance differential probe and an oscilloscope for capturing data transmitted over the transmit lines of the second Serial ATA port, the transmit lines of the second Serial ATA port being connected to each other via a resistor, and the high impedance differential probe being communicatively coupled to the oscilloscope, wherein the captured data is used to create a Serial ATA eye diagram for the second Serial ATA port on the oscilloscope.
In another aspect of the present invention, a system for capturing data to create a Serial ATA eye diagram includes the following: (a) a Serial ATA host controller including a first Serial ATA port and a second Serial ATA port, receive lines of the first Serial ATA port being short-circuited to receive lines of the second Serial ATA port; (b) a Serial ATA drive, communicatively coupled to the first Serial ATA port, for transmitting an initialization pattern to the first Serial ATA port and the second Serial ATA port when the Serial ATA host controller is powered up; (c) a resistor for connecting transmit lines of the second Serial ATA port; and (d) a high impedance differential probe and an oscilloscope for capturing data transmitted over the transmit lines of the second Serial ATA port, the high impedance differential probe being communicatively coupled to the oscilloscope and the transmit lines of the second Serial ATA port, wherein the captured data is used to create a Serial ATA eye diagram for the second Serial ATA port on the oscilloscope.
In a further aspect of the present invention, a test board for testing a Serial ATA port includes the following: (a) a Serial ATA receptacle for being communicatively coupled to a first Serial ATA port of a Serial ATA host controller, transmit lines of the Serial ATA receptacle being connected to each other via a resistor; (b) a first Serial ATA plug for being communicatively coupled to a second Serial ATA port of the Serial ATA host controller, receive lines of the first Serial ATA plug being communicatively coupled to receive lines of the Serial ATA receptacle; (c) a second Serial ATA plug for being communicatively coupled to a Serial ATA drive, receive lines of the second Serial ATA plug being communicatively coupled to the receive lines of the first Serial ATA plug, and transmit lines of the second Serial ATA plug being communicatively coupled to transmit lines of the first Serial ATA plug, wherein a high impedance differential probe and an oscilloscope capture data transmitted over the transmit lines of Serial ATA receptacle to create a Serial ATA eye diagram for the first Serial ATA port on the oscilloscope when the Serial ATA host controller is powered up, the high impedance differential probe being communicatively coupled to the oscilloscope and the transmit lines of the Serial ATA receptacle.
In still a further aspect of the present invention, a system for testing a Serial ATA port of a Serial ATA host controller includes the following: (a) a Serial ATA drive; (b) a Serial ATA receptacle for being communicatively coupled to a first Serial ATA port of a Serial ATA host controller, transmit lines of the Serial ATA receptacle being connected to each other via a resistor; (c) a first Serial ATA plug for being communicatively coupled to a second Serial ATA port of the Serial ATA host controller, receive lines of the first Serial ATA plug being communicatively coupled to receive lines of the Serial ATA receptacle; (d) a second Serial ATA plug communicatively coupled to the Serial ATA drive, receive lines of the second Serial ATA plug being communicatively coupled to the receive lines of the first Serial ATA plug, and transmit lines of the second Serial ATA plug being communicatively coupled to transmit lines of the first Serial ATA plug; and (e) an oscilloscope communicatively coupled to the transmit lines of the Serial ATA receptacle via a high impedance differential probe, wherein the high impedance differential probe and the oscilloscope capture data transmitted over the transmit lines of Serial ATA receptacle for creating a Serial ATA eye diagram for the first Serial ATA port on the oscilloscope when the Serial ATA host controller is powered up.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention as claimed. The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate an embodiment of the invention and together with the general description, serve to explain the principles of the invention.
BRIEF DESCRIPTION OF THE DRAWINGSThe numerous advantages of the present invention may be better understood by those skilled in the art by reference to the accompanying figures in which:
Reference will now be made in detail to the presently preferred embodiments of the invention, examples of which are illustrated in the accompanying drawings.
Serial ATA is a hard disk control architecture in which data is sent to the drive in a serial fashion. The simplest data pattern that can be used for eye diagram analysis is ALIGN/SYNC data pattern which is sent over the medium when the Serial ATA host controller is connected to a Serial ATA device (e.g., a Serial ATA drive, or the like) and idle. However, since the Serial ATA host controller is connected to both the Serial ATA drive and the oscilloscope, data used for eye diagram cannot be taken from a data line while the data line is connected to the Serial ATA drive. Otherwise, the quality of the data may deteriorate.
One way to transmit the ALIGN/SYNC pattern by a Serial ATA host controller is to use a pattern generator.
Referring now to
Those of ordinary skill in the art will understand that the present invention may be used to generate eye diagrams for other devices without departing from the scope and spirit of the present invention.
It is understood that the specific order or hierarchy of steps in the processes disclosed is an example of exemplary approaches. Based upon design preferences, it is understood that the specific order or hierarchy of steps in the processes may be rearranged while remaining within the scope of the present invention. The accompanying method claims present elements of the various steps in a sample order, and are not meant to be limited to the specific order or hierarchy presented.
It is believed that the present invention and many of its attendant advantages will be understood by the foregoing description. It is also believed that it will be apparent that various changes may be made in the form, construction and arrangement of the components thereof without departing from the scope and spirit of the invention or without sacrificing all of its material advantages. The form herein before described being merely an explanatory embodiment thereof, it is the intention of the following claims to encompass and include such changes.
Claims
1. A method for capturing data suitable for creating a Serial ATA eye diagram, comprising:
- powering up a Serial ATA host controller including a first Serial ATA port and a second Serial ATA port, receive lines of said first Serial ATA port being short-circuited to receive lines of said second Serial ATA port, said first Serial ATA port being communicatively coupled to a Serial ATA drive;
- receiving, by said first Serial ATA port and said second Serial ATA port, an initialization pattern from said Serial ATA drive;
- transmitting an ALIGN/SYNC pattern over transmit lines of said second Serial ATA port; and
- capturing data transmitted over said transmit lines of said second Serial ATA port using a high impedance differential probe and an oscilloscope, said transmit lines of said second Serial ATA port being connected to each other via a resistor, and said oscilloscope being communicatively coupled to said high impedance differential probe.
2. The method of claim 1, wherein said first Serial ATA port is communicatively coupled to said Serial ATA drive via a differential Serial ATA cable.
3. The method of claim 1, wherein said receive lines of said first Serial ATA port are short-circuited to said receive lines of said second Serial ATA port via a 100 Ohm differential Serial ATA cable.
4. The method of claim 1, wherein said resistor is a 100 Ohm termination resistor.
5. The method of claim 1, further comprising creating a Serial ATA eye diagram for said second Serial ATA port on said oscilloscope using said captured data.
6. A system for capturing data to create a Serial ATA eye diagram, comprising:
- means for powering up a Serial ATA host controller including a first Serial ATA port and a second Serial ATA port, receive lines of said first Serial ATA port being short-circuited to receive lines of said second Serial ATA port, said first Serial ATA port being communicatively coupled to a Serial ATA drive;
- means for receiving, by said first Serial ATA port and said second Serial ATA port, an initialization pattern from said Serial ATA drive;
- means for transmitting an ALIGN/SYNC pattern over transmit lines of said second Serial ATA port; and
- a high impedance differential probe and an oscilloscope for capturing data transmitted over said transmit lines of said second Serial ATA port, said transmit lines of said second Serial ATA port being connected to each other via a resistor, and said oscilloscope being communicatively coupled to said high impedance differential probe,
- wherein said captured data is used to create a Serial ATA eye diagram for said second Serial ATA port on said oscilloscope.
7. The system of claim 6, wherein said first Serial ATA port is communicatively coupled to said Serial ATA drive via a differential Serial ATA cable.
8. The system of claim 6, wherein said receive lines of said first Serial ATA port are short-circuited to said receive lines of said second Serial ATA port via a 100 Ohm differential Serial ATA cable.
9. The system of claim 6, wherein said resistor is a 100 Ohm termination resistor.
10. A system for capturing data to create a Serial ATA eye diagram, comprising:
- a Serial ATA host controller including a first Serial ATA port and a second Serial ATA port, receive lines of said first Serial ATA port being short-circuited to receive lines of said second Serial ATA port;
- a Serial ATA drive, communicatively coupled to said first Serial ATA port, for transmitting an initialization pattern to said first Serial ATA port and said second Serial ATA port when said Serial ATA host controller is powered up;
- a resistor for connecting transmit lines of said second Serial ATA port; and
- a high impedance differential probe and an oscilloscope for capturing data transmitted over said transmit lines of said second Serial ATA port, said high impedance differential probe being communicatively coupled to said transmit lines of said second Serial ATA port, and said oscilloscope being communicatively coupled to said high impedance differential probe,
- wherein said captured data is used to create a Serial ATA eye diagram for said second Serial ATA port on said oscilloscope.
11. The system of claim 10, wherein said first Serial ATA port is communicatively coupled to said Serial ATA drive via a differential Serial ATA cable.
12. The system of claim 10, wherein said receive lines of said first Serial ATA port are short-circuited to said receive lines of said second Serial ATA port via a 100 Ohm differential Serial ATA cable.
13. The system of claim 10, wherein said resistor is a 100 Ohm termination resistor.
14. A test board for testing a Serial ATA port, comprising:
- a Serial ATA receptacle for being communicatively coupled to a first Serial ATA port of a Serial ATA host controller, transmit lines of said Serial ATA receptacle being connected to each other via a resistor;
- a first Serial ATA plug for being communicatively coupled to a second Serial ATA port of said Serial ATA host controller, receive lines of said first Serial ATA plug being communicatively coupled to receive lines of said Serial ATA receptacle; and
- a second Serial ATA plug for being communicatively coupled to a Serial ATA drive, receive lines of said second Serial ATA plug being communicatively coupled to said receive lines of said first Serial ATA plug, and transmit lines of said second Serial ATA plug being communicatively coupled to transmit lines of said first Serial ATA plug,
- wherein a high impedance differential probe and an oscilloscope capture data transmitted over said transmit lines of Serial ATA receptacle to create a Serial ATA eye diagram for said first Serial ATA port on said oscilloscope when said Serial ATA host controller is powered up, said high impedance differential probe being communicatively coupled to said oscilloscope and said transmit lines of said Serial ATA receptacle.
15. The test board of claim 14, wherein said first Serial ATA plug is communicatively coupled to said second Serial ATA port of said Serial ATA host controller via a differential Serial ATA cable.
16. The test board of claim 14, wherein said second Serial ATA plug is communicatively coupled to said Serial ATA drive via a differential Serial ATA cable.
17. The test board of claim 14, wherein said resistor is a 100 ohm resistor.
18. The test board of claim 14, wherein said receive lines of said first Serial ATA plug are communicatively coupled to said receive lines of said Serial ATA receptacle via 100 Ohm differential traces on said test board.
19. The test board of claim 14, wherein said receive lines of said second Serial ATA plug are communicatively coupled to said receive lines of said first Serial ATA plug via 100 Ohm differential traces on said test board.
20. The test board of claim 14, wherein said transmit lines of said second Serial ATA plug are communicatively coupled to said transmit lines of said first Serial ATA plug via 100 Ohm differential traces on said test board.
21. A system for testing a Serial ATA port of a Serial ATA host controller, comprising:
- a Serial ATA drive;
- a Serial ATA receptacle for being communicatively coupled to a first Serial ATA port of a Serial ATA host controller, transmit lines of said Serial ATA receptacle being connected to each other via a resistor;
- a first Serial ATA plug for being communicatively coupled to a second Serial ATA port of said Serial ATA host controller, receive lines of said first Serial ATA plug being communicatively coupled to receive lines of said Serial ATA receptacle;
- a second Serial ATA plug communicatively coupled to said Serial ATA drive, receive lines of said second Serial ATA plug being communicatively coupled to said receive lines of said first Serial ATA plug, and transmit lines of said second Serial ATA plug being communicatively coupled to transmit lines of said first Serial ATA plug; and
- an oscilloscope communicatively coupled to said transmit lines of said Serial ATA receptacle via a high impedance differential probe,
- wherein said high impedance differential probe and said oscilloscope capture data transmitted over said transmit lines of Serial ATA receptacle for creating a Serial ATA eye diagram for said first Serial ATA port on said oscilloscope when said Serial ATA host controller is powered up.
Type: Application
Filed: May 13, 2004
Publication Date: Nov 17, 2005
Inventor: Moby Abraham (Duluth, GA)
Application Number: 10/844,686