WO2008082553A2 - Method and apparatus for configuring a usb phy to loopback mode - Google Patents

Method and apparatus for configuring a usb phy to loopback mode Download PDF

Info

Publication number
WO2008082553A2
WO2008082553A2 PCT/US2007/025925 US2007025925W WO2008082553A2 WO 2008082553 A2 WO2008082553 A2 WO 2008082553A2 US 2007025925 W US2007025925 W US 2007025925W WO 2008082553 A2 WO2008082553 A2 WO 2008082553A2
Authority
WO
WIPO (PCT)
Prior art keywords
usb phy
asic
test data
loopback
data
Prior art date
Application number
PCT/US2007/025925
Other languages
French (fr)
Other versions
WO2008082553A3 (en
Inventor
Nair Radhakrishnan
Original Assignee
Sandisk Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US11/618,849 external-priority patent/US20080159157A1/en
Priority claimed from US11/618,852 external-priority patent/US20080163012A1/en
Application filed by Sandisk Corporation filed Critical Sandisk Corporation
Publication of WO2008082553A2 publication Critical patent/WO2008082553A2/en
Publication of WO2008082553A3 publication Critical patent/WO2008082553A3/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults

Definitions

  • the present disclosure is related to the field of serial interfaces.
  • a method and apparatus are disclosed for configuring a USB physical layer interface to loopback mode without operational mode control signals supplied by an external tester.
  • Memory devices such as thumb drives process data in parallel for storage and in series for input and/or output to a host or other external device.
  • the memory devices typically have an application specific integrated circuit (ASIC) having a universal serial bus physical layer interface (USB PHY) to convert the data between serial and parallel formats and to extract and interpret high speed signals.
  • ASIC application specific integrated circuit
  • USB PHY universal serial bus physical layer interface
  • An ASIC tester is typically used to test the ASIC, including the USB PHY, when it is produced.
  • the ASIC tester has a number of features, including the capability to configure the control inputs of the USB PHY to a loopback mode, so that parallel data is serialized and then converted back to parallel by the USB PHY. The input parallel data is then compared to the output parallel data and test results are generated.
  • the USB PHY is tested for extended periods of time (up to 1000 hours) while environmental parameters are changed and the operation of the USB PHY is observed. For performing reliability tests, a low cost test is preferred over a full ASIC test. A low cost test can be realized by having fewer required external test functions.
  • a control bit sequence is written to storage elements in an application specific integrated circuit (ASIC) for initiating loopback mode in a universal serial bus physical layer interface (USB PHY) in the ASIC.
  • the control bit sequence is communicated to control inputs of the USB PHY.
  • Programmable and/or selectable test data may also be communicated to the USB PHY.
  • the number of loopback operations performed by the USB PHY may be tallied. Also, the number of matches between test data and return data may be tallied.
  • an ASIC has a USB PHY, a loopback control engine in communication with control inputs of the USB PHY, and a processor to set the status of programmable storage elements in the loopback control engine.
  • the processor initiates the loopback mode of the USB PHY by sending the appropriate control signal sequence to the loopback control engine.
  • the loopback control engine preferably has a programmable register having storage elements for receiving the control signal sequence.
  • the processor is configured to enable the generation of hardware generated or programmable test data
  • the ASIC has a multiplexer configured to communicate the test data to the USB PHY.
  • a first memory may be integrated in the ASIC to receive test data that is also communicated to the USB PHY.
  • a second memory may be integrated in the ASIC to receive serialized - de-serialized test data returned by the USB PHY.
  • the ASIC may include a first counter to tally a number of loopback operations executed by the USB PHY.
  • a second counter may tally a number of matches between the data in the first memory and the data in the second memory at the completion of each loopback operation.
  • FIG. 1 is a block diagram of an ASIC having a processor and a USB PHY that can be configured to loopback mode by the processor.
  • FIG. 2 is a block diagram of an ASIC having the components of FIG. 1 and additional components for use in testing the USB PHY and for supporting data flow between a memory storage element and a USB PHY.
  • FIG. 3 shows an engine auxiliary block having a preferred set of storage locations in programmable registers in communication with the USB PHY and processor of FIG. 2.
  • FIG. 4 is a diagram showing preferred components in the ASIC of FIG. 2 for use to test the USB PHY.
  • FIG. 5 shows a version of acts to configure a USB PHY to loopback mode.
  • FIG. 1 shows an ASIC 100 having a processor 102, a loopback control engine 104, and a USB PHY 106.
  • the loopback control engine 104 has storage elements, for example 108, in communication with control inputs (not shown) of the USB PHY 106. The status of the control inputs (not shown) determines whether the USB PHY 106 is configured to operate in loopback mode.
  • the loopback control engine 104 allows the processor 102 to configure the USB PHY 106 to operate in loopback mode.
  • the loopback control engine 104 has a set of registers that are programmable by the processor 102.
  • a USB PHY from Chipidea (Portugal) or other PHY IP supplier may be implemented in the ASIC.
  • the processor 102 may download and execute a set of instructions for configuring the USB PHY 106 to operate in loopback mode.
  • the instructions may include a write sequence, for example, to the loopback control engine 104 to provide the control signal sequence required by the USB PHY 106 for loopback mode operation.
  • the processor 102 may also download instructions for executing a reliability (or other) test, and may erase the instructions upon completion of the test.
  • FIG. 2 is a block diagram of an ASIC 200 that implements the components of FIG. 1 and that may comprise a part of a USB peripheral device such as a Flash memory thumb drive.
  • the USB peripheral device may be configured to connect with a host device (not shown) via a USB communication line 208.
  • the host device may be the USB port of any device having USB capability, such as a personal computer or other microprocessor-based device such as a cell phone or MP3 player.
  • the USB communication line 208 may be a direct USB connection of the USB peripheral device to the host device via a standard USB connector or may include intervening USB functions.
  • the ASIC 200 preferably includes an interface module 212 for connecting to non- volatile memory, such as a Flash memory.
  • the ASIC 200 includes an engine auxiliary block 204 having a loopback control engine 300, shown in FIG. 3.
  • the loopback control engine 300 controls programmable registers 324 that have storage locations that are connected to control inputs of the USB PHY 206 through connectors 322.
  • the programmable registers 324 are a firmware USB PHY loopback enable register 302 and a firmware USB PHY loopback control register 304.
  • the firmware USB PHY loopback enable register 302 has an enable (en) storage location 306 to hold the setting that determines whether the control inputs of the
  • USB PHY 206 may be controlled by the firmware USB PHY loopback control register
  • the enable (en) storage location 306 setting either enables or disables firmware control of the USB PHY loopback mode.
  • the firmware USB PHY loopback enable register 302 has an output enable
  • (oe) storage location 308 to hold the setting that controls whether the USB PHY 206 outputs loopback test return data to an ASIC output pin.
  • the firmware USB PHY loopback control register 304 has an initiate (in) storage location 310 to hold the setting that initiates loopback mode.
  • the initiate (in) storage location 310 is a bit that is set only after the other USB
  • PHY loopback control register 304 storage locations have been set for the desired operational mode, such as loopback mode.
  • An operational mode (mode) storage location 314 holds the code that sets the operational mode, such as loopback mode, of the USB PHY 206.
  • a latch (lat) storage location 312 is set to latch the test mode value in the operational mode (mode) storage location 314.
  • a reset (re) storage location 316 is set to immediately take the USB PHY
  • a clock control (cl) storage location 320 controls the clock produced by the USB PHY 206.
  • the engine auxiliary block 204 may also include test components 400 for use in testing the USB PHY 206 in loopback mode.
  • the test components 400 may include a test logic circuit 414 in communication with the processor
  • the test logic circuit 414 outputs test data upon receipt of an enable signal from the processor 202.
  • the test data may be obtained from a hardware data circuit (hardware test data) or, alternatively, from test data registers that are programmable by the processor 202 (programmed test data).
  • the test logic circuit 414 may include the hardware data circuit (not shown) and the test data registers (not shown).
  • the test data used for each loopback test may be received by the USB PHY 206 by way of a multiplexer 214 (FIG. 2) in communication with the test data registers.
  • the multiplexer 214 is controlled by the engine auxiliary block 204 that selects between the normal function data from the USB media access control circuit (USB MAC) 210 and the test data so as to provide test data in a sequence to the USB PHY 206 when loopback testing is enabled.
  • the test data sequence may be programmable by the processor 202 or may be hardware controlled.
  • the engine auxiliary block 204 monitors and controls the test sequence.
  • the test data that is communicated to the USB PHY 206 by the test logic circuit 414 is also held in a test data storage element 402 in the engine auxiliary block 204.
  • the USB PHY 206 serializes and de-serializes the test data and outputs return data to a return data storage element 404 in the engine auxiliary block 204.
  • a compare circuit 410 compares the test data in the test data storage element 402 to the return data in the return data storage element 404 and provides an output signal to a test return pin 238.
  • the compare circuit 410 may output a "high" signal each time the data in the test data storage element 402 matches the data in the return data storage element 404 at the completion of a loopback operation.
  • the auxiliary block 204 may also have two counters to tally the number of times loopback has been initiated (counteri 408) and the number of matches between the test data and return data (counter 2 412).
  • the processor 202 may receive the data from counteri 408 and counter 2 412 and generate test results for use in evaluating the USB PHY 206.
  • FIG. 5 shows acts 500 for configuring a USB PHY to loopback mode and for performing a test.
  • processor executable instructions for enabling and initiating loopback operation are loaded in the processor in the ASIC.
  • the instructions preferably include write commands for writing data to a programmable register, or other storage element(s), in communication with the USB PHY.
  • the instructions may be loaded by way of a test or debug input 236, for example, or may have been previously loaded and stored in the processor's memory.
  • the instructions may include instructions for testing the USB PHY in loopback mode.
  • a control bit of the USB PHY is set to enable the processor to control the operation mode of the USB PHY.
  • the processor outputs a sequence of control signals to the programmable register in communication with the operational mode control inputs of the USB PHY.
  • test data is communicated to the USB PHY. The test data may be communicated from the processor, a register, a memory, or other source.
  • the number of loopback operations completed by the USB PHY are tallied (Act 510), and the number of successful loopback operations are tallied (Act 512).
  • a successful loopback operation corresponds to having test data match return test data.
  • the test data may be output to the processor or other device.
  • the processor may be implemented by one or more of: control logic, hardware, a microprocessor, microcontroller, application specific integrated circuit (ASIC), discrete logic, or a combination of circuits and/or logic. Any act or combination of acts may be stored as instructions in computer readable storage medium. Memories may be DRAM, SRAM, Flash or any other type of memory. Programs may be parts of a single program, separate programs, or distributed across several memories and processors.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

A method and system are disclosed for configuring a universal serial bus physical layer interface (USB PHY) to loopback mode without operational mode control signals supplied by an external tester. Loopback mode control signals are provided to the USB PHY from within the ASIC. Programmable storage elements in communication with control inputs of the USB PHY may receive the loopback mode control signals. A system includes a universal serial bus physical layer interface (USB PHY), programmable storage elements in communication with control inputs of the USB PHY, and a processor to set the programmable storage elements. The processor initiates the loopback mode of the USB PHY by sending the appropriate control signal sequence to the programmable storage elements. The processor may also enable the generation of hardware generated or programmed test data.

Description

Method and Apparatus for Configuring a USB PHY to Loopback Mode
Field of the Disclosure
[0001] The present disclosure is related to the field of serial interfaces. In particular, a method and apparatus are disclosed for configuring a USB physical layer interface to loopback mode without operational mode control signals supplied by an external tester.
Background
[0002] Memory devices such as thumb drives process data in parallel for storage and in series for input and/or output to a host or other external device. The memory devices typically have an application specific integrated circuit (ASIC) having a universal serial bus physical layer interface (USB PHY) to convert the data between serial and parallel formats and to extract and interpret high speed signals.
[0003] An ASIC tester is typically used to test the ASIC, including the USB PHY, when it is produced. The ASIC tester has a number of features, including the capability to configure the control inputs of the USB PHY to a loopback mode, so that parallel data is serialized and then converted back to parallel by the USB PHY. The input parallel data is then compared to the output parallel data and test results are generated. [0004] In reliability testing, the USB PHY is tested for extended periods of time (up to 1000 hours) while environmental parameters are changed and the operation of the USB PHY is observed. For performing reliability tests, a low cost test is preferred over a full ASIC test. A low cost test can be realized by having fewer required external test functions.
Summary
[0005] There is a presently recognized need to initiate loopback mode in a USB
PHY without the need for an external tester.
[0006] The present invention is defined by the claims and nothing in this section should be taken as a limitation on those claims.
[0007] According to an aspect of the disclosure, a control bit sequence is written to storage elements in an application specific integrated circuit (ASIC) for initiating loopback mode in a universal serial bus physical layer interface (USB PHY) in the ASIC. The control bit sequence is communicated to control inputs of the USB PHY. Programmable and/or selectable test data may also be communicated to the USB PHY. The number of loopback operations performed by the USB PHY may be tallied. Also, the number of matches between test data and return data may be tallied. [0008] According to another aspect of the disclosure, an ASIC has a USB PHY, a loopback control engine in communication with control inputs of the USB PHY, and a processor to set the status of programmable storage elements in the loopback control engine. The processor initiates the loopback mode of the USB PHY by sending the appropriate control signal sequence to the loopback control engine. The loopback control engine preferably has a programmable register having storage elements for receiving the control signal sequence.
[0009] Preferably, the processor is configured to enable the generation of hardware generated or programmable test data, and the ASIC has a multiplexer configured to communicate the test data to the USB PHY. A first memory may be integrated in the ASIC to receive test data that is also communicated to the USB PHY. A second memory may be integrated in the ASIC to receive serialized - de-serialized test data returned by the USB PHY. The ASIC may include a first counter to tally a number of loopback operations executed by the USB PHY. A second counter may tally a number of matches between the data in the first memory and the data in the second memory at the completion of each loopback operation.
[0010] The preferred embodiments will now be described with reference to the attached drawings.
Brief Description of the Drawings
[0011] FIG. 1 is a block diagram of an ASIC having a processor and a USB PHY that can be configured to loopback mode by the processor.
[0012] FIG. 2 is a block diagram of an ASIC having the components of FIG. 1 and additional components for use in testing the USB PHY and for supporting data flow between a memory storage element and a USB PHY. [0013] FIG. 3 shows an engine auxiliary block having a preferred set of storage locations in programmable registers in communication with the USB PHY and processor of FIG. 2.
[0014] FIG. 4 is a diagram showing preferred components in the ASIC of FIG. 2 for use to test the USB PHY.
[0015] FIG. 5 shows a version of acts to configure a USB PHY to loopback mode.
Detailed Description of the Presently Preferred Embodiments
[0016] FIG. 1 shows an ASIC 100 having a processor 102, a loopback control engine 104, and a USB PHY 106. The loopback control engine 104 has storage elements, for example 108, in communication with control inputs (not shown) of the USB PHY 106. The status of the control inputs (not shown) determines whether the USB PHY 106 is configured to operate in loopback mode. The loopback control engine 104 allows the processor 102 to configure the USB PHY 106 to operate in loopback mode. In one version, the loopback control engine 104 has a set of registers that are programmable by the processor 102. A USB PHY from Chipidea (Portugal) or other PHY IP supplier may be implemented in the ASIC.
[0017] The processor 102 may download and execute a set of instructions for configuring the USB PHY 106 to operate in loopback mode. The instructions may include a write sequence, for example, to the loopback control engine 104 to provide the control signal sequence required by the USB PHY 106 for loopback mode operation. The processor 102 may also download instructions for executing a reliability (or other) test, and may erase the instructions upon completion of the test.
[0018] FIG. 2 is a block diagram of an ASIC 200 that implements the components of FIG. 1 and that may comprise a part of a USB peripheral device such as a Flash memory thumb drive. The USB peripheral device may be configured to connect with a host device (not shown) via a USB communication line 208. The host device may be the USB port of any device having USB capability, such as a personal computer or other microprocessor-based device such as a cell phone or MP3 player. The USB communication line 208 may be a direct USB connection of the USB peripheral device to the host device via a standard USB connector or may include intervening USB functions. The ASIC 200 preferably includes an interface module 212 for connecting to non- volatile memory, such as a Flash memory.
[0019] The ASIC 200 includes an engine auxiliary block 204 having a loopback control engine 300, shown in FIG. 3. The loopback control engine 300 controls programmable registers 324 that have storage locations that are connected to control inputs of the USB PHY 206 through connectors 322. In a preferred version, the programmable registers 324 are a firmware USB PHY loopback enable register 302 and a firmware USB PHY loopback control register 304.
[0020] The firmware USB PHY loopback enable register 302 has an enable (en) storage location 306 to hold the setting that determines whether the control inputs of the
USB PHY 206 may be controlled by the firmware USB PHY loopback control register
304 storage locations. The enable (en) storage location 306 setting either enables or disables firmware control of the USB PHY loopback mode.
[0021] The firmware USB PHY loopback enable register 302 has an output enable
(oe) storage location 308 to hold the setting that controls whether the USB PHY 206 outputs loopback test return data to an ASIC output pin.
[0022] The firmware USB PHY loopback control register 304 has an initiate (in) storage location 310 to hold the setting that initiates loopback mode. In a preferred version, the initiate (in) storage location 310 is a bit that is set only after the other USB
PHY loopback control register 304 storage locations have been set for the desired operational mode, such as loopback mode.
[0023] An operational mode (mode) storage location 314 holds the code that sets the operational mode, such as loopback mode, of the USB PHY 206. A latch (lat) storage location 312 is set to latch the test mode value in the operational mode (mode) storage location 314. A reset (re) storage location 316 is set to immediately take the USB PHY
206 out of loopback mode. A clock control (cl) storage location 320 controls the clock produced by the USB PHY 206.
[0024] Referring to FIG. 4, the engine auxiliary block 204 may also include test components 400 for use in testing the USB PHY 206 in loopback mode. The test components 400 may include a test logic circuit 414 in communication with the processor
202. In one version, the test logic circuit 414 outputs test data upon receipt of an enable signal from the processor 202. The test data may be obtained from a hardware data circuit (hardware test data) or, alternatively, from test data registers that are programmable by the processor 202 (programmed test data). The test logic circuit 414 may include the hardware data circuit (not shown) and the test data registers (not shown). [0025] The test data used for each loopback test may be received by the USB PHY 206 by way of a multiplexer 214 (FIG. 2) in communication with the test data registers. The multiplexer 214 is controlled by the engine auxiliary block 204 that selects between the normal function data from the USB media access control circuit (USB MAC) 210 and the test data so as to provide test data in a sequence to the USB PHY 206 when loopback testing is enabled. The test data sequence may be programmable by the processor 202 or may be hardware controlled. The engine auxiliary block 204 monitors and controls the test sequence.
[0026] The test data that is communicated to the USB PHY 206 by the test logic circuit 414 is also held in a test data storage element 402 in the engine auxiliary block 204. In loopback mode, the USB PHY 206 serializes and de-serializes the test data and outputs return data to a return data storage element 404 in the engine auxiliary block 204. A compare circuit 410 compares the test data in the test data storage element 402 to the return data in the return data storage element 404 and provides an output signal to a test return pin 238. The compare circuit 410 may output a "high" signal each time the data in the test data storage element 402 matches the data in the return data storage element 404 at the completion of a loopback operation.
[0027] The auxiliary block 204 may also have two counters to tally the number of times loopback has been initiated (counteri 408) and the number of matches between the test data and return data (counter2 412). The processor 202 may receive the data from counteri 408 and counter2 412 and generate test results for use in evaluating the USB PHY 206.
[0028] FIG. 5 shows acts 500 for configuring a USB PHY to loopback mode and for performing a test. At Act 502, processor executable instructions for enabling and initiating loopback operation are loaded in the processor in the ASIC. The instructions preferably include write commands for writing data to a programmable register, or other storage element(s), in communication with the USB PHY. The instructions may be loaded by way of a test or debug input 236, for example, or may have been previously loaded and stored in the processor's memory. The instructions may include instructions for testing the USB PHY in loopback mode.
[0029] At Act 504, a control bit of the USB PHY is set to enable the processor to control the operation mode of the USB PHY. At Act 506, the processor outputs a sequence of control signals to the programmable register in communication with the operational mode control inputs of the USB PHY. At Act 508, test data is communicated to the USB PHY. The test data may be communicated from the processor, a register, a memory, or other source.
[0030] In a preferred version, the number of loopback operations completed by the USB PHY are tallied (Act 510), and the number of successful loopback operations are tallied (Act 512). A successful loopback operation corresponds to having test data match return test data. The test data may be output to the processor or other device. [0031] The following concurrently filed (December 31, 2006), commonly owned United States patent applications (referenced by United States Patent Application Serial Numbers "USSN") are incorporated by reference herein: "Method for Configuring a USB PHY to Loopback Mode" (having USSN 11/618,849 and attorney reference number SDA-1095x (10519/203)); "Apparatus for Configuring a USB PHY to Loopback Mode" (having USSN 11/618,852 and attorney reference number SDA-1095y (10519/204)); "Method for Performing Full Transfer Automation in a USB Controller" (having USSN 11/618,865 and attorney reference number SDA-1094x (10519/201)); "USB Controller with Full Transfer Automation" (having USSN 11/618,867 and attorney reference number SDA-1094y (10519/202)); "Selectively Powering Data Interfaces" (having USSN 11/649,325 and attorney reference number SDA-1076x); "Selectively Powered Data Interfaces" (having USSN 1 1/649,326 and attorney reference number SDA-1076y); "Integrated Circuit with Protected Internal Isolation" (having USSN 1 1/618,875 and attorney reference number SDA- 109Oy); "Internally Protecting Lines at Power Island Boundaries" (having USSN 11/618,874 and attorney reference number SDA-1090x); "Module with Delay Trim Value Updates on Power-Up" (having USSN 11/618,898 and attorney reference number SDA- 109 Iy); "Updating Delay Trim Values" (having USSN 11/618,897 and attorney reference number SDA-1091x); "Systems and Integrated Circuits with Inrush-Limited Power Islands" (having USSN 11/618,854 and attorney reference number SDA-1092y); and "Limiting Power Island Inrush Current" (having USSN 11/618,855 and attorney reference number SDA-1092x).
[0032] All of the discussion above, regardless of the particular implementation being described, is exemplary in nature, rather than limiting. For example, although specific components of the ASIC are described, methods, systems, and articles of manufacture consistent with the ASIC may include additional or different components. For example, the processor may be implemented by one or more of: control logic, hardware, a microprocessor, microcontroller, application specific integrated circuit (ASIC), discrete logic, or a combination of circuits and/or logic. Any act or combination of acts may be stored as instructions in computer readable storage medium. Memories may be DRAM, SRAM, Flash or any other type of memory. Programs may be parts of a single program, separate programs, or distributed across several memories and processors. [0033] While various embodiments of the invention have been described, it will be apparent to those of ordinary skill in the art that many more embodiments and implementations are possible within the scope of the invention. Accordingly, the invention is not to be restricted except in light of the attached claims and their equivalents.

Claims

What is claimed is:
1. A method comprising: configuring a universal serial bus physical layer interface (USB PHY) to operate in a loopback mode without receiving, at an application specific integrated circuit (ASIC) having the USB PHY, any externally provided operational mode control signals; and testing the USB physical layer interface.
2. The method of claim 1 comprising providing, from within the ASIC, signals to a storage element in communication with the USB PHY to enable processor control of the loopback mode.
3. The method of claim 1 comprising setting at least one bit in a storage element to initiate the loopback mode.
4. The method of claim 1 comprising testing the USB PHY using hardwired test data.
5. The method of claim 1 comprising testing the USB PHY using programmable test data.
6. The method of claim 1 comprising tallying a number of USB PHY loopback operations.
7. The method of claim 1 comprising tallying a number of matches between test data communicated to the USB PHY and return data received from the USB PHY in a loopback operation.
8. The method of claim 1 comprising latching, in the ASIC, an operational mode value for designating a test mode; and initiating loopback in the USB PHY.
9. A method comprising: writing a control bit sequence to storage elements in an application specific integrated circuit (ASIC) for initiating loopback mode in a universal serial bus physical layer interface (USB PHY) in the ASIC; and communicating the control bit sequence to the USB PHY.
10. The method of claim 9 comprising communicating selectable test data to the USB PHY.
11. The method of claim 9 comprising communicating programmable test data to the USB PHY.
12. The method of claim 9 comprising communicating test data to the USB PHY from within the ASIC and receiving return data from the USB PHY.
13. The method of clam 12 comprising tallying a number of compare operations between the test data and the return data.
14. The method of claim 12 comprising tallying a number of matches between the test data and the return data.
15. A method comprising : communicating test instructions to a processor in an application specific integrated circuit (ASIC) having a universal serial bus physical layer interface (USB PHY); and communicating data from the processor to a storage element in the ASIC for configuring the USB PHY to loopback mode.
16. The method of claim 15 comprising: providing test data to the USB PHY; receiving return data from the USB PHY; and comparing the test data to the return data.
17. The method of claim 16 comprising tallying a number of matches between the test data and the return data.
18. The method of claim 16 comprising tallying a number of USB PHY loopback operations.
19. An apparatus comprising: a universal serial bus physical layer interface (USB PHY) integrated in an application specific integrated circuit (ASIC); and a processor integrated in the ASIC and having executable instructions to configure the USB PHY to function in a loopback mode.
20. The apparatus of claim 19 comprising a storage element in communication with the processor and the USB PHY to enable processor control of the loopback mode.
21. The apparatus of claim 20 wherein the storage element is included in a loopback control engine.
22. The apparatus of claim 19 comprising a storage element in communication with the USB PHY to enable the processor to initiate the loopback mode.
23. The apparatus of claim 19 comprising a multiplexer integrated in the ASIC to communicate selectable test data to the USB PHY.
24. The apparatus of claim 23 comprising a test logic circuit to provide the selectable test data to a test data storage element integrated in the ASIC.
25. The apparatus of claim 19 comprising programmable test data registers in communication with the processor to communicate test data to the USB PHY.
26. The apparatus of claim 19 comprising a first memory integrated in the ASIC to receive test data to communicate to the USB PHY and a second memory to receive return data from the USB PHY.
27. The apparatus of claim 26 comprising a counter integrated in the ASIC to tally a number of matches between the data in the first memory and the data in the second memory at the completion of each of a plurality of loopback operations.
28. The apparatus of clam 19 comprising a counter integrated in the ASIC to tally a number of loopback operations executed by the USB PHY.
29. An apparatus comprising: a storage element in an application specific integrated circuit (ASIC) to receive control signals to initiate loopback mode in a universal serial bus physical layer interface (USB PHY); and a processor integrated in the ASIC and having executable instructions to communicate the control signals to the storage element.
30. The apparatus of claim 29 comprising a loopback control engine having the storage element.
31. The apparatus of claim 29 comprising a multiplexer integrated in the ASIC to communicate selectable test data to the USB PHY.
32. The apparatus of claim 31 comprising a test logic circuit to provide the selectable test data to a test data storage element integrated in the ASIC.
33. The apparatus of claim 29 comprising programmable test data registers in communication with the processor to communicate programmable test data to the USB PHY.
34. The apparatus of claim 29 comprising a first memory integrated in the ASIC to receive test data to communicate to the USB PHY and a second memory to receive return data from the USB PHY.
35. The apparatus of claim 34 comprising a counter integrated in the ASIC to tally a number of matches between the data in the first memory and the data in the second memory at the completion of each of a plurality of loopback operations.
36. The apparatus of clam 29 comprising a counter integrated in the ASIC to tally a number of a number of loopback operations executed by the USB PHY.
37. An apparatus comprising: a universal serial bus physical layer interface (USB PHY) in an application specific integrated circuit (ASIC); and means for configuring the USB PHY into loopback mode without receiving signals from outside the ASIC.
PCT/US2007/025925 2006-12-31 2007-12-17 Method and apparatus for configuring a usb phy to loopback mode WO2008082553A2 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US11/618,849 US20080159157A1 (en) 2006-12-31 2006-12-31 Method for Configuring a USB PHY to Loopback Mode
US11/618,849 2006-12-31
US11/618,852 US20080163012A1 (en) 2006-12-31 2006-12-31 Apparatus for Configuring a USB PHY to Loopback Mode
US11/618,852 2006-12-31

Publications (2)

Publication Number Publication Date
WO2008082553A2 true WO2008082553A2 (en) 2008-07-10
WO2008082553A3 WO2008082553A3 (en) 2008-09-12

Family

ID=39472740

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2007/025925 WO2008082553A2 (en) 2006-12-31 2007-12-17 Method and apparatus for configuring a usb phy to loopback mode

Country Status (2)

Country Link
TW (1) TW200837556A (en)
WO (1) WO2008082553A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2293194A1 (en) * 2009-09-04 2011-03-09 ST-Ericsson (Grenoble) SAS Method and apparatus for testing an USB OTG hardware interface

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004095297A2 (en) * 2003-03-25 2004-11-04 Intel Corporation A high performance serial bus testing methodology
US20040268193A1 (en) * 2003-01-30 2004-12-30 Seiko Epson Corporation Test circuit, integrated circuit, and test method
US20060018265A1 (en) * 2004-07-23 2006-01-26 Tim Frodsham Method, system, and apparatus for loopback parameter exchange

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040268193A1 (en) * 2003-01-30 2004-12-30 Seiko Epson Corporation Test circuit, integrated circuit, and test method
WO2004095297A2 (en) * 2003-03-25 2004-11-04 Intel Corporation A high performance serial bus testing methodology
US20060018265A1 (en) * 2004-07-23 2006-01-26 Tim Frodsham Method, system, and apparatus for loopback parameter exchange

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
NEJEDLO J J ED - INSTITUTE OF ELECTRICAL AND ELECTRONICS ENGINEERS: "IBIST<TM> (Interconnect built in self-test) architecture and methodology for PCI express" PROCEEDINGS INTERNATIONAL TEST CONFERENCE 2003. ( ITC ). CHARLOTTE, NC, SEPT. 30 - OCT. 2, 2003; [INTERNATIONAL TEST CONFERENCE], NEW YORK, NY : IEEE, US, vol. 2, 30 September 2003 (2003-09-30), pages 114-122, XP010685400 ISBN: 978-0-7803-8106-3 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2293194A1 (en) * 2009-09-04 2011-03-09 ST-Ericsson (Grenoble) SAS Method and apparatus for testing an USB OTG hardware interface
WO2011026851A1 (en) * 2009-09-04 2011-03-10 St-Ericsson (Grenoble) Sas Method and apparatus for testing an usb otg hardware interface

Also Published As

Publication number Publication date
WO2008082553A3 (en) 2008-09-12
TW200837556A (en) 2008-09-16

Similar Documents

Publication Publication Date Title
US8656220B2 (en) System-on-chip and debugging method thereof
US6760865B2 (en) Multiple level built-in self-test controller and method therefor
JP3693721B2 (en) Microcomputer with built-in flash memory and test method thereof
US20080163012A1 (en) Apparatus for Configuring a USB PHY to Loopback Mode
EP0464433A2 (en) Microcontroller device having remotely programmable EPROM &amp; method of programming
US20080288708A1 (en) Multiple virtual usb devices with virtual hub implemented using one usb device controller
US20080159157A1 (en) Method for Configuring a USB PHY to Loopback Mode
WO2002093584A1 (en) Bist circuit with stored test results
US9092322B2 (en) Processor system and control method thereof
TWI783590B (en) Chip verification system and verification method thereof
US20040039967A1 (en) Embedded controller for real-time backup of operation states of peripheral devices
US20030182495A1 (en) Memory device having automatic protocol detection
US8015448B2 (en) System and method for conducting BIST operations
WO2022237551A1 (en) Secure boot device and method
CN113901754B (en) FPGA-based Ethernet MACIP board-level verification structure and method
US7721016B2 (en) Method for using host controller to solicit a command failure from target device in order to initiate re-enumeration of the target device
US9158609B2 (en) Universal serial bus testing device
US20020174394A1 (en) External control of algorithm execution in a built-in self-test circuit and method therefor
CN109117299A (en) The error detecting device and its debugging method of server
WO2008082553A2 (en) Method and apparatus for configuring a usb phy to loopback mode
CN105825898B (en) Dynamic memory testing device and testing method thereof
US6785174B2 (en) Testing method and device for non-volatile memories having a LPC (low pin count) communication serial interface
CN107729271B (en) Double-bus E-FLASH control circuit with self-test function
US7289925B2 (en) Systems and methods for assessing timing of PCI signals
Li et al. A SPI FLASH-based FPGA dynamic reconfiguration method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07867834

Country of ref document: EP

Kind code of ref document: A2

NENP Non-entry into the national phase in:

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07867834

Country of ref document: EP

Kind code of ref document: A2