The present invention relates to a method for implementing a reset in both a master computer and an associated slave computer which are both connected to a common data bus. Furthermore, the present invention relates to a computer program and a master computer for implementing this method.
It is known from the related art that both a master computer and a slave computer can be connected to a shared data bus. In such a hardware constellation the two computers must generally be configurable with different reset configurations, which hereinafter will be referred to as master-reset configuration and slave-reset configuration, respectively. As a rule, the two computers have internal memories via which internal standard reset configurations can be called up. However, due to the mentioned hardware constellation, it is possible that the internal reset configuration cannot be utilized in any of the two computers, or at least in the slave computer. This will then have the disadvantage that a shared operation of both master computer and slave computer on the shared data bus is impossible.
Proceeding from this related art, it is an objective of the present invention to further develop a known method for implementing a reset both in a master computer and in a slave computer which are both connected to a common data bus, namely in such a manner that the master and the slave computer are configurable with different reset configurations notwithstanding the fact that the slave computer, in particular, cannot implement an internal slave-reset configuration.
This objective is achieved by the method according to the present invention, in which the slave computer is configured with a slave-reset configuration that is provided by the master computer via the data bus, the master bus having been reset-configured beforehand.
During the configuration of both the master computer and the slave computer, the data bus is blocked to usual data traffic as it normally takes place in normal operation of the two computers after the configuration. Instead, the data bus functions only as a simple electrical line, especially while the master bus is being configured.
The present invention provides a successively implemented configuration of the two computers to thus allow a configuration of the slave computer by the master computer configured beforehand. This approach offers the advantage that the two computing devices are each able to be configured with different reset configurations despite being connected to the shared data bus and without accessing internal reset configurations. The reset configuration of the master computer realized in this manner is called master-reset configuration hereinafter, whereas the reset configuration of the slave computer is analogously referred to as slave-reset configuration.
In an advantageous manner, the master computer configures itself in response to a reset start command in that it reads in predefined electrical voltage potentials representing the master-reset configuration at its data-bus port configured as input ports.
To prevent a simultaneous reading-in of these predefined electrical voltage potentials by the slave computer at its data-bus ports and a corresponding, i.e., undesired substantially identical, reset configuration of the slave computer, it should advantageously be kept in a reset-original state during the reset configuration of the master computer.
The aforementioned objective of the present invention is also achieved by a computer program as well as a master computer for implementing the method. The advantages of these achievements correspond to the advantages mentioned previously in connection with the claimed method.
Finally, the hardware constellation includes a reset generator 140 for generating a reset signal and for outputting this reset signal to master computer 110.
The initial situation for a subsequent reset of the computer first of all is always a drop in supply voltage U below a predefined voltage level of 5 volt, for instance, as shown in
This change in the voltage level of reset signal SR will subsequently be denoted as reset start command; this start command ends the reset-original state of the computer and triggers the actual reset process R during which the computer configures itself with a predefined reset configuration.
In the following, the method of the present invention for implementing resets with different reset configurations in master computer 110 and slave computer 120 will be discussed in greater detail with reference to
However, as soon as the voltage level of reset signal SR exceeds the threshold value once predefined time duration T has elapsed and the reset start command is generated in this manner, master computer 110 begins with its own reset configuration. To this end, it reads in predefined voltage potentials at its data-bus ports such as D27, D29 and D30, which are configured as input ports at this time, and interprets these read-in voltage potentials as master-reset configuration predefined for it. The voltage potentials are individually specified by the size of individual voltage splitters 135 connected to different lines of the data bus (method step S2).
The reading in of the voltage potentials as master-reset configuration is possible because both computers are not yet reset-configured at this early time after initiation of the reset, and data bus 130 is still blocked to normal data traffic. The lines of the data bus then function as ordinary electrical lines.
In a subsequent method step S3, master computer 110 configures itself in accordance with the master-reset configuration just read in.
After the reset configuration of master computer 110 has been concluded, master computer 110 starts a computer program that first configures its data-bus ports D00 . . . 31, currently still configured as input ports, as output ports (method step S4). This program then sends the slave-reset configuration predefined for slave computer 110 onto data bus 130 via the output ports (method step S5).
Subsequently, in a method step S6, master computer 110 allows slave computer 120 to leave the reset-original state in which slave computer 120 had been until that time. The release of slave computer 120 to leave its reset-original state is advantageously implemented by a potential change on connection line 138 between slave computer 120 and first port a of master computer 110.
In a subsequent method step S7, the slave computer then configures itself. To this end, slave computer 120 reads in to its own data-bus ports the slave-reset configuration provided by master computer 110 via data bus 130 and configures itself in accordance with the slave-reset configuration received in this manner.
After conclusion of its configuration, it will often not be desirable that slave computer 120 begins with the execution of user programs immediately. This usually makes sense only after data bus 130 has been released for regular data traffic. Master computer 110 may indicate the release of data bus 130 for normal data traffic to slave computer 120 in the form of a suitable voltage level on connection line 139 (cf.
The method of the present invention is preferably realized in the form of a computer program for master computer 110. The computer program is part of the firmware (bios) of the computer. This computer program, together with additional computer programs, may be stored on a data carrier. When the computer program is used, it is stored in a solid state memory, preferably a flash memory, as data carrier. For the purpose of transmission or sale of the computer program to a customer, the data carrier may be a diskette, a compact disc or the like. As an alternative to a transmission via data carrier, a transmission to the customer without the aid of the data carrier is possible as well, for instance via an electronic communication network, especially the Internet.
Number | Date | Country | Kind |
---|---|---|---|
10 2004 023 329 | May 2004 | DE | national |
Number | Name | Date | Kind |
---|---|---|---|
5067088 | Schneiderhan | Nov 1991 | A |
5606715 | Yishay et al. | Feb 1997 | A |
5867728 | Melo et al. | Feb 1999 | A |
6073253 | Nordstrom et al. | Jun 2000 | A |
6272582 | Streitenberger et al. | Aug 2001 | B1 |
Number | Date | Country | |
---|---|---|---|
20050256987 A1 | Nov 2005 | US |