Dockable computer apparatus and method

Abstract: In a dockable computer system (10) capable of hot docking or warm docking, a docking safe circuit (12) drives the bus of the portable computer (20) and docking station (22) to a docking safe state in response to a DOCK signal. The DOCK signal may be a notice signal indicative of a change of state from the undocked state to the docked state or from the docked state to the undocked state. The notice signal may be provided from software, a user-actuated switch or an infrared signal. Preferably, the docking safe state or dockable state is a state in which: the ground conductors of the buses (24, 25, 46, 47) are referenced to a common ground potential; the buses are "quiet" or non-transitioning; the bidirectional terminals on the bus (24) of the portable computer are set to an output state; the bidirectional terminals of the bus (46) of the docking station are set to an input state; and the signaling levels of the buses (24, 25, 46, 47) have the same voltage potential. Preferably, the present invention is implemented on a peripheral component interconnect (PCI) bus.

Description: The present invention relates generally to a dockable computer system in which a portable computer is associated with a stationary host computer through a resident station and, more particularly, to a system and method for implementing the system in a manner enabling the portable computer and resident station to be physically combined or separated when the units are powered on. A dockable computer system includes a portable computer unit, usually a notebook or laptop, and a stationary or base computer unit having a docking station for receiving the portable computer unit. Dockable computer systems may be operated in a docked state, in which both computer units are physically associated as a generally unified system, or the remote unit may be separated from its host for independent operation in an undocked state. Rudimentary docking systems of the foregoing variety have been designed in an effort to meet the needs of today's mobile computer users for "ubiquitous" computing system capabilities, to fulfill their computing needs in diverse aspects of their professional and personal lives and in sundry locations. Contemporary dockable computer systems approach this problem through a single system having a detachable mobile computing component or subsystem. The expandable desktop computer provides greater storage resources, network connectivity, larger displays, and other superior facilities which are necessary for the typical range of generally demanding home and office computing. The portable computer (mobile computer unit) allows the user to have computing capabilities while outside the home or office by detaching that component with its indigenous hardware and resident software. The computing capabilities of the portable computer are somewhat limited due to size, weight and power constraints but represent the best available approach in these embryonic attempts to balance portable mobility needs. When the user leaves the host environment of home or office, the portable computer is undocked (that is, physically detached) from the docking station of the stationary computer unit. Applications, files, and other data needed for the mobile computing task must have previously been stored in the portable computer. When the user returns to the host environment, the portable computer is reunited (docked) with the docking station so the applications, the files and other data are stored and maintained in a single location. Thus, the use of a dockable computer system allows the user to have access to any needed applications, files and other data just before embarking on the mobile computing task. When the dockable computer system changes from the undocked state to the docked state or the docked state to the undocked state (a docking event), protective measures are required to prevent catastrophic failures caused by physically connecting or disconnecting the active buses of the portable computer and the docking station. For example, the bus of the portable computer can be referenced to a substantially different ground level or signal level than the bus of the docking station. Connecting these buses can cause large inrushes of current, especially through the ground conductors, and signal overdrive conditions. Large inrushes of current and signal overdrive conditions may cause component damage and excessive battery wear or deterioration. Also, bidirectional terminals on the portable computer and bidirectional terminals on the docking station may be inappropriately set to both be in an input state or to both be in an output state. Such a situation can cause input leakages (resulting in excessive battery wear) and signaling failures. Contemporary dockable computer systems are typically "cold docking" systems which protect the buses only by powering off the portable computer and docking station, rendering the buses inactive so protective measures are not required. These "cold docking" systems are disadvantageous because the user must wait for the dockable computer system to be turned on, rebooted, and reconfigured before the dockable computer system is operational in the docked state. These systems are inconvenient because of the amount of time required to change from the docked state to the undocked state or from the undocked state to the docked state. There is a need for a "hot docking" computer system and a "warm docking" computer system. A "hot docking" computer system as envisioned herein is a dockable computer system which can change states with the portable computer running at full power. A "warm docking" system may be thought of as a dockable computer system which can change when the portable computer is in a reduced power state when the portable computer is not running at full power. Examples of the reduced power state are the suspend state and standby state now incorporated in some microprocessor systems. Hot docking and warm docking systems advantageously enable the user to more immediately begin computer tasks because the systems are powered on throughout the docking event. Thus, there is a need for a dockable computer system which includes circuitry that allows the dockable computer system to change states while powered on. More particularly, there is a need for a dockable computer system which drives the active buses of the portable computer and docking station to a dockable state or a docking safe state when the system is docked or undocked. Reference may also be made to WO-A-92 09026 which discloses a computer bus and a docking safe circuit communicating with the computer bus which includes a dock input and the dock safe circuit drives the computer bus to a docking safe state in response to a dock signal on the dock input, and a dock circuit providing the dock signal in response to the dockable computer system changing states. In EP-A-0 674 275 there is disclosed a dockable computer system capable of performing hot docking which utilises a docking agent to quieten the buses of the computer and the docking station in response to a notice signal which is indicative of a change of states from the undocked state to the docked state or from the docked state to the undocked state. The present invention relates to a portable computer in a dockable computer system for assuming at least two states, a docked state and an undocked state, said dockable computer system including a host station, said dockable computer system being in said docked state when said portable computer is operatively associated with said host station and being in said undocked state when said portable computer is not operatively associated with said host station, said portable computer comprising: a computer bus; a processor coupled to said computer bus; a dock circuit for providing a DOCK signal in response to said dockable computer system changing states; characterised by a docking safe circuit communicating with said computer bus, said docking safe circuit including a dock input, said dock safe circuit driving said computer bus to a docking safe state in response to said DOCK signal on said dock input, wherein said portable computer includes a plurality of bidirectional terminals coupled to said computer bus, and means for setting said bidirectional terminals coupled to said computer bus to an output state before said dockable computer system attains said docked state or said undocked state, and wherein said host station includes a host bus, said host station including a plurality bidirectional terminals coupled to said host bus, and means for setting said bidirectional terminals coupled to said host bus to an input state before said dockable computer system attains said docked state or said undocked state, and means for quieting said computer bus before said dockable computer system attains said docked state or said undocked state; and said dock circuit communicating with said docking safe circuit, said dock circuit sensing when said portable computer is physically separate from said host station and when said portable computer is operatively associated with said host station to generate said dock signal before said dockable computer system attains said docked state or said undocked state whereby said portable computer remains powered on. The present invention also relates to a method of docking and undocking a portable computer and a host station of a dockable computer system, said dockable computer system being in a docked state when said portable computer is operatively associated with said host station and being in an undocked state when said portable computer is not operatively associated with said host station, said portable computer having a computer bus and said host station having a host bus, said dockable computer system including a dock circuit for generating a DOCK signal in response to docking or undocking said portable computer, the method comprising the steps of: receiving said DOCK signal provided by said dock circuit; driving said computer bus to a docking safe state in response to said dock signal; coupling or uncoupling said host bus and said computer bus, characterised by said docking circuit sensing when said portable computer is about to be docked or undocked with said host station and determining when said portable computer is docking or undocking to generate said DOCK signal, said computer bus is driven to a docking safe state in response to said DOCK signal by setting a plurality of bidirectional terminals coupled to said computer bus to an output state; and by setting a plurality of bidirectional terminals coupled to the host bus to an input state; and whereby said portable computer remains powered on without suspending operation of said processing unit when said portable computer is coupled with or uncoupled from said host station. The docking safe state advantageously reduces the potential for electrostatic discharge (ESD) between the portable computer and the docking station and prevents unnecessary signal overdrive and input leakage, thereby extending the life of the battery associated with the portable computer. The docking safe state also effectively reduces the potential for signaling failures and component malfunction caused by the docking event. BRIEF DESCRIPTION OF THE DRAWINGS The invention will hereafter be described with reference to the accompanying drawings, wherein like numerals denote like elements, and: Figure 1 schematically illustrates a dockable computer system employing an exemplary embodiment of the present invention; Figure 2 is a more detailed schematic diagram of the dockable computer system illustrated in Figure 1 in accordance with a first exemplary architecture; Figure 3 is a more detailed block diagram of the dockable computer system illustrated in Figure 2 in accordance with a second exemplary architecture; Figure 4 is a more detailed block diagram of the dockable computer system illustrated in Figure 1 in accordance with a third exemplary architecture; Figure 5 is a more detailed block diagram of the dockable computer system illustrated in Figure 1 in accordance with a fourth exemplary architecture; and Figure 6 is a simplified flow chart of the operation of the dockable computer system illustrated in Figure 1 during a docking event. DETAILED DESCRIPTION OF THE PREFERRED EXEMPLARY EMBODIMENTS Figure 1 is a schematic block diagram of a dockable computer system 10 including a portable computer 20 and a docking or host station 22. Portable computer 20 is a mobile computer unit including a CPU 26, a system bus 24, and a docking safe circuit 8. Portable computer 20 can also include a peripheral device 28 and a peripheral device 30. System bus 24 couples CPU 26, peripheral device 28, and peripheral device 30. An external connector 34 is also coupled with system bus 24. System bus 24 can be a CPU-to-memory bus, an I/O bus, a standard bus, PCI bus, a sub-bus, a span bus or any other type of bus functionally operative in the microcomputer environment. Alternatively, components of computer system 10 can be coupled together via bridges, sub-buses and other conductors (not shown), and CPU 26 can be coupled to bus 24 via a host/PCI bus bridge (not shown). Docking station 22 includes a docking safe circuit 12. Docking station 22 can also include a microcontroller 35, a peripheral device 40 and a peripheral device 42. Microcontroller 35 can be replaced by a more powerful microprocessor as warranted by applications for system 10, and it is within the scope of the present invention to utilize a minicomputer as the host system should the user so desire. Docking station 22 is a host station which can have superior, equal or inferior computing power compared to portable computer 20, depending on design needs, requirements or constraints. Docking bus 46 couples microcontroller 35, peripheral device 40 and peripheral device 42. An external connector 36 is also coupled to docking bus 46. Docking bus 46 can be a host-to-memory bus, an I/O bus, a standard bus, a PCI bus, a sub-bus, a span bus or any other type of bus as noted generally above. Docking bus 46 can also be coupled to docking safe circuit 12. When dockable computer system 10 is in an undocked state, external connectors 34 and 36 are not physically coupled. Therefore, in the undocked state, system bus 24 and docking bus 46 are not in physical, electrical communication. In this undocked state, portable computer 20 is operable as a tand-alone computer and is physically separate from docking station 22. In the docked state, docking station 22 receives portable computer 20 so dockable computer system 10 operates as a single desktop computer or an integrated computer system. When dockable computer system 10 is in this docked state, external connectors 34 and 36 are physically coupled. With connectors 34 and 36 coupled, CPU 26 can electrically communicate with components in docking station 22 such as peripheral device 42, peripheral device 40, or microcontroller 35 via system bus 24, connectors 34 and 36, and docking bus 46. Docking safe circuit 8 can be disposed intermediate external connector 34 and system bus 24 as an in-line device or coupled to system bus 24 as an off-line device. Docking safe circuit 8 includes a DOCK input 9 for receiving a DOCK signal. The DOCK signal is preferably provided by dockable computer system 10 prior to or during a docking event. The DOCK signal indicates that docking safe circuit 8 should take appropriate action to protect system bus 24 as it is coupled to or uncoupled from docking bus 46. The operation of docking safe circuit 8 in dockable computer system 10 is described below with reference to Figures 1 and 6. Referring to Figure 6, a docking event 200 begins when a user of system 10 or an automatic ejection or insertion mechanism (not shown) initiates the coupling or uncoupling of connectors 34 and 36 (at block 220). Dockable computer system 10 preferably includes a docking event sense circuit or other monitoring device which senses the impending docking event 200 and generates a DOCK signal (at block 222). The DOCK signal is a warning that buses 24 and 46 are about to be coupled or uncoupled. The DOCK signal is received at dock input 9 of docking safe circuit 8. Docking safe circuit 8 drives system bus 24 to a docking safe state in response to the DOCK signal. System and application parameters typically define the docking safe state and therefore the precautions necessary to adequately protect system bus 24 and docking bus 46 during docking event 200. For instance, the docking safe state should be a state in which buses 24 and 46 can be coupled or uncoupled with minimal signaling failures, current discharge and component damage. In one preferred embodiment, the docking safe state is an electrically benign state or a state where: the ground conductors of buses 24 and 46 are referenced to a common ground potential; the signal levels on buses 24 and 46 are not transitioning or "quiet"; the bidirectional terminals of bus 24 are set to an output state; the bidirectional terminals of bus 46 are set to an input state; and the signaling levels on buses 24 and 46 have equal potentials. The protective measures associated with the docking safe state should also be balanced with practical considerations such as the amount of time required to place buses 24 and 46 in the docking safe state. Preferably, the docking safe state should be reached within 0.5 seconds so the user is not subjected to a perceptible delay as system 10 changes states. Alternatively, buses 24 and 46 can be designed with inherent translation, isolation, and protection features, thereby eliminating the need for certain aspects of the docking safe state. In this sense, therefore, the docking safe state is system defined and may be manifested in a variety of protective measures for buses 24 and 46. Thus, docking safe circuit 8 drives system bus 24 to a docking safe state so buses 24 and 46 may be safely coupled or uncoupled when portable computer 20 and docking station 22 are powered ON. With reference to Figure 6, docking safe circuit 8 references all ground conductors on system bus 24 and docking bus 46 to a common ground (block 224). Docking safe circuit 8 can utilize a ground connection interface (not shown) such as ground pins or a shield conductor associated with connectors 34 and 36 to ensure that buses 24 and 46 have the same ground potential. Portable computer 20 generally has a "floating" ground level which can be referenced to the ground level of docking station 22 when connectors 34 and 35 are coupled. The ground level of docking station 22 is advantageously referenced to 0 VDC. Docking safe circuit 8 also quiets or renders inactive system bus 24 in response to the DOCK signal (block 226). Docking safe circuit 8 may utilize similar techniques to those discussed in European Patent EP 0,674,275, entitled "An Apparatus and Method for Generating Hot Docking Capabilities for a Dockable Computer System," for quieting signals on system bus 24. Similarly, docking safe circuit 12 may utilize the same techniques to quiet docking bus 46. Docking safe circuit 8 also sets all bidirectional terminals on bus 24 to the output state (block 228). Preferably, a signal keeper circuit 51 drives the bidirectional terminals to the output state. Signal keeper circuit 51 is preferably comprised of low current back-to-back inverters which maintain the current pin status on bus 24. The inverters are easily overdriven by other components such as CPU 26 and peripheral devices 28 and 30 coupled to bus 24. The inverters are also designed to use as little battery power as possible and yet reliably drive the bidirectional terminals to the output state. Docking safe circuit 12 sets all bidirectional terminals on docking bus 46 to the input state (block 232). Preferably, components on bus 46 such as peripheral devices 40 and 42 have a default state which sets the bidirectional terminals to the input state. Alternatively, microcontroller 35 may set peripheral devices 40 and 42 in a reset state so that the bidirectional terminals are set to the input state. Docking safe circuit 8 also sets the logic high signal levels (VCC) in portable computer 20 and docking station 22 to the same voltage level (block 236). Preferably, docking station 22 includes components such as peripheral devices 40 and 42 which may operate at either a 3.3 VDC or 5.0 VDC signal level, and docking safe circuit 8 or docking safe circuit 12 set the logic high signal level of components of docking station 22 to the logic high signal level of portable computer 20. Generally, portable computer 20 has a 3.3 VDC logic high signal level. Alternatively, docking safe circuit 8 or docking safe circuit 12 may isolate buses 24 and 46 and include voltage translation circuitry for converting the logic high voltage level of portable computer 20 or docking station 22 to a compatible level. After system bus 24 and docking bus 46 reach the docking safe state (blocks 224-236), buses 24 and 46 can be coupled or uncoupled safely (block 238). Thus, docking safe circuit 8 drives system bus 12 to a docking safe state, thereby protecting bus 24 during docking event 200. Portable computer 20 and docking station 22 of a dockable computer system 100 illustrated in Figure 2 are similar to dockable computer system 10 discussed with reference to Figure 1. System 100 generally includes a bus arbiter 38 integrated with CPU 26, a docking agent 32 and a docking control circuit 44. The operations of docking safe circuit 8 and docking safe circuit 12 are performed by docking agent 32 and docking control circuit 44, respectively. Docking agent 32 is coupled to system bus 24 as an off-line device; docking control circuit 44 is coupled to docking bus 46 as an off-line device. Dockable computer system 100 preferably provides the DOCK signal as an ADVANCE NOTICE signal warning of the impending docking event. Preferably, docking control circuit 44 includes circuitry for sensing an impending docking event and for communicating the ADVANCE NOTICE signal across a communication link 50, as described below. The ADVANCE NOTICE signal can be provided on system bus 24, docking bus 46, communication link 50, or various control lines in dockable computer system 10. For example, when dockable computer system 10 changes from an undocked state to a docked state (an external event), communication link 50 preferably provides an infrared ADVANCE NOTICE (warning) signal which is received by docking agent 32. Communication link 50 can be an electromagnetic communication link, long pin interface, or wireless communication link such as those disclosed in European Patent EP 0,674,255, and entitled, "Dockable Computer System ", assigned to the assignee of the present invention. Portable computer 20 or docking station 22 can provide a software-actuated ADVANCE NOTICE signal or a user-actuated ADVANCE NOTICE signal. Bus arbiter 38 includes a quiet request input 53 coupled to a quiet request control line 57 and a quiet acknowledge output 42 coupled to a quiet acknowledge control line 49. CPU 26 is able to monitor bus activity on bus 24 via a bus input 27. Bus input 27 preferably includes control lines for receiving signals such as a FRAME signal and an IRDY (Initiator Ready) signal utilized by the PCI protocol which indicate a transaction is occurring on bus 24. Docking agent 32 includes a quiet acknowledge input 39 coupled to quiet acknowledge control line 49, and a quiet request output 43 coupled to quiet request control line 57. Bus arbiter 38 is advantageously integrated with CPU 26 so bus arbiter 38 is capable of disconnecting current bus cycles by providing an idle, stop, halt or other bus cycle control command to CPU 26 and peripheral devices 28 and 30. Alternatively, bus arbiter 38 may signal CPU 26 or a bus bridge (not shown) to disconnect the current bus cycle. Bus arbiter 38 can also be integrated with other components such as a host or PCI bus bridge (not shown). Bus arbiter 38 is designed along the lines and performs the operations of that circuitry described in European Patent EP 0,686,919, entitled "An Apparatus and Method for Granting Control of a Bus in a Computer System." Docking agent 32 ensures that system bus 24 is in the docking safe state. More particularly, docking agent 32 cooperates with bus arbiter 48 to quiet or render inactive system bus 24 in response to the DOCK signal. Docking agent 32 provides a QUIET REQUEST (primary request) signal on QUIET REQUEST control line 57 in response to the DOCK signal. Arbiter 38 receives the QUIET REQUEST signal and deasserts all grants given to other bus masters such as CPU 26 and peripheral devices 28 and 30. After the current transaction on bus 24 is completed, arbiter 38 grants bus ownership to docking agent 32 by providing a QUIET ACKNOWLEDGE (primary knowledge) signal across QUIET ACKNOWLEDGE control line 49. Preferably, arbiter 38 grant docking agent 32 a time-bound access to system bus 24. Docking agent 32 quiets system bus 24 in response to the QUIET ACKNOWLEDGE signal. Docking agent 32 also employs signal keeper circuit 51 within portable computer 20, or other weak driving entities, to maintain the current pin status on system bus 24. Maintaining the current pin status inherently sets all bidirectional terminals on system bus 24 to the output state. Docking agent 32 is preferably designed along the lines and performs the operations of that circuitry described in European Patent EP 0,674,275, entitled "An Apparatus and Method for Achieving Hot Docking Capabilities for a Dockable Computer System." Portable computer 20 and docking station 22 of a dockable computer system 110 illustrated in Figure 3 are similar to dockable computer system 10 discussed with reference to Figure 1. Dockable computer system 110 includes a PCI bus 21, a PCI master arbiter 52, an external bus master 31, a host-to-PCI bridge 23, a docking control circuit 45 and a memory 37. CPU 26 is coupled to memory 37 via a high speed bus 29. CPU 26 is coupled to PCI bus 21 through host-to-PCI bus bridge 23. External bus master 31 and signal keepers 51 operate similarly to docking safe circuit 8 (Figure 1), and drive PCI bus 21 to a docking safe state. Docking control circuit 45 is coupled as an in-line device between a connector bus 47 and bus 46. In operation, external bus master 31 provides a QUIET REQUEST (primary request) signal on quiet request control line 57 in response to receiving the DOCK signal on communication link 50. PCI master arbiter 52 receives the QUIET REQUEST signal and deasserts all grants given to other bus masters such as peripheral devices 28 and 30. After the current transaction on PCI bus 21 is completed, PCI master arbiter 52 grants bus ownership to external bus master 31 by providing a QUIET ACKNOWLEDGE (primary acknowledge) signal across quiet acknowledge control line 49, thereby quieting system bus 24. Preferably, PCI master arbiter 52 grants a time bound access to bus master 31. External bus master 31 is thus able to quiet PCI bus 21 in response to the DOCK signal. Central resource keepers in signal keeper circuit 51 preferably maintain the current signaling level of conductors on PCI bus 21 and drive the bidirectional terminals on bus 21 to the output state. Signal keeper circuit 51 may be integrated within PCI master arbiter 52, host-to-PCI bridge 23, or other device coupled to PCI bus 21. The central resource keepers are weak driving entities for retaining the signals on PCI bus 21; weak driving entities may be easily overdriven by other devices on PCI bus 21 so that they do not interfere with normal operations of bus 21. Docking station 22 includes a docking control circuit 45 shown to be an in-line device. Docking control circuit 45 can perform the operations of docking safe circuit 12 (Figure 1) and drive docking bus 46 to a docking safe state. Docking control circuit 45 sets the states of the bidirectional terminals on docking bus 46 to an input state by holding peripheral devices 40 and 42 in a reset state. According to PCI protocol, the reset state forces all bidirectional terminals to the input state. Alternatively, docking control circuit 45 can drive connector bus 47 to an electrically benign state so connectors 34 and 35 may be safely coupled or uncoupled. The electrically benign state is a docking safe state in which connector bus 47 is essentially powered off. Docking control circuit 45 can drive connector bus 47 to the electrically benign state by driving tri-state terminals on bus 47 to the high impedance state. Active signals do not exist on bus 47 when it is in the electrically benign state. For this type of docking safe state, buses 21 and 46 are preferably quieted before allowing communication across docking control circuit 45 so signaling errors are prevented. Portable computer 20 and docking station 22 of a dockable computer system 120 illustrated in Figure 4 operate similarly to dockable computer system 10 discussed with reference to Figure 1. However, dockable computer system 120 in Figure 4 includes a buffer circuit or a docking bridge 33 and docking control circuit 45, shown to be in-line devices, and a bus arbiter 52 shown to be a stand-alone, off-line device. Docking agent 32 and docking control circuit 44 (Figure 2) may be utilized with a bus arbiter 60. Alternately, bus arbiter 60 may be integrated with CPU 26. Docking bridge 33 is coupled between system bus 24 and a connector bus 25 and includes a signal keeper circuit 48. Docking bridge 33 and docking control circuit 45 provide the functions of docking safe circuit 8 and docking safe circuit 12 (Figure 1), respectively. Connector bus 25 is preferably coupled to external connector 34 and connector bus 47 is preferably coupled to external connector 36. When system 120 is about to change states, docking bridge 33 drives connector bus 25 to the electrically benign state and docking control circuit 45 drives connector bus 47 to the electrically benign state. After connector buses 25 and 47 are in the electrically benign state, docking bridge 33 and docking control circuit 45 can additionally quiet system bus 24 and docking bus 46 to ensure incomplete bus cycles or signals are not transmitted on buses 24 and 46. After buses 25 and 47 are in the electrical benign state, connectors 34 and 36 can be coupled. Once connectors 34 and 36 are coupled and buses 24 and 46 are quieted, docking bridge 33 and docking control circuit 45 allow communication between buses 24 and 46. Docking bridge 33 and docking control circuit 45 operate as in-line devices and can isolate connector bus 25 from system bus 24 and connector bus 47 from docking bus 46. Docking bridge 33 and docking control circuit 45 preferably include filter capability, drive capability, voltage level translation capability and buffering capability. Buffering capability can include tri-state inputs and outputs for isolating buses 24 and 46 by utilizing a high impedance state. Docking bridge 33 and docking control circuit 45 are discussed in more detail in United States patent application Serial No. 08/217,951, filed March 25, 1994, entitled "An Apparatus and Method for Achieving Hot Docking Capabilities for a Dockable Computer System." Portable computer 20 and docking station 22 of dockable computer system 130 illustrated in Figure 5 are similar to dockable computer system 110 discussed with reference to Figures 3 and 4. Dockable computer system 130 includes a buffer circuit or a docking bridge 80 coupled to PCI bus 21. Docking bridge 80, external bus master 31 and PCI master arbiter 52 cooperate to perform the operations of docking safe circuit 8 (Figure 1). Docking bridge 80 is an in-line PCI-to-PCI bridge disposed electrically intermediate connector bus 25 and PCI bus 21. Docking bridge 80 ensures connector bus 25 is in an electrically benign state in response to the DOCK signal. Docking bridge 80 also provides a signal on a conductor 81 so that external bus master 31 requests control of bus 21 by providing a QUIET REQUEST across QUIET REQUEST control line 57. PCI master arbiter 52 grants control of bus 21 to external bus master 31 so PCI bus 21 may be quieted. External bus master 31 does not necessarily need a time-bound access because docking bridge 80 advantageously holds connector bus 25 in the electrically benign state until bus 21 is quieted. Preferably, PCI master arbiter can monitor PCI bus 21 via an input 41 to determine if PCI bus 21 is quiet. Once connector 34 and 36 are coupled and bus 21 is quiet, docking bridge 80 signals external bus master 31 to remove the QUIET REQUEST signal at QUIET REQUEST control line 57. Docking bridge 80 allows communication between buses 24 and 46 after the docking event is completed. It is understood that, while the detailed drawings and specific examples given describe preferred exemplary embodiments of the present invention, they are for the purpose of illustration only. The apparatus and method of the invention are not limited to the precise details and conditions disclosed. For example, although a bus arbiter is shown coupled directly with the docking agent, the bus arbiter could communicate across the system bus, a communication link, bridges or through other components. In this application, devices are coupled when they are able to communicate signals without functionally destroying the meaning of the signals; intermediate structures located - between the devices do not render them uncoupled. Also, although the system bus is shown, a sub-bus or secondary bus could be utilized. Although a portable computer is described, the system is appropriate for any mobile computer unit including personal digital assistants (PDAs). Further, single lines in the various drawings can represent multiple conductors. Various changes can be made to the details disclosed without departing from the invention which is defined by the following claims.

Claims: A portable computer in a dockable computer system for assuming at least two states, a docked state and an undocked state, said dockable computer system including a host station (22), said dockable computer system being in said docked state when said portable computer (20) is operatively associated with said host station and being in said undocked state when said portable computer is not operatively associated with said host station, said portable computer comprising: a computer bus (24); a processor (26) coupled to said computer bus; a dock circuit for providing a DOCK signal in response to said dockable computer system changing states; characterised by a docking safe circuit (8) communicating with said computer bus, said docking safe circuit including a dock input (9), said dock safe circuit driving said computer bus to a docking safe state in response to said DOCK signal on said dock input, wherein said portable computer includes a plurality of bidirectional terminals coupled to said computer bus, and means for setting said bidirectional terminals coupled to said computer bus to an output state before said dockable computer system attains said docked state or said undocked state, and wherein said host station includes a host bus (46), said host station including a plurality bidirectional terminals coupled to said host bus, and means for setting said bidirectional terminals coupled to said host bus to an input state before said dockable computer system attains said docked state or said undocked state, and means for quieting said computer bus before said dockable computer system attains said docked state or said undocked state; and said dock circuit communicating with said docking safe circuit, said dock circuit sensing when said portable computer is physically separate from said host station and when said portable computer is operatively associated with said host station to generate said dock signal before said dockable computer system attains said docked state or said undocked state whereby said portable computer remains powered on. The computer of claim 1, further characterized in that the docking safe circuit (8) is a bus isolation circuit (33) coupled between the computer bus (14) and a computer connector (34), the bus isolation circuit (33) receiving a notice signal indicating that said computer (20) is about to change states and said bus isolation circuit (33) drives said computer connector (34) to a docking safe state in response to said notice signal. The computer of claim 2, further characterized in that the bus isolation circuit (33) includes FIFO buffers and state machines. The computer of claim 2 or 3, further characterized in that the computer connector (34) includes a ground pin interface. The computer of claim 2 or 3, further characterized in that the bus isolation circuit (33) drives the computer connector (34) to a high impedance state when the bus isolation circuit (33) isolates the bus of the computer. The computer of claim 2 or 3, further characterized in that the docking safe circuit (8) is an in-line device coupled between the bus (34) of the computer (20) and the computer connector (34). The computer of claim 1, further characterized in that the docking safe circuit is an off-line docking safe circuit. A method of docking and undocking a portable computer and a host station of a dockable computer system, said dockable computer system being in a docked state when said portable computer (20) is operatively associated with said host station and being in an undocked state when said portable computer is not operatively associated with said host station, said portable computer (20) having a computer bus (24) and said host station (22) having a host bus (46), said dockable computer system including a dock circuit for generating a DOCK signal in response to docking or undocking said portable computer, the method comprising the steps of receiving said DOCK signal provided by said dock circuit; driving said computer bus to a docking safe state in response to said dock signal; coupling or uncoupling said host bus and said computer bus, characterised by said docking circuit sensing when said portable computer is about to be docked or undocked with said host station and determining when said portable computer is docking or undocking to generate said DOCK signal, said computer bus is driven to a docking safe state in response to said DOCK signal by setting a plurality of bidirectional terminals coupled to said computer bus to an output state; and by setting a plurality of bidirectional terminals coupled to the host bus to an input state; and whereby said portable computer remains powered on without suspending operation of said processing unit when said portable computer is coupled with or uncoupled from said host station. The method of claim 8, further characterized in that the docking safe state includes setting bidirectional terminals on the host bus to an input state. The method of claims 8 or 9, further characterized in that the portable computer includes signal keepers (51) for maintaining the computer bus (20) in the docking safe state.

Inventors: GEPHARDT DOUGLAS D, SWANSTROM SCOTT, GEPHARDT, DOUGLAS D., SWANSTROM, SCOTT
Applicants: ADVANCED MICRO DEVICES INC, ADVANCED MICRO DEVICES INC.
Application year: 1995
Main classification: G06F13
IPC codes: G06F3, G06F1, G06F13