Emulation of a disconnect of a device

Multiplex communications – Network configuration determination – In a bus system

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C370S438000

Reexamination Certificate

active

06791950

ABSTRACT:

BACKGROUND OF THE INVENTION
The invention relates to emulation of a disconnect of a device (node) in a plug-and-play communication system.
The Universal Serial Bus (USB) is a host-centric plug-and-play bus. The logical USB bus connects USB devices with the USB host, using a physical tiered star topology. The system has one host with a hub at the center of each star. Hubs convert a single attachment point (port) into multiple attachment points. The upstream port of a hub connects the hub towards the host. Each of the downstream ports of a hub allows connection to another hub or a function. Hubs can detect attach and detach at each downstream port. Each wire segment is a point-to-point connection between the host and a hub or function, or a hub connected to another hub or function. A function is a USB device that is able to transmit or receive data or control information over the bus and as such provides capabilities to the system. Examples of functions include locator devices, such as a mouse, tablet, or light pen, input devices, such as a keyboard or a scanner, output devices, such as a printer or digital speakers, and a telephony adapter. Each function contains configuration information that describes its capabilities and resource requirements. Before a function can be used, the host must configure it. This configuration includes allocating USB bandwidth and selecting function-specific configuration options.
The USB transfers signals over two wires indicated by D+ and D− on each point-to-point segment. The USB core specification 1.0, 1.1 defines a Low-Speed and a Full-Speed mode, operating at a respective bitrate of 1.5 Mb/s and 12 Mb/s. In order to provide guaranteed input voltage levels and proper termination impedance, biased terminations are used at each end of the cable. The terminations also permit the detection of attach and detach at each port and differentiate between full-speed and low-speed devices by the position of the pull-up resistor on the downstream end of the cable:
Full-speed (FS) devices are terminated with the pull-up resistor on the D+ line;
Low-speed (LS) devices are terminated with the pull-up resistor on the D− line.
USB devices may attach to and detach from the USB at any time. Consequently, system software must accommodate dynamic changes in the physical bus topology. Bus enumeration is the activity that identifies and assigns unique addresses to devices attached to a bus. Bus enumeration also includes the detection and processing of removals. Hubs have status indicators that indicate the attachment or removal of a USB device on one of its ports. The host queries the hub to retrieve these indicators in the case of an attachment, the host enables the port and addresses the USB device through the device's control pipe at the default address. The host assigns a unique USB address to the device and then determines if the newly attached USB device is a hub or a function. If the attached USB device is a hub and USB devices are attached to its ports, then the above procedure is followed for each of the attached USB devices. If the attached USB device is a function, then attachment notifications will be handled by host software that is appropriate for the function.
The signaling of a connect and disconnect of a function, is as follows. When no function is attached to the downstream port of the host or hub, the pull-down resistors present there will cause both D+ and D− to be pulled below the single-ended low threshold of the host or hub port when that port is not being driven by the hub. The detection of a new connect or a disconnect is done by checking the D+ and D− state for both FS and LS device. When there is no connect, the receiver of the hub's downstream-facing port sees single-ended zero SE
0
(i.e. D+=D−<threshold, i.e. logic 0). When an FS device is connected, the receiver sees a transition of D+ from logic 0 to logic 1, while D− remains at logic 0. The corresponding idle state of the bus is D+=1 and D−=0. In a similar way, when a LS device is connected, the receiver sees a transition of D− from logic 0 to logic 1, while D+ remains at logic 0. The corresponding idle state of the bus is D−=1 and D+=0. In case of a disconnect, the receiver of the hub's downstream-facing port (where the device was connected) sees a bus state transition from (D+,D−)=(1,0) for an FS device and (D+,D−)=(0,1) for an LS device to (D+,D−)=(0,0) for both an HS and LS device. A disconnect condition (TDDIS) is indicated if the host or hub is not driving the data lines and an SE
0
persists on a downstream port for more than 2.5 s. A connect condition (TDCNN) will be detected when the hub detects that one of the data lines is pulled above its VIH threshold for more than 2.5 s.
As described above, the host initiates the enumeration process. The USB specifications do not define a way by which a device can request the host to reset and re-enumerate the device. However in some applications this re-enumeration is needed, for example due to the change of the functionality of the device. The most straightforward way to achieve this re-enumeration is by first disconnecting the device, and then connecting it back again to the hub's downstream-facing port. However, for some applications, it is desired or even needed to be able to emulate this disconnect-then-connect-again process through device's firmware control, instead of through manual intervention. The emulation can be done by electronically switching the pull-up resistor that is attached to the D+ line (for a FS device) or D− line (for a LS device) first off (i.e. disabling the termination), followed by switching it on.
The USB 2.0 specification defines a High-Speed (HS) device operating at around 480 Mb/s. The HS device is in addition to the low-speed and full-speed devices. For a HS device, the termination for normal operation is changed from single data line pull-up to a parallel termination. When a HS device is connected to a hub's downstream-facing port, the device always has its D+ pull-up resistor on, just as an FS device, and the detection of a new connect is done in the same way as for a FS device. The hub will reset this new device, and the device will switch to parallel termination after having gone through a predefined ‘chirping’ process during the reset period. In normal HS operation, the parallel termination is used, and the corresponding idle state is SE
0
. There is thus no distinction between the idle state and the disconnect state, both being at SE
0
. The following mechanism is defined for HS device disconnect detection: if the device is disconnected, then a constant signal transmitted by the hub's transmitter to the device will be reflected back, and the hub's receiver will see a differential signal amplitude exceeding the maximum allowable data signal level after a delay of a round-trip time of the cable. This excess signal level is used to reliably detect disconnect.
SUMMARY OF THE INVENTION
It is an object of the invention to emulate a disconnect of the device at the same downstream-facing port, where the emulation can be performed in a firmware controlled way, without manual intervention.
To meet the object of the invention, the plug-and-play communication system, includes a device connected via a wire segment to a further device/hub; the system supporting communication in at least a first speed mode (FS) and a second, higher speed mode (HS); the device including for each respective one of the speed modes a respective first and second means of terminating the wire segment; the device being operative to emulate disconnecting the device, while operating in the second speed mode, by activating the first means of terminating the wire segment. By activating the first means of termination, possibly in addition to the existing second means of termination, the termination

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Emulation of a disconnect of a device does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Emulation of a disconnect of a device, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Emulation of a disconnect of a device will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3259561

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.