USB simulation apparatus and storage medium
OwnerShigeru Nagashima, Kousuke Kawateinventors
Life of this patent
Estimating the term…
Abstract
A USB simulation apparatus 1 in an embodiment of the invention sets an address of a device to communicate, a transfer mode or a band by a setting part 12a within a CPU 11, and manages test items (for example, error packet or abnormal sequence) every transaction by a transaction management part 12b, and determines an answer signal inputted from a communication opposed side by a received data determination part 12c, and branches the subsequent processing according to a determination result to select test items or sending data executed in the next transaction.
Claims6
A USB simulation apparatus for virtually executing signal processing communicated between a main unit and a peripheral unit connected through a USB, said apparatus comprising:
- a storage unit adapted to store plural test items and instructions on a simulation;
- a sending data management unit adapted to manage data sent to one or plural external units connected through the USB on the basis of the contents stored in said storage unit;
- a setting unit adapted to set an address of the external unit on the basis of the contents stored in said storage unit;
- a timing generation unit adapted to generate timing to output data on the basis of the contents stored in said storage unit;
- a data sending unit adapted to output data directed by said sending data management unit to the address set by said setting unit with the timing generated by said timing generation unit;
- a receiving unit adapted to receive a signal inputted from the external unit through the USB;
- and
- a determination unit adapted to determine data to be next sent on the basis of the signal received by said receiving unit and outputting the data to said sending data management unit;
- characterized by functioning as a virtual main unit or a virtual peripheral unit to the external unit to be connected.
A storage medium for storing programs capable of being executed by a computer for virtually executing signal processing communicated between a main unit and a peripheral unit connected through a USB and functioning as a virtual main unit or a virtual peripheral unit to an external unit to be connected, characterized by storing the programs including:
- program code for managing data sent to one or plural external units connected through the USB on the basis of plural test items and instructions on a simulation;
- program code for setting an address of the external unit on the basis of the plural test items and instructions on the simulation;
- program code for generating timing to output data on the basis of the plural test items and instructions on the simulation;
- program code for outputting managing data to the set address with the timing;
- program code for receiving a signal inputted from the external unit through the USB;
- and
- program code for determining data to be next sent on the basis of the received signal.
Dependencies are inferred from the claim text.