Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberUS20040148446 A1
Publication typeApplication
Application numberUS 10/759,580
Publication dateJul 29, 2004
Filing dateJan 16, 2004
Priority dateJan 3, 2000
Also published asUS6697884, US7194613, WO2001050219A2, WO2001050219A8
Publication number10759580, 759580, US 2004/0148446 A1, US 2004/148446 A1, US 20040148446 A1, US 20040148446A1, US 2004148446 A1, US 2004148446A1, US-A1-20040148446, US-A1-2004148446, US2004/0148446A1, US2004/148446A1, US20040148446 A1, US20040148446A1, US2004148446 A1, US2004148446A1
InventorsJude Katsch
Original AssigneeKatsch Jude J.
Export CitationBiBTeX, EndNote, RefMan
External Links: USPTO, USPTO Assignment, Espacenet
Communication protocol for serial peripheral devices
US 20040148446 A1
Abstract
A computing system comprising a host device which includes a serial communication bus and a processor for controlling communication over the serial communication bus. The computing system further comprises one or more peripheral devices connected to the communication bus. Communication between the host device and the peripheral devices is facilitated by a communication protocol, which includes a procedure for discovering whether the configuration of peripheral devices connected to the communication bus has changed. The discovery procedure starts by the host device sending a first command to all peripheral devices connected to the serial communication bus to determine if the configuration of any of the peripheral devices has changed. If a new peripheral device has been added to the communication bus, the host sends a focus command to a first comm bus port on the communication bus to focus that particular port. The host then sends a command to the first Comm bus port to determine if a valid peripheral device is connected to that port. If a valid peripheral device is connected to the first comm bus port, the host obtains device configuration information from the first valid peripheral device. If the first valid peripheral device does not include a device ID from the host, the host assigns a device ID to the first Valid peripheral device. In addition, the host will set-up driver software for the first valid peripheral device, if necessary. This procedure is repeated until all devices on the communication bus have been checked, and initialized, if necessary.
Images(5)
Previous page
Next page
Claims(10)
What is claimed is:
1. A method of initializing devices connected to a communication bus by a host, comprising:
(a) determining which devices, if any, are branded devices and which devices, if any, are unbranded devices by the host;
if there are no branded devices,
(b) sending a first focus command by the host to a first one of the devices connected to the communication bus as a focused device;
(c) in response to a probe command sent by the host to the focused device, returning configuration information by the focused device; and
(d) branding the focused device by the host based upon the confirmation information.
2. A method as recited in claim 1, further comprising;
(e) sending a blur command by the host to the branded device;
(f) converting the blur command to second focus command by the branded device;
(g) passing the second focus command to a second one of the devices connected to the communication bus as the focused device by the first branded device;
(h) in response to a second probe command sent by the host to the focused device, returning configuration information by the focused device; and
(i) branding the focused device by the host based upon the configuration information.
3. A method as recited in claim 2, further comprising;
(j) repeating (e)-(i) for the remainder of the devices connected to the communication bus.
4. A method as recited in claim 1, wherein the branding comprises;
setting a branded flag; and
assigning a brand ID.
5. A method as recited in claim 1, further comprising:
setting up a driver software corresponding to the branded device.
6. Computer program product for initializing devices connected to a communication bus by a host, comprising:
computer code for determining which devices, if any, are branded devices and which devices, if any, are unbranded devices by the host;
computer code for sending a first focus command by the host to a first one of the devices connected to the communication bus as a focused device if there are no branded devices;
computer code for in response to a probe command sent by the host to the focused device, returning configuration information by the focused device;
computer code for branding the focused device by the host based upon the confirmation information; and
computer readable medium for storing the computer code.
7. Computer program product as recited in claim 6, further comprising;
computer code for sending a blur command by the host to the branded device;
computer code for converting the blur command to second focus command by the branded device;
computer code for passing the second focus command to a second one of the devices connected to the communication bus as the focused device by the first branded device;
computer code for returning configuration information by the focused device in response to a second probe command sent by the host to the focused device; and
computer code for branding the focused device by the host based upon the configuration information.
8. Computer program product as recited in claim 6, wherein the computer code for branding comprises;
computer code for setting a branded flag; and
computer code for assigning a brand ID.
9. Computer program product as recited in claim 1, further comprising:
computer code for asetting up a driver software corresponding to the branded device.
10. Any of a number of devices connected to a communication bus are initialized by a host that sends a focus command to a first one of the unbranded devices which responds by returning configuration back to host which, in turn, brands the responding device based upon the returned configuration information, wherein, once the device is branded, the host computer brands a second one of the unbranded devices by sending a blur command to the branded device which converts the blur command to a second focus command which is passed by the branded device to the second one of the unbranded devices which responds by returning configuration information to the host which, in turn, responds by branding the second device based upon the configuration information.
Description
CROSS-REFERENCES TO RELATED APPLICATIONS

[0001] This application is a continuation of U.S. application Ser. No. 09/476,268 filed Jan. 3, 2000 entitled “Communication Protocol for Serial Peripheral Devices” which is hereby incorporated by reference.

BACKGROUND OF THE INVENTION

[0002] The present invention relates generally to a computing system having a novel serial communication bus, and more particularly to a novel communication protocol for communicating with peripheral devices connected to the serial communication bus.

[0003] Hot pluggable peripheral device communication buses are well known in the art. For example, universal serial bus (USB) is an external bus standard that supports data transfer rates of up to 12 megabits per second. A single USB port can be used to connect up to 127 peripheral devices, such as mice, modems, keyboards, and the like.

[0004] Another external bus standard is IEEE 1394, also commonly referred to as Firewire, I-link and/or Lynx. IEEE 1394 is a very fast external bus standard that supports data transfer rates of up to 400 megabits per second. A single IEEE 1394 port can be used to connect up to 63 external devices.

[0005] Both IEEE 1394 and USB support plug and play and hot plugging installations, and also provide power to the connected peripheral devices.

[0006] When using these external device communication buses, it is important to be able to determine which devices are connected to the bus, what the device capabilities are, and what the physical configuration of the peripheral devices are; especially when daisy chaining devices together and hot plugging devices onto the bus on the fly.

[0007] For example, if new devices are added to the communication bus, either directly or through another peripheral device with connection ports, the host device will need to determine where the devices are located, what the devices are, and what the topology of the connections are (i.e., the connection path to the devices). In addition, the host may need to initialize the devices, for example calibrating a joy stick, or down loading software drivers, before the devices can be used.

[0008] Also, during normal operation, it is important that the host be able to efficiently read status information from the devices, such as keystrokes, button presses, joystick positions, mouse movements, and the like. This status information should be read frequently, commonly between 50 and 100 times per second, so it is important that these functions do not require much host processing overhead. Finally, it is important that the host be able to detect device configuration changes (e.g., the removal of a device or a device error) simply, as the host will pole for changes at regular intervals.

[0009] The problem with USB and IEEE 1394 is that they require complex communication protocols to handle bus arbitration functionality and other complex communication tasks. In many instances, these complex protocols are not necessary and it is desirable to have a more simplified communication bus and protocol. Thus, what is needed is a simple, yet robust serial communication bus and associated communication protocol for connecting serial peripheral devices.

SUMMARY OF THE INVENTION

[0010] According to the invention, a computing system comprising a host device which includes a serial communication bus and a processor for controlling communication over the serial communication bus. The computing system further comprises one or more peripheral devices connected to the communication bus. Communication between the host device and the peripheral devices is facilitated by a communication protocol, which includes a procedure for discovering whether the configuration of peripheral devices connected to the communication bus has changed. The discovery procedure starts by the host device sending a first command to all peripheral devices connected to the serial communication bus to determine if the configuration of any of the peripheral devices has changed. Configuration changes may include a new device being added to the bus, a device being removed from the bus, a device being moved to a different port on or a different connection to the bus, an error with a device, or any other suitable configuration change.

[0011] If a new peripheral device has been added to the communication bus, the host sends a focus command to a first comm bus port on the communication bus to focus that particular port. The host then sends a command to the first comm bus port to determine if a valid, focused peripheral device is connected to that port. If a valid peripheral device is connected to the first comm bus port, the host obtains device configuration information from the first valid peripheral device. If the first valid peripheral device does not include a device ID from the host, the host assigns a device ID to the first valid peripheral device. In addition, the host will set-up driver software for the first valid peripheral device, if necessary.

[0012] After the first valid peripheral device is initialized, the host tags the first valid peripheral device, sends a blur command to it, and selects a first device port on the first valid peripheral device. The blur command is converted to a focus command at the first valid peripheral device and then sent to the selected first device port on the first valid peripheral device. The blur command also is sent to all other devices on the comm bus port, but the devices that are not tagged merely pass the command through as a blur command, which requires no processing or response. The focus command focuses any device connected to the first device port. The host then sends a command to the first device port to determine if a valid, focused device is connected to that port. If a second valid peripheral device is connected to the first device port, the host obtains device configuration information from the second valid peripheral device. As with the first valid peripheral device, if the second valid peripheral device does not have an ID from the host, the host will assign it an ID. Also, the host will load driver software for the second valid peripheral device, if necessary.

[0013] If there is no second valid peripheral device connected to the first device port of the first valid peripheral device, the host determines if there is a second device port on the first valid peripheral device. If there is a second device port, the host sends a blur command to the first valid peripheral device and selects the second device port thereon. The blur command is converted to a focus command at the first valid peripheral device and then sent to the selected second device port on the first valid peripheral device. The focus command focuses any device connected to the second device port. The host then sends a command to the second device port to determine if a valid device is connected to that port. If a second valid peripheral device is connected to the second device port, the host obtains device configuration information from the second valid peripheral device. As discussed above, if the second valid peripheral device does not have an ID from the host, the host will assign it an ID. Also, the host will load driver software for the second valid peripheral device, if necessary.

[0014] If there is no second device port on the first valid peripheral device and there is a second comm bus port on the communication bus, the host sends a focus command to the second comm bus port on the communication bus, which focuses any device connected to the second comm bus port. The host then sends a command to determine if a valid, focused peripheral device is connected to the second comm bus port. If there is a valid peripheral device connected to the second comm bus port, the host will initialize the device in the same manner as discussed above. The procedure is then continued until every device on every port has been checked and initialized, if necessary.

[0015] A more complete understanding of the present invention may be derived by referring to the detailed description of preferred embodiments and claims when considered in connection with the figures, wherein like reference numbers refer to similar items throughout the figures.

BRIEF DESCRIPTION OF THE DRAWINGS

[0016]FIG. 1 is a block diagram of a system utilizing a communication bus and protocol in accordance with the present invention;

[0017]FIG. 2 is a diagram of a communication data packet used by the communication bus;

[0018]FIG. 3 is a diagram illustrating the different communication data packets that may be used; and

[0019]FIG. 4 is a flow chart illustrating a process for initializing and/or changing the configuration of devices on the communication bus.

DESCRIPTION OF THE SPECIFIC EMBODIMENTS

[0020] The present invention relates generally to a computing system having a novel serial communication bus, and more particularly to a novel communication protocol for communicating with peripheral devices connected to the serial communication bus.

[0021] Referring now to FIG. 1, a computing system 10 in accordance with one embodiment of the present invention is shown. Computing system 10 comprises a host computing device 12 including a communication bus 14, and a plurality of devices 20-34 connected to communication bus 14. Preferably, the devices are connected to communication bus 14 via one or more comm bus ports on communication bus 14. In the particular example illustrated in FIG. 1, communication bus 14 comprises two comm bus ports 16 and 18. As illustrated, devices 20-28 are connected to communication bus 14 via comm bus port 16, and devices 30-34 are connected to communication bus 14 via comm bus port 18. While the illustrated embodiment of the present invention shows two comm bus ports (16, 18) and eight devices (20-34) connected to communication bus 14 via those comm bus ports, one skilled in the art will appreciate that communication bus 14 may comprise any number of comm bus ports; each of which can have 31 devices connected thereto, as discussed in more detail below.

[0022] In accordance with an alternative embodiment of the present invention, instead of having multiple comm bus ports, system 10 may be configured with a single comm bus port having two or more separate registers and control logic; one for each separate set of devices. In accordance with this particular aspect of the present invention, system 10 can support multiple sets of devices (up to 31 devices in each set) through a single comm bus port.

[0023] Host device 12 may comprise any suitable computing device, such as a PC, a network workstation, a video game player, a DVD or CD player, a satellite or cable television receiver, or the like. While not illustrated in FIG. 1, one skilled in the art will appreciate that host device 12 may include one or more processing units, and suitable memory and storage units, such as, for example, DRAM, SDRAM, flash memory, and/or a suitable hard drive storage device. Preferably, at least one of the processing units is used to control communications between host device 12 and the attached peripheral devices 20-34 over communication bus 14.

[0024] In accordance with one embodiment of the present invention, the operation of host device 12 may be controlled by a media processing unit, such as the one disclosed in U.S. patent application No. ______ (attorney docket no. 19223-000100US), filed on ______, and entitled “A Media Processing System and Method,” the entirety of which is incorporated herein by reference.

[0025] Communication bus 14 is configured to support a wide range of peripheral devices, such as user interface devices, storage devices, and communication devices, to name but a few. Examples of a few devices that may be supported by communication bus 14, include game-pad controllers, joysticks, keyboards, mice, memory cards, 3D glasses (e.g., LCD shutters), modems, simple network interfaces, etc.

[0026] In accordance with one embodiment of the present invention, the interface to communication bus 14 preferably comprises a four-pin connector. The pins of the connector include power, ground, clock output, and bi-directional data. The protocol over the interface preferably comprises a synchronous serial bit-stream. Host 12 is a master device that generates the clock and issues commands to the individual slave devices (i.e., peripheral devices), which may then respond. The data transfer rate over this interface may be programmable to match the electrical capabilities of the external hardware devices.

[0027] Referring now to FIGS. 2 and 3, a more detailed discussion of communication bus 14 will follow. Specifically, communication bus 14 preferably comprises a 32-bit communication bus. That is, data communications between host device 12 and each peripheral device occurs in 32-bit packets. However, as illustrated in FIG. 2, the actual physical size of each packet traveling between host device 12 and each peripheral device is 34-bits. The 34-bits are allocated as follows: (1) a 1-bit start bit 42; (2) a 1-bit flag bit 44 used to differentiate between command and data packets; and (3) a 32-bit packet 46 used to carry the command and data information. Start bit 42 preferably is always set to one, and acts as a start bit to signal the framing of the following bits. Bit 44 can be a ‘1’ or a ‘0’, and is used to signal whether the packet is a data packet or a command packet. As illustrated in FIG. 3, a transmit data packet 52 includes a ‘1’ in bit 44, signifying that the packet is a data packet, and transmit command packet 54 includes a ‘0’ in bit 44, signifying that the packet is a command packet. For data packets received by host device 12 from the peripheral devices, bit 44 is set to ‘0’, signifying that the receive packet includes data (see receive data packet 56 in FIG. 3). If bit 44 is set to ‘1’, then the packet received from the peripheral device includes zeros (see receive null packet 58 in FIG. 3). A null response from a peripheral device may be used to signal that the peripheral device is unable to respond to a command from the host.

[0028] Note that the transmitted data changes on the falling edge of clock 51 and should be sampled on the rising edge of clock 51, otherwise clock and data can race. The rising edge of receive data is used to recognize the framing of receive data, which is synchronous to the transmit clock, but has no defined phase relationship with it.

[0029] All communications between host device 12 and peripheral devices 20-34 is initiated by host device 12. Devices only will transmit data in response to a command received from host device 12. In accordance with this aspect of the invention, communication bus 14 can share a single data channel (i.e., it is half duplex) without any two devices on the same comm bus port ever driving the bus at the same time, because only one device from each comm bus port will be responding to a host command at a time.

[0030] In order to locate devices on communication bus 14 and communicate with those devices, host device 12 preferably includes and processes a communication protocol in accordance with the present invention. In accordance with this particular aspect of the present invention, the goal of the device initialization process of the present communication protocol is to “brand” each device with a unique identity number between 1 and 31. Thus, communication bus 14 can support a maximum of 31 devices per comm bus port on host device 12. This identity number is used to address each device, and to allow global polling of all devices on a comm bus port. As discussed in more detail below with reference to a particular example, when host device 12 globally polls all devices on a given comm bus port, each device preferably inserts a 1-bit response in the particular location of a 32-bit word associated with that device. Thus, if a device is branded with an ID number of 16, that particular device will insert a ‘1’ in bit 16 of a 32-bit response word to a global polling request.

[0031] Each device connected to communication bus 14 includes three state bits: a tagged bit, a focused bit, and a branded bit. After host device 12 “focuses” a device (i.e., sends a focus command to the device, thus setting its focused bit high), host device 12 can “probe” that device to determine device specific information, such as device type, device configuration, drive software needed, the number of communication bus ports on the device, etc. In addition, when a device is “focused”, host device 12 can “brand” the device by assigning it an identity number between 1 and 31, and setting the branded bit high.

[0032] During the initialization process, host device 12 traverses communication bus 14, attempting to “focus” each potential device position in turn. Thus, host device 12 tries to “focus” the first device attached to it, and if it finds a device there, it will “probe” and “brand” it, if necessary. Then, host device 12 will attempt to locate; “focus”, “probe”, and “brand” all devices attached to that first device. The host will continue this process until all devices connected to communication bus 14 have been initialized.

[0033] There are two commands associated with the “focus” state: focus and blur. A device becomes “focused” when it receives a focus command. Because devices typically will pass through commands to other devices connected to the device, there are rules for the focus and blur commands. The rules are as follows:

[0034] 1. All devices convert a focus command to a blur command as the command propagates from the “focused” device to devices connected to the “focused” device.

[0035] 2. A tagged device converts a blur command to a focus command on one selected port.

[0036] 3. All other devices pass through a blur command.

[0037] 4. The following protocol commands are always available in normal operation to determine bus status:

Command Bit ID Description
alive 0 All branded devices respond with a ‘1’ in the
bit position corresponding to their brand ID.
All unbranded devices respond with a ‘1’ in
bit position 0. This is used to determine if the bus
configuration has changed.
request 0 All branded devices respond with a ‘1’ in the
bit position corresponding to their brand ID if they
request interaction. All unbranded devices will
not respond. This can be used as a polled interrupt
mechanism.
error 0 All branded devices respond with a ‘1’ in the
bit position corresponding to their brand ID if an
error condition exists. All unbranded devices
respond with a ‘1’ in bit position 0 if an error
condition exists.

[0038] When host 12 sends an alive command, all devices that have already been “branded” (i.e., the device is assigned an 10 and the branded flag is set) reply by sending a response packet in which the bit position corresponding to brand ID for the device is set to ‘1’. All unbranded devices reply by sending a response packet in which bit-0 is set to ‘1’. By analyzing the responses to the alive command, host 12 can determine if the status of any of the devices has changed. If a device has been removed, there will no. longer be a ‘1’ at the device's ID bit position. If one or more new devices have been added, there will be a ‘1’ in bit position 0.

[0039] The request command is a polling type command used to determine if a peripheral device requests interaction. With the request command, all branded devices respond with a ‘1’ in the bit position corresponding to their brand ID if they request interaction. All unbranded devices will not respond.

[0040] The error command also is a polling type command, and is used to determine if any device has an error condition. With the error command, all branded devices respond with a ‘1’ in the bit position corresponding to their brand ID if an error condition exists. All unbranded devices respond with a ‘1’ in bit position 0 if an error condition exists.

[0041] The following commands are device configuration commands:

Command Bit ID Description
reset 0 Resets every device on a comm bus port. Reset
clears the tagged, focussed, and branded bits on
each device.
rest 1-31 Resets the selected device(s).
tag 0 Untags all devices (i.e., clears their tagged bit).
tag 1-31 Tags the selected device (i.e. sets the tagged bit for
the selected device).
focus 0 Any device that receives a focus command becomes
“focused” (i.e., the focused bit is set). All focused
devices convert a focus command to a blur
command as the command is passed through to all
devices connected to the “focused” device.
blur 0 Any device that receives a blur command becomes
unfocused (i.e., the focused bit is cleared).
unbrand 0 Unbrands all devices (i.e., clears the branded bit
for all devices).
unbrand 1-31 Unbrands the selected device.
brand 0 Unbrands the “focused” device.
brand 1-31 Brands the focused device with a brand ID.
probe 0 Reads probe information from the “focused” device.
This gives the basic device configuration
information.
probe 1-31 Reads probe information from the selected device.
magic 0 Reads the pre-defined long word ($4A554445)
from the “focused” device. This is used to show that
there is a valid device at the current focused
position.
magic 1-31 Reads the pre-defined long word from the
selected device.

[0042] The above commands are best described by way of example. Thus, referring now to FIG. 4, an example of a process for initializing devices connected to communication bus 14 in accordance with the communication protocol of the present invention will be described.

[0043] To start (step 62) the process of initializing devices connected to communication bus 14, host 12 preferably sends an alive command (step 64) to all the devices connected to communication bus 14, either directly or through another device. As mentioned above, the alive command is a way for host 12 to determine if the configuration of any of the devices connected to communication bus 14 has changed. First, host 12 checks the responses from the devices to determine if bit-0 is set to ‘1’ (step 66). If bit-0 is set to ‘1’ in any of the response packets, it means that an “unbranded” device is attached to communication bus 14. This typically occurs when anew device is added to the bus. If bit-0 is set to ‘1’ in any of the response packets, host 12 next checks to determine if any of bits 1-31 are set in any of the response packets (step 68). If any of bits 1-31 are set in any of the response packets, it means that at least one “branded” device is connected to communication bus 14. If none of the response packets have any of bits 1-31 set, then there are no “branded” devices connected to the bus. In accordance with this particular example, the protocol of the present invention handles the initialization process slightly differently when there are “branded” devices connected to the bus, and when there are not. This particular example first will discuss the process when there are no “branded” devices connected to the bus (i.e., none of bits 1-31 are set in any response packet). This typically occurs when host 12 is first turned-on and all devices need to be initialized.

[0044] If there are no “branded” devices connected to communication bus 14, host 12 preferably sends a focus command to the first device on the first comm bus port 16 (step 70). In accordance with this particular example, the first device on first comm bus port 16 is splitter 20 (see FIG. 1). After host 12 has sent the focus command to the first device (splitter 20) on first comm bus port 16, host 12 sends a magic command to determine if the device has been “focused.” If splitter 20 has been “focused” (i.e., the focus bit has been set), splitter 20 will respond to the magic command with a predefined response (step 74). If splitter 20 does not respond to the magic command with the predefined response, it means that either there is not a device at that location, or there is an error with that device. In any event, the protocol will continue to step 92, which is discussed in more detail below.

[0045] In this particular example, since splitter 20 is a valid device, it will return the predetermined response. Next, host 12 sends a probe command to splitter 20 in order to retrieve information about the device (step 76). In response to the probe command, splitter 20 will return information about its configuration (step 78). For example, splitter 20's response may include information such as device type and version, whether the device is already branded, and any other configuration information about itself. If splitter 20 is “unbranded,” host 12 will send a brand command to the device along with a brand ID (step 80). Upon receiving the brand command the branded flag in splitter 20 is set, and splitter 20 is assigned the brand ID forwarded from the host. Finally, upon initializing splitter 20 by probing and branding it, host 12 will set-up driver software for the device in host 12, if necessary (step 82).

[0046] After the first device has been initialized (in this case splitter 20), host 12 will attempt to initialize the next device on the bus. In accordance with this aspect of the invention, host 12 may “untag” all devices by sending a tag command with bit-0 set to ‘1’ (step 92). A tag command in which bit-0 is set to ‘1’ is considered an “untag” command. In accordance with an alternative embodiment of the present invention, if no device previously has been tagged, host 12 may skip step 92 and move to step 94. At step 94, host 12 preferably selects and “tags” the previously initialized device, which in this particular example is splitter 20. To “tag” splitter 20, host 12 sends a tag command with the bit position for the brand ID for splitter 20 set to ‘1,’ which sets the tagged flag in splitter 20. For example, if splitter 20 is assigned a brand ID of 15, host 12 will send a tag command with bit-15 set to ‘1,’ which tells splitter 20 that it is being “tagged.”

[0047] After splitter 20 is “tagged,” host 12 selects the first port on splitter 20 and sends a blur command to splitter 20, and more particularly, to the first port on splitter 20 (step 88). Upon receiving the blur command, splitter 20 converts the blur command to a focus command and passes it through to the device connected to the selected first port on splitter 20 (step 90). In accordance with this particular example, the first device on the first port of splitter 20 is joystick 22. Next, host 12 sends a magic command to determine if a valid device was “focused” on the first port of splitter 20 (step 72).

[0048] If the device on the first port of splitter 20 (in this case, joystick 22) was “focused,” host 12 will repeat steps 76-82 for joystick 22. That is, host 12 will “probe” “brand” and set-up driver software for joystick 22. Host 12 then will propagate across the bus, repeating the process for the remaining devices. In this particular example, host 12 may initialize the remaining devices in the following order: (1) memory card 28; (2) mouse 24; (3) keyboard 26; (4) joystick 30; (5) modem 32; and (6) disk drive 34.

[0049] If, at step 72, there is no valid focused device (e.g., joystick 22 is not there or has an error), host 12 will move on to step 92, which untags all devices, and then on to step 94, which selects and tags the next available port. In this particular example, the next available port would be the second. port on splitter 20, to which is connected mouse 24. Again host 12 will send a blur command to the second port on splitter 20 (step 88). Splitter 20 will convert the blur command to a focus command and pass it to mouse 24, which will then be “focused (step 90).” Host 12 then will send a magic command to determine if there is a valid, focused device on the second port of splitter 20 (step 72). If there is, host 12 will perform steps 76-82 and then move on to the next device. If not, host 12 moves to step 92 and/or 94 and repeats the process until all devices are initialized or no more devices are found.

[0050] Returning back to step 68, if communication bus 14 already includes “branded” devices connected to it (i.e., any response to the alive command has any of bits 1-31 set), host 12 will move on to step 84, which untags all devices. As mentioned above, to untag all devices, host 12 sends a tag command with bit-0 set to ‘1.’ Next, host 12 will “tag” the first device on the first comm bus port 16 by sending a tag command to it (step 86). In this particular example, the first device is splitter 20. Then, host 12 will select the first port on splitter 20 and send a blur command to splitter 20 (step 88). As discussed above, splitter 20 will convert the blur command to a focus command and then pass it to the first device on the first port of splitter 20 to “focus” it (step 90). In this case, joystick 22. Host 12 then will send a magic command to the first port on splitter 20 to determine if a valid, focused device is connected thereto (step 72). If so, host 12 will perform steps 76-82, which probes, brands and sets-up software for the device. If there is no valid, focused device on the first port of splitter 20, host 12 will move on to the next device on the next port. As discussed above, this process will continue until all devices on the bus have been initialized.

[0051] Returning now to step 66, if there are no new devices on communication bus 14 (i.e., no response to the alive command had bit-0 set to ‘1’), host 12 will check to determine if any devices were removed from the bus (step 96). To determine if a device has been removed, host 12 will check the responses to the alive command to determine if any of bits 1-31 that were previously set to ‘1’ are now set to ‘0’. If so, host 12 will remove driver software for the removed device(s) (step 98) and then end the initialization protocol (step 100). If no devices were removed, host 12 will end the initialization process step 102. Also, while FIG. 3 shows the protocol as checking to determine if any devices have been removed only if no new devices were added, one skilled in the art will appreciate that the protocol may check for removed devices after all new devices have been initialized, or at any other time during operation. Therefore, the present invention is not limited to the illustrated embodiment.

[0052] In conclusion, the present invention provides a novel communication bus and bus protocol, which can be used in large number of computing systems. While a detailed description of presently preferred embodiments of the invention have been given above, various alternatives, modifications, and equivalents will be apparent to those skilled in the art. For example, while the particular example of the present invention as disclosed herein uses specific command names, such as reset, tag, focus, blur, unbrand, brand, probe, magic, alive, request, and error, to name a few, one skilled in the art will appreciate that other command names could be used without varying from the spirit of the invention. Therefore, the above description should not be taken as limiting the scope of the invention which is defined by the appended claims.

Referenced by
Citing PatentFiling datePublication dateApplicantTitle
US7073000 *Jun 28, 2002Jul 4, 2006Canon Kabushiki KaishaCommunication system and communication control apparatus and method
US7363405Jun 28, 2002Apr 22, 2008Canon Kabushiki KaishaCommunication control apparatus and method
US7725610 *May 11, 2005May 25, 2010Canon Kabushiki KaishaData processing apparatus that transmits and receives moving image data to and from an external device through a transmission path
US8223910Jun 10, 2005Jul 17, 2012Freescale Semiconductor, Inc.Method and device for frame synchronization
WO2006131142A1Jun 10, 2005Dec 14, 2006Freescale Semiconductor IncMethod and device for frame synchronization
Classifications
U.S. Classification710/104
International ClassificationG06F3/038, G06F9/445
Cooperative ClassificationG06F9/4411, G06F3/038
European ClassificationG06F9/44A4, G06F3/038
Legal Events
DateCodeEventDescription
Aug 25, 2014FPAYFee payment
Year of fee payment: 8
Aug 24, 2010FPAYFee payment
Year of fee payment: 4
Jul 6, 2009ASAssignment
Owner name: TAMIRAS PER PTE. LTD., LLC, DELAWARE
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:GENESIS MICROCHIP INC.;REEL/FRAME:022915/0929
Effective date: 20090313
Owner name: TAMIRAS PER PTE. LTD., LLC,DELAWARE
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:GENESIS MICROCHIP INC.;US-ASSIGNMENT DATABASE UPDATED:20100316;REEL/FRAME:22915/929
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:GENESIS MICROCHIP INC.;REEL/FRAME:22915/929
Feb 3, 2009CCCertificate of correction