CN100349146C - Method for actuating standard interface devices perform non-standard events - Google Patents

Method for actuating standard interface devices perform non-standard events Download PDF

Info

Publication number
CN100349146C
CN100349146C CNB2004100988756A CN200410098875A CN100349146C CN 100349146 C CN100349146 C CN 100349146C CN B2004100988756 A CNB2004100988756 A CN B2004100988756A CN 200410098875 A CN200410098875 A CN 200410098875A CN 100349146 C CN100349146 C CN 100349146C
Authority
CN
China
Prior art keywords
standard
parameter
interface device
standard interface
incident
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CNB2004100988756A
Other languages
Chinese (zh)
Other versions
CN1622066A (en
Inventor
王嘉豪
赖彦伯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Via Technologies Inc
Original Assignee
Via Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Via Technologies Inc filed Critical Via Technologies Inc
Priority to CNB2004100988756A priority Critical patent/CN100349146C/en
Publication of CN1622066A publication Critical patent/CN1622066A/en
Application granted granted Critical
Publication of CN100349146C publication Critical patent/CN100349146C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The present invention relates to a method for driving a standard interface device to execute non-standard events. The method comprises the steps that at least one no-available parameter (NA) of at least one standard command is set as an execution parameter; then, the standard command comprising the execution parameter is issued to the standard interface device for the standard interface device to detect the execution parameter to execute corresponding non-standard events. Thereby, another command which is set by another pipeline and corresponds to the non-standard events are provided for enhancing used elasticity under the precondition of being compatible with the specification of the standard interface.

Description

Drive the standard interface device and carry out the method for non-standard incident
Technical field
The present invention drives the method that the standard interface device is carried out non-standard incident relevant for a kind of, is particularly to use the parameter of not utilizing of standard commands, orders about the function person that the standard interface device is carried out non-standard incident.
Background technology
Since the own computing machine, its usefulness is the target that people pursued always, wherein with the storage volume of hard disk and transmission usefulness, overall efficiency to computing machine has the greatest impact, be the storage volume and transmission usefulness that can promote hard disk, each tame manufacturer through many times revision, rewrite and improve, develop the interface specification that the hard disk special use finally, it advances the rank technology and is attached specification (Advanced TechnologyAttachment for existing; ATA), for continuing to carry out the research and development of the relevant specification of ATA, by (the National Committee for Information TechnologyStandards of American National Information technology standard committee, NCITS) T13 technical committee is for being responsible for the group of research and development ATA technology, except that the research that continues ATA, further by ATA package interface (AT Attachment Packet Interface; ATAPI) purpose of supporting hard disk device is in addition reached in development.
In the ATA/ATAPI standard specification, it formulates relevant standard commands, to order about ATA/ATAPI interface arrangement operative norm incident, see also Fig. 1, it is existing NOP standard commands form shfft, as shown in the figure, it includes a Features working storage parameter, is used to store subcommand sign indicating number (Subcommandcode); One Sector Count working storage parameter, a LBA Low working storage parameter, a LBA Mid working storage parameter and a LBA High working storage parameter etc. are not utilized parameter (no-available parameter for the NOP standard commands; Na), because of the value of not utilizing parameter does not influence the execution of standard commands, then select random number on the practice arbitrarily as the value of not utilizing parameter; One Device working storage parameter, it is except inserting the setup parameter of secundum legem order at Bit 4, Bit 5 and Bit 7, and all the other Bit are all and do not utilize parameter, can arbitrarily insert numerical value; And a Command working storage parameter, it stores NOP standard commands sign indicating number.
Wherein, when assigning the NOP standard commands in this ATA/ATAPI interface arrangement, the parameter that the NOP standard commands comprises can be stored in the inner pairing working storage of this ATA/ATAPI interface arrangement, promptly one of this ATA/ATAPI interface arrangement inside order working storage (Command Register), to store the Command working storage parameter of NOP standard commands, all the other working storages also can deposit NOP standard commands corresponding parameter value in; Afterwards, a control module of this standard interface device can be detected all working storages of corresponding NOP standard commands, makes the standard interface device carry out the standard Event of corresponding NOP standard commands.
In addition, for cooperating each tame manufacturer at the production development strategy, order additional effect certainly in device, in the ATA/ATAPI standard specification, also keep partly order and be vendor's order (Vender SpecificCommand), it is 9Ah, C0h-C3h, 8xh, F0h, F7h, Fah-FFh provides each tame manufacturer to define voluntarily, carries out non-standard incident to order about the ATA/ATAPI interface arrangement.Yet, when each tame manufacturer provides greater functionality for making the ATA/ATAPI interface arrangement, stipulate the corresponding non-standard incident of carrying out of ATA/ATAPI interface arrangement because of only using the order that keeps in the ATA/ATAPI standard specification, the vendor may be taken place order not enough awkward situation, and lack flexibility in the use.
Therefore, the present invention is directed to the problems referred to above and propose a kind of method that the standard interface device is carried out non-standard incident that drives, order the corresponding non-standard incident of carrying out of standard interface device of stipulating to improve the vendor that only can use in the standard specification, cause to use and go up inelastic shortcoming, to address the above problem.
Summary of the invention
Fundamental purpose of the present invention, be to provide a kind of method that the standard interface device is carried out non-standard incident that drives, its parameter of not utilizing by the established standards order is an execution parameter, detect this execution parameter for the standard interface device, to carry out a corresponding non-standard incident, provide another method of setting the order of corresponding non-standard incident thus, in order to promote the elasticity of using.
Secondary objective of the present invention, be to provide a kind of method that the standard interface device is carried out non-standard incident that drives, its parameter of not utilizing by the established standards order is an activation parameter, detect this activation parameter for the standard interface device, carry out this non-standard incident to confirm desire, avoid the standard interface device thus under unexpected situation, carry out non-standard incident.
Driving standard interface device of the present invention is carried out the method for non-standard incident, and its parameter of not utilizing by the established standards order is an execution parameter; Afterwards, assign comprise this execution parameter this standard commands in a standard interface device, and after this execution parameter being stored in a working storage of correspondence in this standard interface device, make a control module of this standard interface device detect the execution parameter of this working storage, to carry out corresponding non-standard incident; Moreover, the parameter of not utilizing of the further established standards order of this method is activation parameter, assign comprise this activation parameter this standard commands in the standard interface device, and after this activation parameter being stored in a working storage of correspondence in this standard interface device, make the control module of this standard interface device detect the activation parameter of this working storage, carry out non-standard incident to confirm desire.
The present invention proposes a kind of method that the standard interface device is carried out non-standard incident that drives in addition, utilization comprises a plurality of standard commands of not utilizing parameter (no-available parameters), order a standard interface device to carry out a non-standard incident, this method comprises the following step: it is an activation parameter and an execution parameter that this that set this standard commands do not utilize parameter; And assign comprise this activation parameter and this execution parameter this standard commands in this standard interface device, detect this activation parameter and this execution parameter for this standard interface device, carry out this non-standard incident to confirm desire, and carry out this non-standard incident of correspondence.
Description of drawings
Fig. 1 is existing NOP standard commands form shfft;
Fig. 2 is the process flow diagram of one of the present invention preferred embodiment;
Fig. 3 A comprises the NOP standard commands form shfft of execution parameter for preferred embodiment of the present invention;
Fig. 3 B comprises the NOP standard commands form shfft of activation parameter for preferred embodiment of the present invention;
Fig. 4 A~Fig. 4 C comprises the NOP standard commands form shfft of activation parameter for another preferred embodiment of the present invention;
Fig. 5 is the process flow diagram of another preferred embodiment of the present invention; And
Fig. 6 comprises the NOP standard commands form shfft of activation parameter and execution parameter for the present invention.
Embodiment
Following embodiment with driving have one upgrade firmware (Firmware) non-standard function the standard interface device as an illustration, in existing method, it is to be ordered by the vendor that the standard interface specification provides to formulate the order that the standard interface device is carried out corresponding non-standard incident, it is that the parameter of not utilizing of the standard commands that provided by the standard interface specification is set the order of non-standard incident that the present invention is different from prior art, makes the standard interface device carry out standard Event and this non-standard incident of not utilizing the parameter correspondence of this standard commands correspondence.
See also Fig. 2, process flow diagram for preferred embodiment of the present invention, below be NOP standard commands with ATA/ATAPI be example as an illustration, when desiring to drive the standard interface device and carry out non-standard incident, at first, shown in step S16, the parameter of not utilizing of setting the NOP standard commands of Fig. 1 is an execution parameter, as shown in Figure 3A, the LBA High working storage parameter that this embodiment promptly sets the NOP standard commands is 32h, with as execution parameter.
Then, shown in step S18, assign comprise execution parameter standard commands in the standard interface device, and after according to step S20 the parameter of this standard commands being stored in a working storage of this standard interface device correspondence, one control module of this standard interface device is detected all working storages of corresponding standard commands, the working storage of all parameters of the NOP standard commands correspondence of i.e. this control module detecting Fig. 3 A, to carry out the standard Event of corresponding NOP standard commands, in addition, when the value of control module detecting LBA High working storage is 32h, promptly carry out the tough body renewal action, the standard interface device is promoted carry out usefulness.
Because the value of the LBA High working storage parameter of NOP standard commands can arbitrarily not inserted for utilizing parameter, the person of issuing an order does not note so easily, and insert to the value of LBA High working storage parameter by chance identical at random with execution parameter, when causing this control module to detect the working storage of corresponding LBA High working storage parameter, identification will be carried out the non-standard incident of tough body renewal action, for avoiding the generation of this situation, this method further comprises the following step before step S16, carry out non-standard incident to confirm desire, please according to shown in the step S10, at least one parameter of not utilizing of setting another standard commands is activation parameter, see also Fig. 3 B, as shown in the figure, with Sector Count working storage parameter, LBA Low working storage parameter and LBA Mid working storage parameter etc. do not utilize parameter as activation parameter, are set at 01h in regular turn, 02h, 03h.
Afterwards, shown in step S12, assign comprise activation parameter standard commands in the standard interface device, and further execution in step S14, this activation parameter is stored in working storage that should the standard interface device, control module detecting for this standard interface device, when this control module detecting Sector Count working storage, LBA Low working storage, the value of LBA Mid working storage is 01h, 02h, during 03h, control module can confirm that desire carries out non-standard incident, further during execution in step S16 to S20, the control module of standard interface device is carried out the tough body renewal action, if control module detecting Sector Count working storage, LBA Low working storage, the value of LBA Mid working storage is not 01h, 02h, during 03h, even if when receiving the standard commands that comprises execution parameter afterwards, will can not carry out pairing non-standard incident.
In addition, the present invention also provides another to set the method for activation parameter, confirm this non-standard incident of desire execution for the standard interface device, the method is promptly set one of a plurality of standard commands in regular turn and is not utilized parameter to be activation parameter, please consult simultaneously shown in Fig. 4 A to Fig. 4 C, the Sector Count working storage parameter of promptly setting a plurality of NOP standard commands in regular turn is 01h, 02h and 03h, by assign continuously comprise activation parameter the NOP standard commands in the standard interface device, and store this activation parameter in to after should the working storage of standard interface device, the value of detecting Sector Count working storage when control module in regular turn is 01h, when 02h and 03h, then can confirm this non-standard incident of desire execution.
The present invention uses the driving parameter standard interface device that do not utilize of standard commands to carry out the method for non-standard incident, and it can apply to the device of conformance with standard interface specification, and the present invention meets the device of ATA or ATAPI specification except that applying to.Also can apply to other and contain the standard commands of not utilizing parameter.
See also Fig. 5, it is the process flow diagram of another preferred embodiment of the present invention, and utilization of the present invention comprises a plurality of standard commands of not utilizing parameter, orders about the standard interface device and carries out non-standard incident.At first, shown in step S22, a plurality of parameters of not utilizing of established standards order are an activation parameter and an execution parameter, see also Fig. 6, Sector Count working storage parameter, LBA Low working storage parameter and the LBA Mid working storage parameter of promptly setting the NOP standard commands respectively are 01h, 02h, 03h in regular turn, with as activation parameter, setting LBA High working storage parameter in addition is 32h, with as execution parameter.
Then, shown in step S24, assign comprise this activation parameter and this execution parameter standard commands in the standard interface device; Afterwards, promptly further according to step S26, store activation parameter and execution parameter in the corresponding working storage of this standard interface device, control module detecting for this standard interface device, carry out this non-standard incident with the affirmation desire, and then carry out the non-standard incident of corresponding execution parameter, promptly carry out tough body renewal.
In sum, the present invention drives the method that the standard interface device is carried out non-standard incident relevant for a kind of, the parameter of not utilizing of its established standards order is activation parameter, detect this activation parameter for this standard interface device, to confirm to carry out non-standard incident, thus, avoid under unexpected situation, carrying out non-standard incident; Afterwards, this that set this standard commands do not utilize parameter to be execution parameter, detects this execution parameter for this standard interface device, to carry out this corresponding non-standard incident, thus, the order that provides another pipeline to set corresponding non-standard incident is in order to promote the elasticity of using.

Claims (7)

1, a kind ofly drive the method that the standard interface device is carried out non-standard incident, it is characterized in that, utilize to comprise at least one at least one standard commands of not utilizing parameter, order a standard interface device to carry out a non-standard incident, this method comprises the following step:
It is an execution parameter that this that set this standard commands do not utilize parameter; And
Assign comprise this execution parameter this standard commands in this standard interface device, store the working storage of this execution parameter in this standard interface device correspondence, one control module of this standard interface device of confession is detected this execution parameter of this temporary memory stores, to carry out this corresponding non-standard incident.
2, driving standard interface device as claimed in claim 1 is carried out the method for non-standard incident, it is characterized in that, before this that set this standard commands do not utilize parameter to be the step of an execution parameter, more comprises the following step:
At least one parameter of not utilizing of setting another standard commands is an activation parameter; And
Assign comprise this activation parameter this standard commands in this standard interface device, store the working storage of this activation parameter in this standard interface device correspondence, this control module of this standard interface device of confession is detected this activation parameter of this temporary memory stores, carries out this non-standard incident to confirm desire.
3, driving standard interface device as claimed in claim 1 is carried out the method for non-standard incident, it is characterized in that, this standard interface device is the device of an ATA specification.
4, driving standard interface device as claimed in claim 1 is carried out the method for non-standard incident, it is characterized in that, this standard interface device is the device of an ATAPI specification.
5, a kind ofly drive the method that the standard interface device is carried out non-standard incident, it is characterized in that, utilize to comprise a plurality of standard commands of not utilizing parameter, order a standard interface device to carry out a non-standard incident, this method comprises the following step:
It is an activation parameter and an execution parameter that this that set this standard commands do not utilize parameter; And
Assign comprise this activation parameter and this execution parameter this standard commands in this standard interface device, store the working storage of this activation parameter in this standard interface device correspondence, detect this activation parameter of this temporary memory stores for a control module of this standard interface device, and store this execution parameter in a working storage of this standard interface device correspondence, detect this execution parameter of this temporary memory stores for this control module, carry out this non-standard incident with the affirmation desire, and carry out this corresponding non-standard incident.
6, driving standard interface device as claimed in claim 5 is carried out the method for non-standard incident, it is characterized in that, this standard interface device is the device of an ATA specification.
7, driving standard interface device as claimed in claim 5 is carried out the method for non-standard incident, it is characterized in that, this standard interface device is the device of an ATAPI specification.
CNB2004100988756A 2004-12-13 2004-12-13 Method for actuating standard interface devices perform non-standard events Active CN100349146C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100988756A CN100349146C (en) 2004-12-13 2004-12-13 Method for actuating standard interface devices perform non-standard events

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100988756A CN100349146C (en) 2004-12-13 2004-12-13 Method for actuating standard interface devices perform non-standard events

Publications (2)

Publication Number Publication Date
CN1622066A CN1622066A (en) 2005-06-01
CN100349146C true CN100349146C (en) 2007-11-14

Family

ID=34766683

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100988756A Active CN100349146C (en) 2004-12-13 2004-12-13 Method for actuating standard interface devices perform non-standard events

Country Status (1)

Country Link
CN (1) CN100349146C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100378699C (en) * 2005-06-22 2008-04-02 威盛电子股份有限公司 Method for reading and writing non-standard temporary register in standard interface devices
CN100397371C (en) * 2006-02-15 2008-06-25 威盛电子股份有限公司 Method for identifying bridge
CN100445970C (en) * 2006-03-21 2008-12-24 威盛电子股份有限公司 Method for determining bridging device identity
CN100380349C (en) * 2006-03-21 2008-04-09 威盛电子股份有限公司 Method for determining sequence stepping technology connecting standard (SATA) bridging device identity
CN101387942A (en) * 2008-10-08 2009-03-18 矽创电子股份有限公司 Method for controlling non-standard apparatus by standard command
CN101478768A (en) * 2009-01-24 2009-07-08 中兴通讯股份有限公司 Network management system and network equipment management method based on non-standard interface

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5579529A (en) * 1993-12-30 1996-11-26 Ncr Corporation Method for configuring computer peripherals
CN1414487A (en) * 2001-10-24 2003-04-30 建兴电子科技股份有限公司 Method of controlling disk machine speed throkgh judging transmission method of computer interface
WO2004025458A1 (en) * 2002-09-16 2004-03-25 Koninklijke Philips Electronics N.V. Command set for removable rewritable computer storage

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5579529A (en) * 1993-12-30 1996-11-26 Ncr Corporation Method for configuring computer peripherals
CN1414487A (en) * 2001-10-24 2003-04-30 建兴电子科技股份有限公司 Method of controlling disk machine speed throkgh judging transmission method of computer interface
WO2004025458A1 (en) * 2002-09-16 2004-03-25 Koninklijke Philips Electronics N.V. Command set for removable rewritable computer storage

Also Published As

Publication number Publication date
CN1622066A (en) 2005-06-01

Similar Documents

Publication Publication Date Title
CN101908379B (en) Adjusting access of non-volatile semiconductor memory based on access time
US9171643B2 (en) Solid state drive tester
EP2564285B1 (en) Phased nand power-on reset
EP2310948A1 (en) A storage device for mounting to a host
CN100349146C (en) Method for actuating standard interface devices perform non-standard events
US20140047287A1 (en) Solid state drive tester
CN109656833B (en) Data storage device
KR102192198B1 (en) Electronic device and communication method
US7657699B2 (en) Device and method for monitoring operation of a flash memory
CN108628543B (en) Garbage collection method and device using same
US9811436B2 (en) Visual indicator for portable device
CN108733580A (en) Method for scheduling read commands
US11455186B2 (en) Controller and memory system having the same
US7721016B2 (en) Method for using host controller to solicit a command failure from target device in order to initiate re-enumeration of the target device
CN108241468B (en) IO command processing method and solid-state storage device
CN102033713A (en) Electronic system, controller and data transmission method
CN112732170A (en) Controller and data storage system having the same
CN100378699C (en) Method for reading and writing non-standard temporary register in standard interface devices
CN107870779A (en) Dispatching method and device
CN100377133C (en) Method for connecting read-write squeece technology to non-standard temporary storage in normalized device
CN109658964A (en) The method for writing data and device of flash memories store equipment and storage medium
CN108241585B (en) High-capacity NVM interface controller
CN201278146Y (en) ATA interface signal capturing apparatus implemented based on FPGA
CN107783917B (en) Method and device for generating NVM chip interface command
CN101976100B (en) Asynchronous expansion system compatible with PCI (Programmable Communications Interface) interface

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant