发明名称 PROGRAM DEBUG DEVICE
摘要 PURPOSE:To automatize a conversion between a debug program and an application program by generating and latching a pulse at the time of the attaching or the detaching of a cable, and deciding the state of a latch circuit within an interrupt handling caused by the said pulse. CONSTITUTION:When a debug is performed, the pins Q1 and Q2 of a connector 6 are short-circuited through a shortcircuit line 8 by connecting the cable 3 to a target system 2. Then, a one shot pulse generation circuit 4 generates a one shot pulse P1. At the same time that the pulse P1 resets a latch circuit 5, the pulse P1 is sent to the interrupt input of a CPU through an OR circuit 9. In the interrupt handling routine cause by this, the state of the circuit 5 is checked, and it is decided to be a connection time when the output of it is L1. Afterwards, the circuit 5 is reset, and a task is made to convert from the application program to the debug program by starting the same processing routine as that of the case that a RUN command by a communication interruption, is inputted.
申请公布号 JPS63219041(A) 申请公布日期 1988.09.12
申请号 JP19870053462 申请日期 1987.03.09
申请人 MITSUBISHI ELECTRIC CORP 发明人 MASUDA NORIYO
分类号 G06F11/28 主分类号 G06F11/28
代理机构 代理人
主权项
地址