MLchartDataset catalogue

Patent · US5428748A · A · US

Method and apparatus for automatically configuring a computer peripheral

(11) Publication number
US5428748A
(21) Application number
07/950,914
(22) Filing date
1992-09-24
(30) Priority date
1992-09-24
(43) Publication date
1995-06-27
(45) Date of grant
1995-06-27
(51) IPC
G06F 12/06; G06F 15/177; G06F 9/445
(52) CPC
  • G06F Electric digital data processing: 9/4411, 12/0661, 12/0684, 15/177
(73) Assignee
National Semiconductor Corp
(72) Inventors
Andrew M. Davidson; John A. Stewart; David Crosbie; Patrick Crinion
(54) Title
Method and apparatus for automatically configuring a computer peripheral
(57) Abstract

A host computer, coupled to a peripheral device by its system bus, identifies an available input/output address and designates that input/output address as being assigned to that peripheral device. After identification of the available input/output address, the host computer transmits a logic trigger signal in the form of a sequence of write commands that write the assigned input/output address, as well as other configuration parameters, to an infrequently used input/output address. In response to the logic trigger, the peripheral reads and stores the assigned input/output address and other configuration parameters from the host computer's data bus, The configuration parameters and the assigned input/output address are then written to an EEPROM for non-volatile storage. After this configuration is established, the peripheral device automatically retrieves the stores configuration parameters and assigned input/output address from the EEPROM every time the host computer is turned on or is otherwise reset.

Full text
View on Google Patents

Claims (13)

  1. A method of automatically configuring a peripheral device connected to a host computer, comprising: identifying an available address for the peripheral device; transmitting a signal containing the available address to an infrequently used I/O address accessible by the host computer; detecting the signal transmitted to the infrequently used I/O address by means of a detection circuit in the peripheral device; assigning the available address to the peripheral device in response to detection of the transmitted signal; transferring additional configuration data to the peripheral device by accessing the peripheral device using the address assigned to the device; and storing the address and the additional configuration data in a non-volatile memory contained in the peripheral device.
  2. The method of claim 1, wherein the step of transmitting a signal containing the available address to an infrequently used I/O address further comprises: performing a sequence of write commands to write the available address to the infrequently used I/O address.
  3. The method of claim 2, wherein the infrequently used I/O address is the address assigned to a secondary printer data port on the host computer.
  4. The method of claim 1, further comprising the step of: reading the address and the additional configuration data for the peripheral device from the non-volatile memory located on the device when the host computer resets.
  5. The method of claim 4, wherein the non-volatile memory contained in the peripheral device is an EEPROM.
  6. The method of claim 1, wherein the step of identifying an available address for the peripheral device further comprises: executing a read command using a possible address; determining if the possible address is used by determining if a peripheral device connected to the host computer responds to the read command; if the possible address is being used, continuing the step of executing a read command using different possible addresses until an unused address is found; and identifying the unused address as an available address.
  7. The method of claim 1, further comprising the step of: disabling a downloading of configuration data from the non-volatile memory to the peripheral when the host computer is booted; and reading the address for the peripheral device and additional configuration data for that device from jumpers or switches on the peripheral device.
  8. An automatically configuring computer system, comprising: a host computer, said host computer including means for identifying an available address to assign to a peripheral device; means for transmitting a signal containing the available address to an infrequently used I/O address accessible by the host computer; and a peripheral device connected to the host computer, said peripheral device including means for detecting the transmitted signal; means for loading the available address into the peripheral device upon detection of the transmitted signal, thereby assigning that address to the peripheral device; means for receiving configuration data transmitted by the host computer to the assigned address; and non-volatile storage means for storing the assigned address and the configuration data transmitted to the peripheral device.
  9. The computer system of claim 8, wherein the means for identifying an available address to assign to a peripheral device executes a read command using a possible address to determine if a peripheral device connected to the host computer responds to that command, and further, wherein the read command is executed using different possible addresses until an unused address is found, the unused address being identified as an available address.
  10. The computer system of claim 8, wherein the means for transmitting a signal containing the available address to an infrequently used I/O address transmits a sequence of write commands to write the available address to the infrequently used I/O address.
  11. The computer system, of claim 10, wherein the infrequently used address is the address assigned to a secondary printer data port on the host computer.
  12. The computer system, of claim 8, further comprising: means for disabling a downloading of configuration data from the non-volatile memory when the host computer is booted; means for a user to assign configuration data for the peripheral device; and means for reading the user assigned configuration data for the peripheral device.
  13. The computer system of claim 8, wherein the non-volatile memory is an EEPROM.

Description

This invention relates generally to the interaction between a computer and a peripheral device. More particularly, this invention describes a method and apparatus for automatically configuring a peripheral device with a host computer so that a user is not required to identify and set an input/output address for the peripheral.

A computer is operated by a microprocessor which is a complex logic element that performs arithmetic, logic, and control operations. The microprocessor accesses and interacts with peripheral devices such as keyboards, monitors, printers, and file servers through a common external bus. Peripheral devices typically include a microcontroller or other logic element that is used to interface with the microprocessor of the host computer. The peripheral device's microcontroller handles data transfers between the host computer and the peripheral device as well as data processing tasks performed by the peripheral device.

A host computer typically has a set of predefined input/output (I/O) addresses assigned to commonly used peripheral devices, such as keyboards, monitors and printers, as well as a set of additional I/O addresses that can be assigned to other peripheral devices. The predefined I/0 addresses for commonly used peripheral devices are built into the host computer's hardware at the time of manufacture, and are also stored in the computer's operating system software.

Thus, peripheral devices which do not have an associated predefined I/O address must be assigned one of the additional I/O addresses.

Citations (7)

  • US4373181A
  • US4688172A
  • US4730251A
  • US4750136A
  • US5038320A
  • US5237690A
  • US5274771A