# US 10,503,683 B2 · Service redirect over USB Type-C

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,503,683 B2
- Document ID: US10503683B2
- Status: Granted
- Kind: B2
- Application number: 14/948,177
- Filed: 2015-11-20
- Published: 2017-05-25
- Granted: 2019-12-10
- Earliest claimed: 2015-11-20
- Assignees: Parade Technologies, Ltd.
- Applicants: Parade Technologies, Ltd.
- Inventors: Jian Chen; Ming Qu; Baoquan Xu; Hongquan Wang
- Web page: https://patentgrep.com/patent/US10503683B2

## CPC

- G06F 13/4282: {on a serial bus, e.g. I2C bus, SPI bus (on daisy chain buses G06F13/4247)}
- G06F 13/20: for access to input/output bus
- G06F 13/4068: {Electrical coupling}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A service redirect operation mode allows a tester device to perform software burn-in, firmware upgrade, and other related device interrogation via a USB Type-C connection. The service redirect operation mode is implemented by modifying a termination state of the configuration channel pins of the USB Type-C receptacle of the device under test. Software and/or hardware executing on the device under test re-configure the resistive arrangement of the configuration channel pins, causing one pin to be connected to a reference voltage via a pull-up resistor and the other pin to be connected to ground via a pull-down resistor. When operating in the service redirect operating mode, two additional signal lines of the USB Type-C receptacles may be used to exchange information between the tester and the device under test using a user-specified interface protocol.

## Claims

### Claim 1

A method, comprising:
at a device, wherein the device is configured to be tested by a tester, and the device includes a universal serial bus (USB) receptacle having a first configuration channel pin, a second configuration channel pin, and one or more signal pins:
determining whether a first resistor coupled to the first configuration channel pin is coupled to ground or a reference voltage;
determining whether a second resistor coupled to the second configuration channel pin is coupled to ground or the reference voltage;
in accordance with a determination that both the first resistor and the second resistor are coupled to ground, decoupling a first terminal of the second resistor from ground and coupling the first terminal of the second resistor to the reference voltage, thereby establishing a hybrid termination configuration in which the first and second configuration channel pins are coupled to separate ones of ground and the reference voltage via a respective resistor;
in accordance with a determination that both the first resistor and the second resistor are coupled to the reference voltage, decoupling the first terminal of the second resistor from the reference voltage and coupling the first terminal of the second resistor to ground, thereby establishing the hybrid termination configuration for the first and second configuration pins;
determining whether a USB cable is attached to the USB receptacle to connect the device to the tester and checking attachment of the USB cable continuously or periodically;
in accordance with a determination that the USB cable is attached to the USB receptacle to connect the device to the tester and a determination that the hybrid termination configuration is enabled for the first and second configuration pins, establishing a communication channel between the device and the tester via the one or more signal pins of the USB receptacle and enabling a service redirect mode that allows the tester to interact with the device; and
in accordance with a determination of a cable detach of the USB cable, exiting by the device the service redirect mode, thereby disabling the device from interacting with the tester.

### Claim 2 (depends on 1)

The method of claim 1, wherein the USB cable provides a USB communication link
including one or more signal lines, and the one or more additional pins of the USB receptacle are coupled to the one or more signal lines of the USB communication link, and wherein the one or more signal lines of the USB communication link include side-band use signal lines.

### Claim 3 (depends on 2)

The method of claim 2, wherein the one or more additional signal lines are configured to transmit signals according to a user-specified serial interface protocol.

### Claim 4 (depends on 3)

The method of claim 3, wherein the user-specified serial interface protocol includes Inter-Integrate Circuit protocol.

### Claim 5 (depends on 3)

The method of claim 3, wherein the user specified serial interface protocol includes Serial Wire Debug protocol.

### Claim 6 (depends on 2)

The method of claim 2, wherein the one or more additional signal lines include a clock signal and an input/output data signal.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
in accordance with the service redirect mode, receiving debug commands via one or more signal lines of the communication channel coupled to the one or more signal pins.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
in accordance with the service redirect mode, performing an upgrade of firmware stored on the device.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
in accordance with the service redirect mode, receiving from the tester one or more commands formatted according to a predetermined interface protocol;
translating the one or more commands into a serial-peripheral interface format; and
storing the one or more commands in a memory.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
exiting by the device the service redirect mode after a predetermined length of time, thereby disabling the device from interacting with the tester.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
in accordance with an instruction from a software program executed on the device, exiting by the device the service redirect mode, thereby disabling the device from interacting with the tester.

### Claim 12

A method, comprising:
at a device, wherein the device is configured to be tested by a tester, and the device includes a universal serial bus (USB) receptacle having a first configuration channel pin, a second configuration channel pin, and one or more signal pins:
determining whether a first resistor coupled to the first configuration channel pin is coupled to ground or a reference voltage;
determining whether a second resistor coupled to the second configuration channel pin is coupled to ground or the reference voltage;
in accordance with a determination that both the first resistor and the second resistor are coupled to ground, decoupling a first terminal of the second resistor from ground and coupling the first terminal of the second resistor to the reference voltage, thereby establishing a hybrid termination configuration in which the first and second configuration channel pins are coupled to separate ones of ground and the reference voltage via a respective resistor;
in accordance with a determination that both the first resistor and the second resistor are coupled to the reference voltage, decoupling a first terminal of the first resistor from the reference voltage and coupling the first terminal of the first resistor to ground, thereby establishing the hybrid termination configuration for the first and second configuration pins;
determining whether a USB cable is attached to the USB receptacle to connect the device to the tester and checking attachment of the USB cable continuously or periodically;
in accordance with a determination that the USB cable is attached to the USB receptacle to connect the device to the tester and a determination that the hybrid termination configuration is enabled for the first and second configuration pins, establishing a communication channel between the device and the tester via the one or more signal pins of the USB receptacle and enabling a service redirect mode that allows the tester to interact with the device; and
in accordance with a determination of a cable detach of the USB cable, exiting by the device the service redirect mode, thereby disabling the device from interacting with the tester.

### Claim 13 (depends on 12)

The method of claim 12, wherein the USB cable provides a USB communication link including one or more signal lines, and the one or more additional pins of the USB receptacle are coupled to the one or more signal lines of the USB communication link, and wherein the one or more signal lines of the USB communication link include side-band use signal lines.

### Claim 14 (depends on 13)

The method of claim 13, wherein the one or more additional signal lines are configured to transmit signals according to a user-specified serial interface protocol.

### Claim 15 (depends on 14)

The method of claim 14, wherein the user-specified serial interface protocol includes Inter-Integrate Circuit protocol.

### Claim 16

A device, comprising:
a universal serial bus (USB) receptacle having a first configuration channel pin, a second configuration channel pin, and one or more signal pins, wherein the device is configured to be tested by a tester;
a processor; and
a non-transitory computer readable storage medium comprising instructions for:
determining whether a first resistor coupled to the first configuration channel pin is coupled to ground or a reference voltage;
determining whether a second resistor coupled to the second configuration channel pin is coupled to ground or the reference voltage;
in accordance with a determination that both the first resistor and the second resistor are coupled to ground, decoupling a first terminal of the second resistor from ground and coupling the first terminal of the second resistor to the reference voltage, thereby establishing a hybrid termination configuration in which the first and second configuration channel pins are coupled to separate ones of ground and the reference voltage via a respective resistor;
in accordance with a determination that both the first resistor and the second resistor are coupled to the reference voltage, decoupling the first terminal of the second resistor from the reference voltage and coupling the first terminal of the second resistor to ground, thereby establishing the hybrid termination configuration for the first and second configuration pins;
determining whether a USB cable is attached to the USB receptacle to connect the device to the tester and checking attachment of the USB cable continuously or periodically;
in accordance with a determination that the USB cable is attached to the USB receptacle to connect the device to the tester and a determination that the hybrid termination configuration is enabled for the first and second configuration pins, establishing a communication channel between the device and the tester via the one or more signal pins of the USB receptacle and enabling a service redirect mode that allows the tester to interact with the device; and
in accordance with a determination of a cable detach of the USB cable, exiting by the device the service redirect mode, thereby disabling the device from interacting with the tester.

### Claim 17 (depends on 16)

The device of claim 16, wherein the USB receptacle is a USB Type-C receptacle.

### Claim 18 (depends on 16)

The device of claim 16, wherein the USB cable provides a USB communication link including one or more signal lines, the one or more additional pins of the USB receptacle are coupled to the one or more signal lines of the USB communication link, and the one or more signal lines of the USB communication link include side-band use signal lines.
