CN103823447B - A communication method and a communication system subordinate unit semiconductor devices - Google Patents

A communication method and a communication system subordinate unit semiconductor devices Download PDF

Info

Publication number
CN103823447B
CN103823447B CN201410076579.XA CN201410076579A CN103823447B CN 103823447 B CN103823447 B CN 103823447B CN 201410076579 A CN201410076579 A CN 201410076579A CN 103823447 B CN103823447 B CN 103823447B
Authority
CN
China
Prior art keywords
register
flag
status
state
instruction
Prior art date
Application number
CN201410076579.XA
Other languages
Chinese (zh)
Other versions
CN103823447A (en
Inventor
王凯
周峰
张航
慕晓航
Original Assignee
北京七星华创电子股份有限公司
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 北京七星华创电子股份有限公司 filed Critical 北京七星华创电子股份有限公司
Priority to CN201410076579.XA priority Critical patent/CN103823447B/en
Publication of CN103823447A publication Critical patent/CN103823447A/en
Application granted granted Critical
Publication of CN103823447B publication Critical patent/CN103823447B/en

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

本发明公开了半导体设备上下位机的通信系统,其中所述下位机包括用于接收上位机指令的指令接收寄存器;用于接收来自所述指令接收寄存器的指令以驱动半导体设备的执行机构执行相应动作的动作执行寄存器;用于配置工作状态标志位的标志位配置模块,其中工作状态标志位表示所述执行机构的工作状态;以及用于读取并根据所述工作状态标志位控制指令接收寄存器将接收的指令写入或不写入动作执行寄存器的控制模块。 The present invention discloses a communication system of the semiconductor device lower position machine, wherein the machine comprises a lower receiving instructions for receiving commands from the host register; means for receiving instructions from said instruction register for receiving a semiconductor device to drive the actuator performs a corresponding operation register actions performed; flag configuration module is used to configure the operating state of the flag, wherein the flag indicates the operating state of the operating state of the actuator; and a control command for reading and working according to the received status flag register the received write instruction or a write operation execution control block register. 本发明还提供了一种通信方法,能够提高设备的安全性和可靠性。 The present invention also provides a communication method capable of improving the safety and reliability of the equipment.

Description

半导体设备的上下位机的通信方法和通信系统 A communication method and a communication system subordinate unit semiconductor devices

技术领域 FIELD

[0001]本发明涉及通信领域,特别涉及一种半导体设备的上下位机之间的通信方法。 [0001] The present invention relates to communication field, especially relates to a communication method between upper and lower dryer of a semiconductor device.

背景技术 Background technique

[0002]目前大部分国产半导体设备采用“上位机PC+下位机”的控制架构。 [0002] At present most of the domestic semiconductor device using "PC PC + lower machine" control architecture. 其中上位机与下位机的交互通信是通过上位机向下位机存储器写值的方法将控制指令传达给下位机,由下位机直接驱动执行机构动作。 Wherein the method of interactive communication between PC and lower machine is downwardly through the PC memory write bit machine control command value is communicated to the lower machine by the lower actuator direct drive operation. 而传感器等状态反馈信号则是由下位机采集并存储到相应寄存器,由上位机定期通过读取这些寄存器获得。 State and sensor feedback signal is collected by the lower machine and stored in the corresponding register, by obtaining from the host computer periodically reads these registers.

[0003]然而,采用这种通信方法的缺点在于:首先,上位机需要占用大量资源来定期读取寄存器中的反馈信号;其次,定期读取机制导致反馈信息获取滞后;此外,上位机将动作指令写入到下位机寄存器,下位机直接通过该寄存器的值驱动执行机构动作存在安全隐患,降低了设备的安全性和可靠性。 [0003] However, a disadvantage is that the use of this method of communication: First, resource-intensive PC to read the feedback signal register periodically; secondly, periodically reads the feedback information acquiring mechanism leading to hysteresis; In addition, the operation of the host computer instruction that writes to the lower register machine, there are security risks lower machine directly by the action of the register value of the drive actuator, reducing the safety and reliability of the equipment.

[0004]因此,有必要提出一种能够节约上位机内存资源、提高执行机构和传感器反馈的响应速度以及提高设备的可靠性的上下位机通信方法。 [0004] Accordingly, it is necessary to provide a PC can save memory resources, and improve the response speed of the actuator and the reliability of the sensor feedback unit communication apparatus improved method.

发明内容 SUMMARY

[0005]本发明的主要目的旨在提供一种半导体设备上下位机的通信系统和通信方法,以改善上述缺陷。 [0005] The main object of the present invention is to provide a semiconductor device subordinate unit, and a communication method for a communication system to improve the above-mentioned drawbacks.

[0006]为达成上述目的,本发明提供一种半导体设备上下位机的通信系统,包括上位机和下位机,其中,所述上位机向所述下位机写入指令,所述下位机向所述上位机发送半导体设备的执行机构的状态反馈信息。 [0006] To achieve the above object, the present invention provides a semiconductor device lower position machine communication system, comprising upper and lower machine, wherein said host computer to said lower computer write instruction, the lower the machine to host sends said actuator state feedback information of the semiconductor device. 所述下位机包括指令接收寄存器,用于接收所述上位机所写入的指令;动作执行寄存器,用于接收来自所述指令接收寄存器的指令以驱动所述半导体设备的执行机构执行相应动作;标志位配置模块,用于配置工作状态标志位,所述工作状态标志位表示所述执行机构的工作状态;以及控制模块,用于读取并根据所述工作状态标志位控制所述指令接收寄存器将其接收的指令写入或不写入所述动作执行寄存器。 The lower unit comprises a register receiving the instruction, the host computer instructions for receiving the written; action execution register for receiving an instruction from said instruction register receiving the operation to perform the corresponding actuator drive the semiconductor device; flag configuration module for configuring the operating state flag, the operating status flag indicates the operating state of the actuator; and a control module for reading and controlling the instruction according to the received operation state flag register it receives the write command or the write operation execution register.

[0007]优选地,当所述控制模块读取的所述工作状态标志位为第一标志位时,其控制所述指令接收寄存器将接收的指令写入所述动作执行寄存器,同时将所述第一标志位变更为第二标志位;当所述控制模块读取的所述工作状态标志位为所述第二标志位时,其控制所述指令接收寄存器将接收的指令清零;其中所述第一标志位表示所述执行机构的工作状态为空闲,所述第二标志位表示所述执行机构的工作状态为工作中。 [0007] Preferably, when the operating state of the control module reads the flag is a first flag bit that controls the instruction register receiving instructions to write the received action execution register, while the the first flag is changed to a second flag; when the read control module operating status flag to the second flag bit that controls the instruction register receiving instructions received cleared; wherein said first flag bit indicates that the actuator is idle operating state, the second flag bit indicates the operating state of the actuator for work.

[0008]优选地,当所述执行机构的动作完成时,所述控制模块将所述第二标志位变更为所述第一标志位,同时将所述动作执行寄存器清零。 [0008] Preferably, when the completion of the operation of the actuator, the control module is changed to the second flag bit of the first flag bit, while performing an operation will clear the register.

[0009]优选地,所述下位机还包括临时状态寄存器和反馈状态寄存器,其中所述临时状态寄存器用于更新所述下位机所采集的状态反馈信息;所述控制模块判断所述反馈状态寄存器和临时状态寄存器中的状态反馈信息不同时,将所述临时状态寄存器所更新的状态反馈信息赋予所述反馈状态寄存器;所述反馈状态寄存器将其被赋予的状态反馈信息发送至所述上位机。 [0009] Preferably, the machine further comprising a lower and temporary status register STATUS register, wherein said temporary state for updating the status register lower computer collected feedback information; said control module determines said feedback status register and temporary status register status feedback information is not the same, the temporary status register updated state feedback information to the feedback given to the status register; said feedback status register which is assigned to the state feedback information to the host computer .

[0010]优选地,所述下位机初始化时,所述控制模块将所述反馈状态寄存器清零。 [0010] Preferably, when the lower computer initialization, the feedback control module sets the status register is cleared.

[0011]优选地,所述状态反馈信息的数据帧头字符用于定义该状态反馈信息的类型,所述上位机根据所述数据帧头字符对所述状态反馈信息进行解析。 Data header characters [0011] Preferably, the status feedback information is used to define the type of state feedback information, the host computer according to the data header analyzing feedback information to the character state.

[0012]本发明还提供了一种半导体设备上位机和下位机的通信方法,包括通过所述上位机向所述下位机的指令接收寄存器写入所述指令;以及根据所述工作状态标志位决定是否将所述指令接收寄存器模块接收的指令写入所述动作执行寄存器。 [0012] The present invention also provides a communication method of a semiconductor device and slave host computer, comprising the receiving register write command by said host computer to said lower machine instructions; and a flag bit in accordance with the operation state to decide whether the instruction register receiving instructions received action execution module writes the register.

[0013]优选地,当所述工作状态标志位为第一标志位时,将所述指令接收寄存器所接收的指令写入所述动作执行寄存器,同时将所述第一标志位变更为第二标志位;当所述工作状态标志位为第二标志位时,将所述指令接收寄存器所接收的指令清零;其中所述第一标志位表示所述执行机构的工作状态为空闲,所述第二标志位表示所述执行机构的工作状态为工作中。 [0013] Preferably, when the flag bit is a first operation state flag, said instruction register receiving instructions to write the received action execution register while the first flag is changed to the second flag; when the operation state of the second flag bit flag, said instruction register receiving instructions received cleared; wherein said first flag bit indicates the operating state of the actuator is idle, said the second flag bit indicates the operating state of the actuator for work.

[0014]优选地,当所述执行机构的动作完成时,将所述第二标志位变更为所述第一标志位,同时将所述动作执行寄存器清零。 [0014] Preferably, when the actuator operation is completed, the second flag bit is changed to the first flag operation performed while the register is cleared.

[0015]优选地,所述通信方法还包括将所述下位机所采集的状态反馈信息更新至所述临时状态寄存器;判断所述反馈状态寄存器和临时状态寄存器中的状态反馈信息是否相同;若不相同,则将所述临时状态寄存器所更新的状态反馈信息赋予所述反馈状态寄存器并发送至所述上位机。 [0015] Preferably, the communication method further comprises the lower machine status acquired feedback information to update the temporary status register; state determining status register and the feedback register is a temporary state feedback information is identical; if They are not the same, updating the status register is a temporary state feedback information will be given to the status register and transmits the feedback to the host computer.

[0016]优选地,在将所述下位机所采集的状态反馈信息更新至所述临时状态寄存器之前,还包括初始化所述下位机并将所述反馈状态寄存器清零的步骤。 [0016] Preferably, in the lower machine status acquired feedback information prior to the temporary updating status register, and further comprising the step of said machine bit STATUS register is cleared at the initializing.

[0017]优选地,所述上位机根据其接收的状态反馈信息的数据帧头字符对所述状态反馈信息进行解析,其中所述数据帧头字符定义该状态反馈信息的类型。 [0017] Preferably, according to the state of the host computer that receives feedback data header information of character information feedback analyzing the state, wherein the character data defines the type of the header state feedback information.

[0018]本发明所提出的半导体设备上下位机的通信系统和方法,可以有效避免执行机构执行动作指令混乱而造成设备和人身伤害,提高设备的安全性和可靠性;此外也可以有效节省上位机的内存资源,对传感器等状态反馈信号的处理也更加及时高效。 [0018] The communication system and method of the semiconductor device of upper and lower machine proposed by the present invention can effectively prevent the actuator operation command execution device and confusion caused by injury, improve safety and reliability of the equipment; furthermore may effectively save the host machine memory resources, processing of the signals of state sensors are more efficient and timely feedback.

附图说明 BRIEF DESCRIPTION

[0019]图1为本发明一实施例的半导体设备上下位机的通信系统的方块图; [0019] FIG. 1 a block diagram of a semiconductor device of the upper and lower machine communication system according to an embodiment of the present invention;

[0020]图2为本发明半导体设备的上位机向下位机发送指令的流程图; PC [0020] the present invention, a semiconductor device 2 downward position flowchart sends instructions;

[0021]图3为本发明另一实施例的半导体设备上下位机的通信系统的方块图; [0021] FIG 3 a block diagram of a communication system of a semiconductor device of the upper and lower machine according to another embodiment of the present invention;

[0022]图4为本发明半导体设备的下位机向上位机发送状态反馈信息的流程图。 Information flowchart lower machine sends status to the upper [0022] FIG. 4 of the semiconductor device of the present invention, feedback.

具体实施方式 Detailed ways

[0023]为使本发明的内容更加清楚易懂,以下结合说明书附图,对本发明的内容作进一步说明。 [0023] To make the present invention more clearly understood, the following description in conjunction with the accompanying drawings, the present invention will be further described. 当然本发明并不局限于该具体实施例,本领域内的技术人员所熟知的一般替换也涵盖在本发明的保护范围内。 Of course, the present invention is not limited to this specific example embodiments, those skilled in the art generally known alternative also encompassed within the scope of the present invention.

[0024]图1为本发明半导体设备上下位机的通信系统的方块图。 [0024] FIG. 1 a block diagram of a semiconductor device of the upper and lower machine communication system of the present invention. 半导体设备上下位机的通信系统包括上位机10和下位机20,上位机10将指令发送给下位机20,由下位机20驱动半导体设备的执行机构30执行相应动作。 The semiconductor device of the upper and lower machine communication system 10 includes a host computer 20 and slave, the host computer 10 sends instructions to the 20-bit machine, the corresponding action performed by the institution of the driver bit 20 of the semiconductor device 30. 其中,下位机20包括指令接收寄存器(Dl)21、动作执行寄存器(D2)22、控制模块23以及标志位配置模块24。 Wherein the lower machine 20 includes an instruction register receiving (Dl) 21, an operation execution register (D2) 22, control module 23 and configuration module 24 flags. 其中,指令接收寄存器21用于接收上位机10所写入的指令;动作执行寄存器22与指令接收寄存器21相连,用于接收来自指令接收寄存器21的指令以驱动半导体设备的执行机构30执行相应动作;标志位配置模块24用于配置表示执行机构的工作状态的工作状态标志位X,并且工作状态标志位X与动作执行寄存器22的值存在对应关系,如本实施例中当执行机构30的工作状态为空闲时,工作状态标志位X = Free,动作执行寄存器22中的值为O;当执行机构30的工作状态为工作中,则工作状态标志位X = Busy,动作执行寄存器22中的值不为O ;控制模块23与标志位配置模块24和指令接收寄存器21相连,用于读取工作状态标志位X,并根据工作状态标志位对空制指令接收寄存器21是否将接收的指令写入动作执行寄存器22以传达给执行机构30。 Wherein, the instruction register 21 receives the instructions for receiving the host computer 10 is written; action execution register 22 is connected to receive the instruction register 21 for receiving an instruction from the actuator receiving the instruction register 21 to drive the semiconductor device 30 performs the corresponding action ; flag configuration module 24 to configure the operating state of the actuator showing the operating state of the flag X, X and the working state and the operation execution flag corresponding relationship exists between the value of the register 22, as in Example 30 when the actuator of the present embodiment work idle state, the operating state flag X = free, actions to be performed in the register 22 is O; when the operating state of the actuator 30 for work, the operating state flag X = Busy, the value of the register 22 performs an operation not is O; control module 23 receives the flag configuration module 24 and connected to the instruction register 21, for reading the working status flag X, and receives a braking instruction register empty bit 21 according to the operating state of the flag whether the received write instruction action execution register 22 to the actuator 30 to communicate.

[0025]图2为半导体设备的上位机向下位机发送指令的流程图,以下将结合图1和图2对本发明第一实施例的半导体设备上下位机的通信方法进行说明。 [0025] FIG 2 is a flowchart of the semiconductor device PC sends the instruction bit down below in conjunction with FIGS. 1 and 2, a communication method of a semiconductor device according to a first embodiment of the vertical position of the embodiment of the present invention will be described.

[0026]首先,上位机将指令代码写入到下位机的指令接收寄存器Dl后,控制模块23读取工作状态标志位X,若工作状态标志位X = Free,则说明执行机构30处于空闲中,控制模块23控制指令接收寄存器Dl将指令代码写入到执行机构动作寄存器D2,执行机构动作寄存器22可驱动执行机构30进行该指令对应的动作,同时控制模块23将标志位配置模块24中的工作状态标志位X变更为X = Busy。 After [0026] First, the host computer instruction code written to the next crew command receive register Dl, control module 23 reads the operation state flag X, if the operating state of the flag X = Free, then the actuator 30 is in the idle state the control module 23 receives the control instruction code into the instruction register Dl to the actuator operation register D2, the operation of the actuator 22 may drive the actuator registers 30 corresponding to the command operation, the control module 23 while the flag configuration module 24 work status flag X to X = Busy. 直到执行机构30的动作执行结束后,控制模块23将执行机构动作寄存器D2中的值清零,同时将工作状态标志位)(恢复为X = Free。之后再进行上位机的再一次指令写入。 The operation of the actuator 30 until the end of execution, the control module 23 will perform zero reset mechanism in the operation of register D2, while the operating state flag) (return to X = Free. After then PC command write once again .

[0027]另一方面,若工作状态标志位X = Busy,说明此时执行机构仍在执行动作,则控制模块将上位机指令接收寄存器Dl中的值清零,重新由上位机写入指令、进行工作状态标志位的判断。 [0027] On the other hand, if the operating state of the flag X = Busy, still executing instructions at this time the actuator operation, the control module receives the commands from the host clears the value in register Dl, re-written by commands from the host, to judge the work of the state flag. 直到执行机构30将动作执行结束后,控制模块23才将工作状态标志位恢复为X =Free,同时将动作执行寄存器D2清零。 After the end of the operation performed up to 30 actuator, the control module 23 will only restore operation state flag X = Free, while the operation performed D2 register is cleared. 此后指令接收寄存器Dl所接收的指令可写入动作执行寄存器D2,来驱动执行机构30进行下一步动作。 After receiving the instruction received by instruction register Dl write operation may be performed register D2, to the drive mechanism 30 performs the next operation.

[0028]由以上可知,通过上述的上位机向下位机发送指令的方法,通过将指令接收寄存器和动作执行寄存器分开,当执行机构仍在进行动作执行时,不会将上位机发送的指令发送给动作执行寄存器,因此可以有效避免执行机构执行混乱的动作指令而造成的设备和人身伤害,提高设备的安全性和可靠性。 [0028] From the above, the above-described method of transmitting an instruction by the host computer machine down position, by receiving the instruction register and a separate action execution register, when the actuator operates is still performed, does not send the command sent by the host computer to action execution register, so they can avoid implementing agencies involved in the chaos caused by the operation command equipment and personal injury, improve security and reliability of the equipment.

[0029]在本发明的另一较佳实施例中,下位机还可主动向上位机发送传感器等状态反馈信息。 [0029] In another embodiment of the present invention, in preferred embodiments, the lower bits up state machine may further active sensor sends feedback information. 图3和图4为本实施例的通信系统方块图和下位机向上位机发送状态反馈信息的流程图。 Figures 3 and 4 is a block diagram of a communication system according to the upper and lower machine transmits state information feedback flowchart of the present embodiment.

[0030] 如图3所示,下位机中还包括反馈状态寄存器(D3)25和临时状态寄存器(D4)26(图1中的指令接收寄存器Dl、动作执行寄存器D2和标志位配置模块等并未示出)。 [0030] 3, the machine further comprising a lower STATUS register (D3) 25 and temporary status registers (D4) 26 (FIG. 1 receives the instruction register Dl, D2 and action execution flag register configuration module and not shown). 其中临时状态寄存器26用于更新下位机所采集的状态反馈信息;控制模块与临时状态寄存器26和反馈状态寄存器25相连,其判断两个寄存器中的状态反馈信息为不同时,将临时状态寄存器26所更新的状态反馈信息赋予反馈状态寄存器25。 Wherein the temporary register 26 for updating the status bit state machine collected feedback information; and a control module 26 and the temporary status registers connected to STATUS register 25, which determines the state of two registers in the feedback information is not the same, the temporary status register 26 the updated state information providing feedback sTATUS register 25. 反馈状态寄存器25将其被赋予的状态反馈信息发送至上位机。 STATUS register 25 to be given state feedback information transmitted to the upper unit.

[0031]具体来说,如图4所示,下位机利用自带的通讯指令主动给上位机发送状态反馈信息,其“主动”发送的方法如下:首先在下位机初始化时将反馈状态寄存器D3清零,并将采集到的状态反馈信息更新到临时状态寄存器D4中。 [0031] Specifically, as shown, the lower unit 4 using its own active communication command sends feedback information to the host state, the "active" method of transmission is as follows: First, the STATUS register bits during the next machine initializes D3 It is cleared, and the collected feedback information update status register D4, to the transient state. 接着判断反馈状态寄存器D3和临时状态寄存器D4中的值是否相等,若D3与D4中的值不相等,则将临时状态寄存器D4中的值赋给反馈状态寄存器D3,同时由反馈状态寄存器D3执行一次“主动”发送将状态反馈信息发送给上位机。 Then determines the status register value of the feedback D3 and D4 in the temporary status registers are equal, when the value of D3 and D4 are not equal, then the value of the temporary status register D4, D3 assigned to feedback status register, the status register simultaneously performed by the feedback D3 an "active" state will send feedback information to the host computer. 而上位机则通过事件触发机制对其进行处理。 The PC is an event-triggered mechanism to process it. 若D3与D4中的值相等,则说明状态反馈信息未发生变化,则下位机继续将采集到的状态反馈信息更新到临时状态寄存器D4,并判断若D3与D4中的值是否相等。 If the value of D3 and D4 are equal, then the status feedback information is not changed, it continues to the next bit machine status acquired feedback information to update the temporary status register D4, and determines if the value of D3 and D4, are equal. 有以上可知,通过该状态反馈信息发送方法,当状态反馈信息发生变化时,下位机主动将变化的状态反馈信息发送至上位机,可以有效节省上位机的内存资源,对传感器等状态反馈信号的处理也更加及时高效。 There above, the information transmission method by the state feedback, when the state feedback information changes, the next crew actively changing the state feedback information transmitted to the upper unit, can effectively save memory resources host machine, the state of sensor feedback signal processing and more timely and efficient. 进一步的,为了区分不同类型的状态反馈信息,将状态反馈信息数据帧的第一个字节定义为“头字符”,其值对应了该状态反馈信息的类型,由此上位机可根据数据帧头字符的值的不同而按照不同的类型来解析该状态反馈信息。 Further, in order to distinguish different types of state feedback information, the first byte of the state feedback information of the data frame is defined as "the first character" whose value corresponds to the type of the state information feedback, whereby the PC according to the data frame head character varies according to different types of analysis values ​​of the state information feedback. 通过该方法,可以进一步提高上位机对反馈信号的响应速度和处理效率。 By this method, it is possible to further improve the response speed and processing efficiency of the host computer to the feedback signal.

[0032]综上所述,本发明的半导体设备的上下位机的通信系统和通信方法,通过将下位机的指令接收寄存器和动作执行寄存器分开,根据执行机构的工作状态决定是否要将上位机指令传达给执行机构,可以有效避免执行机构指令执行混乱而造成设备和人身伤害,也由此可提高设备的安全性和可靠性。 [0032] In summary, the communication system of the upper and lower unit semiconductor device and a communication method according to the present invention, by separating the lower machine instruction operation and execution registers receive register, in accordance with the operating state of the actuator determines whether to PC instructions communicated to the implementing agencies, implementing agencies can effectively avoid the confusion caused by instruction execution equipment and personal injury, and thus can improve the safety and reliability of the equipment.

[0033]虽然本发明已以较佳实施例揭示如上,然所述诸多实施例仅为了便于说明而举例而已,并非用以限定本发明,本领域的技术人员在不脱离本发明精神和范围的前提下可作若干的更动与润饰,本发明所主张的保护范围应以权利要求书所述为准。 [0033] While the present invention has been disclosed in the preferred embodiment as described above, then the many embodiments for illustrative purposes only and example only, not intended to limit the present invention, those skilled in the art without departing from the spirit and scope of the invention may be made under the premise of a number of alterations and modifications, the scope of the present invention as claimed in the claims should prevail.

Claims (12)

1.一种半导体设备上位机和下位机的通信系统,包括上位机和下位机,其特征在于,所述下位机包括: 指令接收寄存器,用于接收所述上位机所写入的指令; 动作执行寄存器,用于接收来自所述指令接收寄存器的指令以驱动所述半导体设备的执行机构执行相应动作; 标志位配置模块,用于配置工作状态标志位,所述工作状态标志位表示所述执行机构的工作状态;以及控制模块,用于读取并根据所述工作状态标志位控制所述指令接收寄存器将其接收的指令写入或不写入所述动作执行寄存器。 1. A communication system for a semiconductor device and slave host computer, including the upper and lower machine, characterized in that the lower machine comprising: receiving an instruction register for receiving said instruction written by the host computer; operation execution register for receiving an instruction from said instruction register receiving the actuator to drive the semiconductor device performs the corresponding operation; flag configuration module for configuring the operating state flag, the operating status flag indicates the execution mechanism operating state; and a control module for reading and controlling the instruction according to the received operation state flag register which receives the write command or the write operation execution register.
2.根据权利要求1所述的通信系统,其特征在于, 当所述控制模块读取的所述工作状态标志位为第一标志位时,其控制所述指令接收寄存器将接收的指令写入所述动作执行寄存器,同时将所述第一标志位变更为第二标志位; 当所述控制模块读取的所述工作状态标志位为所述第二标志位时,其控制所述指令接收寄存器将接收的指令清零;其中所述第一标志位表示所述执行机构的工作状态为空闲,所述第二标志位表示所述执行机构的工作状态为工作中。 The communication system according to claim 1, wherein, when the control module reads the operation state flag is a first flag bit that controls the instruction register receiving the write command received the action execution register while the first flag is changed to a second bit flag; and when the read control module operating status flag to the second flag bit that controls the command receiving the register clears the received instruction; wherein the first flag bit indicates that the actuator is idle operating state, the second flag bit indicates the operating state of the actuator for the work.
3.根据权利要求2所述的通信系统,其特征在于,当所述执行机构的动作完成时,所述控制模块将所述第二标志位变更为所述第一标志位,同时将所述动作执行寄存器清零。 3. The communication system according to claim 2, wherein, when the operation of the actuator is completed, the control module is changed to the second flag bit of the first flag bit, while the action execute register is cleared.
4.根据权利要求1所述的通信系统,其特征在于,所述下位机还包括临时状态寄存器和反馈状态寄存器,其中所述临时状态寄存器用于更新所述下位机所采集的状态反馈信息;所述控制模块判断所述反馈状态寄存器和临时状态寄存器中的状态反馈信息不同时,将所述临时状态寄存器所更新的状态反馈信息赋予所述反馈状态寄存器;所述反馈状态寄存器将其被赋予的状态反馈信息发送至所述上位机。 4. The communication system according to claim 1, wherein said lower unit further includes a temporary register and a status register STATUS, wherein said temporary status register bits for updating the state machine feedback information collected; the control module determines sTATUS registers and temporary registers in the feedback status feedback information is not the same, the temporary status register updated state feedback information to the feedback given to the status register; said feedback status register which is assigned state feedback information to the host computer.
5.根据权利要求4所述的通信系统,其特征在于,所述下位机初始化时,所述控制模块将所述反馈状态寄存器清零。 The communication system as claimed in claim 4, wherein, when the lower computer initialization, the feedback control module sets the status register is cleared.
6.根据权利要求4所述的通信系统,其特征在于,所述状态反馈信息的数据帧头字符用于定义该状态反馈信息的类型,所述上位机根据所述数据帧头字符对所述状态反馈信息进行解析。 6. A communication system according to claim 4, characterized in that the header data of the character type of the status feedback information for defining the state feedback information, the header data of the host computer according to the character status feedback for resolution.
7.—种根据权利要求1所述的半导体设备上位机和下位机的通信系统进行通信的方法,包括: 通过所述上位机向所述下位机的指令接收寄存器写入所述指令;以及根据所述工作状态标志位决定是否将所述指令接收寄存器模块接收的指令写入所述动作执行寄存器。 7.- method of communicating communication system according to an upper and lower semiconductor device as claimed in claim bit machine, comprising: receiving via said host machine to the lower machine instructions into said instruction register; and The the operating state of the flag determines whether an instruction register receiving instructions received action execution module writes the register.
8.根据权利要求7所述的方法,其特征在于, 当所述工作状态标志位为第一标志位时,将所述指令接收寄存器所接收的指令写入所述动作执行寄存器,同时将所述第一标志位变更为第二标志位; 当所述工作状态标志位为第二标志位时,将所述指令接收寄存器所接收的指令清零;其中所述第一标志位表示所述执行机构的工作状态为空闲,所述第二标志位表示所述执行机构的工作状态为工作中。 8. The method according to claim 7, wherein, when the operating state of a first flag is flag bits, the instruction register receiving instructions to write the received action execution register, while the said first flag is changed to a second bit flag; and when the operation state of the second flag bit flag, said instruction register receiving instructions received cleared; wherein the first flag indicates the execution means for idle operation state, the second flag bit indicates the operating state of the actuator for the work.
9.根据权利要求8所述的方法,其特征在于,当所述执行机构的动作完成时,将所述第二标志位变更为所述第一标志位,同时将所述动作执行寄存器清零。 9. The method according to claim 8, wherein, when the operation of the actuator is completed, the second flag bit is changed to the first flag, will also clear the register operation performed .
10.—种根据权利要求4所述的半导体设备上位机和下位机的通信系统进行通信的方法,其特征在于,包括: 将所述下位机所采集的状态反馈信息更新至所述临时状态寄存器; 判断所述反馈状态寄存器和临时状态寄存器中的状态反馈信息是否相同; 若不相同,则将所述临时状态寄存器所更新的状态反馈信息赋予所述反馈状态寄存器并发送至所述上位机。 10.- communication method of a semiconductor device and the host computer communication system of claim 4 lower machine as claimed in claim, characterized in that, comprising: the lower machine status acquired feedback information to update the temporary status register ; determining the status register sTATUS in the status register and a temporary information is identical to the feedback; if not the same, then the temporary status register updated state feedback information to the feedback given to the status register and transmit to the host computer.
11.根据权利要求10所述的方法,其特征在于,在将所述下位机所采集的状态反馈信息更新至所述临时状态寄存器之前,还包括初始化所述下位机并将所述反馈状态寄存器清零的步骤。 11. Before the method according to claim 10, characterized in that the lower machine status acquired feedback information to update the temporary status register, further comprising initializing the machine and lower the STATUS register step clear.
12.根据权利要求10所述的方法,其特征在于,所述上位机根据其接收的状态反馈信息的数据帧头字符对所述状态反馈信息进行解析,其中所述数据帧头字符定义该状态反馈信息的类型。 12. The method according to claim 10, wherein said header data character PC feedback information feedback information analyzing the state based on the reception state, wherein the character data defines the status of the header feedback type of information.
CN201410076579.XA 2014-03-04 2014-03-04 A communication method and a communication system subordinate unit semiconductor devices CN103823447B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410076579.XA CN103823447B (en) 2014-03-04 2014-03-04 A communication method and a communication system subordinate unit semiconductor devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410076579.XA CN103823447B (en) 2014-03-04 2014-03-04 A communication method and a communication system subordinate unit semiconductor devices

Publications (2)

Publication Number Publication Date
CN103823447A CN103823447A (en) 2014-05-28
CN103823447B true CN103823447B (en) 2016-06-01

Family

ID=50758559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410076579.XA CN103823447B (en) 2014-03-04 2014-03-04 A communication method and a communication system subordinate unit semiconductor devices

Country Status (1)

Country Link
CN (1) CN103823447B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108845537A (en) * 2018-06-08 2018-11-20 山东超越数控电子股份有限公司 Communication method of CPU and digital logic module in PLC system based on SOC FPGA

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6237050B1 (en) * 1997-12-26 2001-05-22 Samsung Electronics Co., Ltd. Method for controlling components of semiconductor fabricating equipment arranged in a processing line
JP2003005816A (en) * 2001-06-22 2003-01-08 Toshiba Electronic Engineering Corp Method for accumulating equipment operating state data and system thereof
CN101140465A (en) * 2007-10-19 2008-03-12 江苏远望仪器有限公司 Marine vehicle auxiliary machinery observe and control system based on soft logic controller
CN102750241A (en) * 2012-06-13 2012-10-24 中国科学院声学研究所 Method and system for communication between upper computer and lower computer
CN102750249A (en) * 2012-06-27 2012-10-24 中国科学院声学研究所 Method, device and system for communication between upper computer and lower computer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6237050B1 (en) * 1997-12-26 2001-05-22 Samsung Electronics Co., Ltd. Method for controlling components of semiconductor fabricating equipment arranged in a processing line
JP2003005816A (en) * 2001-06-22 2003-01-08 Toshiba Electronic Engineering Corp Method for accumulating equipment operating state data and system thereof
CN101140465A (en) * 2007-10-19 2008-03-12 江苏远望仪器有限公司 Marine vehicle auxiliary machinery observe and control system based on soft logic controller
CN102750241A (en) * 2012-06-13 2012-10-24 中国科学院声学研究所 Method and system for communication between upper computer and lower computer
CN102750249A (en) * 2012-06-27 2012-10-24 中国科学院声学研究所 Method, device and system for communication between upper computer and lower computer

Also Published As

Publication number Publication date
CN103823447A (en) 2014-05-28

Similar Documents

Publication Publication Date Title
US8090819B1 (en) Communicating with an in-band management application through an out-of band communications channel
US20080005446A1 (en) Emulating a USB host controller
US20140297891A1 (en) Providing indirect data addressing for a control block at a channel subsystem of an i/o processing system
US7899944B2 (en) Open exchange limiting in an I/O processing system
US20130212425A1 (en) Enhanced debugging for embedded devices
EP1677188A3 (en) Virtual machine monitoring
EP1367496A3 (en) Interface device between processor and flash memory
JP2004227588A (en) Sdio card development system
KR101934519B1 (en) Storage device and data transfering method thereof
DE112011100323T5 (en) Cross-architecture virtual machine migration
JP3938580B2 (en) The information processing apparatus, information processing method, semiconductor device, the computer program
CN1303545C (en) Aggregation of hardware events in multi-node systems
JP5185289B2 (en) The contents terminate-dma
JP4669088B1 (en) Test apparatus, test method and program
US20060010282A1 (en) Method and apparatus to boot a system by monitoring an operating status of a NAND flash memory
CN101930416A (en) Hardware assisted inter-processor communication
JP2010079874A (en) Remote desktop control system using usb interface, and method thereof
JP4373255B2 (en) Direct memory access control apparatus and method
JP2010044747A (en) Message logging for software application
US20070288937A1 (en) Virtual Device Driver
JP2009193546A (en) Disk array device, firmware replacement method, and firmware replacement program
US7080189B1 (en) USB device communication
US9952966B2 (en) Control apparatus and control method therefor
US20080010483A1 (en) Computer readable medium storing an error recovery program, error recovery method, error recovery apparatus, and computer system
US20150100744A1 (en) Methods and apparatuses for requesting ready status information from a memory

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model
CP03
TR01