Method of controlling data processing system and data processing system
A method of controlling a data processing system including a master, a slave, and a bus provided on a path connecting the master and the slave. The method of controlling the data processing system includes: performing normal processing and performing anomaly avoidance processing to avoid an anomalous state when the slave is anomalous. The performing of the anomaly avoidance processing includes: resetting the slave; and performing a first pseudo response which includes disconnecting communication between the bus and the slave, generating first pseudo response signals corresponding one to one to the plurality of command signals in place of the slave, and transmitting the first pseudo response signals to the master via the bus.
1 . A method of controlling a data processing system including a master, a slave, and a bus provided on a path connecting the master and the slave, the method of controlling the data processing system comprising:
performing normal processing which includes transmitting a plurality of command signals from the master to the slave via the bus and transmitting a plurality of response signals for the plurality of command signals from the slave to the master via the bus; and
performing anomaly avoidance processing to avoid an anomalous state when the slave is anomalous, wherein
the performing of the anomaly avoidance processing includes:
resetting the slave;
performing a first pseudo response which includes disconnecting communication between the bus and the slave, generating first pseudo response signals corresponding one to one to the plurality of command signals in place of the slave, and transmitting the first pseudo response signals toward the master via the bus; and
performing a second pseudo response which includes generating second pseudo response signals corresponding to the first pseudo response signals and corresponding to the plurality of command signals transmitted from the master after the disconnecting of the communication between the bus and the slave, and transmitting the second pseudo response signals to the master, and
the performing of the second pseudo response includes:
generating a first subset including each of the second pseudo response signals corresponding to a command signal which has been transmitted to the bus but for which no response signal has been transmitted to the master among the plurality of command signals; and
generating a second subset including each of the second pseudo response signals corresponding to a command signal that has not been transmitted to the bus among the plurality of command signals.
2 . The method of controlling the data processing system according to claim 1 , wherein
the second pseudo response signals are same in signal format as the plurality of response signals transmitted from the slave to the master via the bus in the performing of the normal processing.
3 . The method of controlling the data processing system according to claim 1 , wherein
at least a portion of each of the second pseudo response signals is generated based on a corresponding one of the first pseudo response signals.
4 . The method of controlling the data processing system according to claim 1 , wherein
the second pseudo response signals include a signal generated without using the first pseudo response signals.
5 . The method of controlling the data processing system according to claim 1 , wherein
the performing of the anomaly avoidance processing ends as a result of an end of the resetting of the slave and an end of the performing of the first pseudo response.
6 . A data processing system comprising: a master; a slave; a bus provided on a path connecting the master and the slave; a first transfer cancellation section provided on a path connecting the bus and the slave; and a second transfer cancellation section provided on a path connecting the master and the bus, wherein
the master transmits a plurality of command signals to the slave via the second transfer cancellation section, the bus, and the first transfer cancellation section,
the slave transmits a plurality of response signals for the plurality of command signals to the master via the first transfer cancellation section, the bus, and the second transfer cancellation section, and
when the slave is anomalous:
the slave performs a reset process;
the first transfer cancellation section disconnects communication with the slave, generates first pseudo response signals corresponding one to one to the plurality of command signals in place of the slave, and transmits the first pseudo response signals to the second transfer cancellation section via the bus; and
the second transfer cancellation section generates second pseudo response signals corresponding to the first pseudo response signals and corresponding to the plurality of command signals transmitted from the master after the communication with the slave has been disconnected, and transmits the second pseudo response signals to the master.
7 . The data processing system according to claim 6 , wherein
the second transfer cancellation section:
generates a first subset including each of the second pseudo response signals corresponding to a command signal which has been transmitted to the bus but for which no response signal has been transmitted to the master among the plurality of command signals; and
generates a second subset including each of the second pseudo response signals corresponding to a command signal that has not been transmitted to the bus among the plurality of command signals.