Peripheral device, data transmission method, and control system
AssigneeNuvoton Technology Corporation
InventorSung-Pin Cheng
Life of this patent
Estimating the term…
Abstract
A peripheral device including a universal serial bus (USB) interface, a storage circuit, and a command parser is provided. The USB interface is configured to be coupled to an external host and to receive file data from the external host. The file data includes a self-defining command and update data. The storage circuit is configured to store a file allocation table and a root directory. The command parser analyzes the self-defining command to generate an analysis result and operates according to the analysis result. In response to the self-defining command being an update command, the command parser performs an update operation.
Claims19
A peripheral device comprising:
- a universal serial bus (USB) interface configured to be coupled to an external host and to receive file data from the external host, wherein the file data comprises file-location data and file content, and the file content comprises a self-defining command and update data;
- a storage circuit configured to store a file allocation table and a root directory;
- and
- a command parser analyzing the self-defining command to generate an analysis result and operating according to the analysis result,
- wherein:
- in response to the self-defining command being a first update command, the command parser performs an update operation,
- the external host generates the file data according to the characteristics of the file allocation table,
- the peripheral device simulates as a virtual disk according to the file-location data, the file allocation table and the root directory.
A data transmission method comprising:
- determining whether a peripheral device is coupled to an external host;
- simulating the peripheral device as a virtual disk according to file-location data, a file allocation table and a root directory in response to the peripheral device being coupled to the external host;
- and
- outputting update-file data to the peripheral device to update specific information of the peripheral device,
- wherein:
- the update-file data comprises the file-location data and data content,
- the data content comprises a self-defining command and update data,
- the file-location data and the root directory are stored in the peripheral device,
- the peripheral device simulates as a virtual disk according to the file-location data, the file allocation table and the root directory.
A control system comprising:
- an external host generating first file data according to characteristics of a file allocation table and comprising:
- a first USB interface configured to output first file data;
- and
- a peripheral device comprising:
- a second USB interface configured to receive the first file data which comprises file-location data and file content comprising a self-defining command and update data;
- a storage circuit configured to store the file allocation table and a root directory;
- and
- a command parser analyzing the self-defining command to generate an analysis result and operating according to the analysis result,
- wherein:
- in response to the self-defining command being a first update command, the command parser performs an update operation,
- the peripheral device simulates as a virtual disk according to the file-location data, the file allocation table and the root directory.
Dependencies are inferred from the claim text.