KR0150161B1 - Device for displaying register and ram data - Google Patents

Device for displaying register and ram data

Info

Publication number
KR0150161B1
KR0150161B1 KR1019950025562A KR19950025562A KR0150161B1 KR 0150161 B1 KR0150161 B1 KR 0150161B1 KR 1019950025562 A KR1019950025562 A KR 1019950025562A KR 19950025562 A KR19950025562 A KR 19950025562A KR 0150161 B1 KR0150161 B1 KR 0150161B1
Authority
KR
South Korea
Prior art keywords
data
memory
latch
bank
data bus
Prior art date
Application number
KR1019950025562A
Other languages
Korean (ko)
Other versions
KR970012135A (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 KR1019950025562A priority Critical patent/KR0150161B1/en
Publication of KR970012135A publication Critical patent/KR970012135A/en
Application granted granted Critical
Publication of KR0150161B1 publication Critical patent/KR0150161B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3037Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information

Abstract

1.청구 범위에 기재된 발명이 속한 기술분야: 레지스터 및 램의 데이터를 시각적으로 확인 할수 있게 하는 장치.The technical field to which the invention pertains to the scope of the claims: A device that enables visual confirmation of data in registers and RAM.

2.발명이 해결하려고 하는 과제: 프로그램이 실제수행을 정지시킴이 없이 마이콤의 내부레지스터 및 램의 데이터를 시각적으로 확인 할수 있게하는 개선된 장치를 제공한다.2. Problems to be solved by the invention: Provides an improved device that allows the program to visually check the data of the internal registers and RAM of the microcomputer without stopping the actual execution.

3.발명의 해결방법의 요지: 개선된 장치에 따르면, 시스템 클럭, 뱅크 데이터, 리드 및 라이트 신호, 콘트롤 신호를 출력하며 내부 데이터 버스를 통해 데이터를 입출력하는 에벨루션 칩과, 상기 시스템 클럭에 응답하여 상기 뱅크 데이터를 래치하는 제1래치와, 상기 콘트롤 신호에 응답하여 상기 데이터 버스를 통하여 인가되는 확인용 뱅크 데이터를 래치하는 제2래치와, 상기 제1,2래치의 출력을 비교하여 일치시에 특정한 메모리를 선택하기 위한 칩 인에이블 신호를 출력하는 비교기를 포함하는 뱅크 비교부와: 시스템의 호스트측에서 메모리의 데이터를 강제로 읽거나 쓸 수 있도록 인터페이싱하기 위해, 시스템 데이터 버스로부터 제공되는 데이터를 저장하는 버퍼와, 상기 시스템 클럭에 응답하여 메모리의 데이터를 래치하는 래치를 포함하는 호스트 인터페이스부와: 상기 리드 및 라이트 신호와 상기 제2래치의 출력을 조합 게이팅하여 상기 메모리의 라이트 인에이블 제어신호를 생성하는 신호발생부와: 상기 시스템 클럭에 응답하여 상기 데이터 버스의 데이터를 래치하여 상기 메모리의 어드레스를 제공하는 래치소자, 상기 래치소자의 출력단과 공통 접속되어 상기 뱅크 데이터 버스에 제공되는 데이터를 저장하여 상기 메모리ㄹ 어드레스로서 제공하는 버퍼소자, 및 상기 메모리의 데이터 출력단에 연결된 리드 및 라이트용 제1,2버퍼소자를 포함하여, 상기 제1,2버퍼소자에 데이터 버스가 연결된 상기 메모리를 구비하는 메모리부를 가짐을 특징으로 한다.3. Summary of Solution of the Invention: According to an improved apparatus, an evolution chip outputting a system clock, bank data, read and write signals, a control signal, and inputting and outputting data through an internal data bus, and responding to the system clock. The first latch for latching the bank data, the second latch for latching the confirmation bank data applied through the data bus in response to the control signal, and the output of the first and second latches are compared. A bank comparator comprising a comparator for outputting a chip enable signal for selecting a memory specific to the data; data provided from the system data bus for interfacing the data on the memory to be read or written by the host side of the system; A buffer for storing a data and a latch for latching data in a memory in response to the system clock; And a gate interface unit for generating a write enable control signal of the memory by combining and gating the read and write signals and the output of the second latch; and latching data of the data bus in response to the system clock. A latch element providing an address of the memory, a buffer element commonly connected to an output terminal of the latch element, storing data provided to the bank data bus and providing the address as the memory address, and a read connected to the data output terminal of the memory. And a memory unit including the first and second buffer elements for writing, and the memory having a data bus connected to the first and second buffer elements.

4.발명의 중요한 용도: 마이콤의 내부 레지스터 및 램의 데이터를 시각적으로 확인 할수 있게하는 분야에 사용된다.4. Significant use of the invention: It is used in the field to visually check the data of the internal registers and RAM of the microcomputer.

Description

마이콤 내부레지스터 및 램의 데이터를 디스플레이 하기 위한 장치Device for displaying data of MICOM internal register and RAM

제1도는 본 발명에 따른 장치가 내부 레지스터에서 읽기동작을 수행 할 때 적용되는 동작 타이밍도.1 is an operation timing diagram applied when a device according to the present invention performs a read operation on an internal register.

제2도는 본 발명에 따른 장치가 내부 레지스터에 쓰기동작을 수행할 때 적용되는동작 타이밍도.2 is an operation timing diagram applied when a device according to the present invention performs a write operation to an internal register.

제3도는 램의 데이터를 저장하는 뱅크데이터의 유효기간을 보여주는 도면.3 is a diagram showing an expiration date of bank data for storing RAM data.

제4도는 본 발명에 적용되는 시스템 데이터버스의 비트맵.4 is a bitmap of a system data bus to which the present invention is applied.

제5도는 본 발명의 따른 장치의 세부 회로도.5 is a detailed circuit diagram of a device according to the invention.

본 발명은 마이콤 응용분야에 관한 것으로, 특히 프로그램 수행중에 마이콤의 내부레지스터 및 램의 데이터를 디스플레이 할 수 있게하는 장치에 관한 것이다.TECHNICAL FIELD The present invention relates to the field of microcomputer applications, and more particularly, to an apparatus for displaying data of internal registers and RAM of a microcomputer while executing a program.

일반적으로, MCU(Micrcontroller Unit:일명 MICOM), MPU(Micrprcessor Unit)의 응용 프로그램을 개발하는데에는 회로내 에뮬레이터[In-Circuit Emulato(이하 ICE로 칭함)]가 반드시 필요하게 된다. 이 ICE에는 반드시 실제MICOM의 내부블럭중 ROM부분만이 제외된 에벨루션 칩(Evaluation CHIP)이 있다.In general, in-circuit emulators (hereinafter referred to as ICEs) are necessary to develop applications for microcontroller units (MICOMs) and microprocessor units (MPUs). In this ICE, there is an evaluation chip that excludes only the ROM part of the internal block of MICOM.

따라서, MICOM응용 프로그램 개발자는 에벨루션 칩의 ROM부분을 프로그램하여 자신이 개발하고자 하는 시스템을 콘트롤하게 되는 경우에, 보다 효과적인 프로그램개발을 위하여 상기ICE의 도움을 받게된다. 이 때 상기 개발자는 ICE의 여러 가지 기능을 활용하여 MICOM의 내부 레지스터 및 램의 데이터를 디스플레이하여 확인하는 것이 필요해진다.Therefore, when the developer of the MICOM application program the ROM part of the evolution chip to control the system he wants to develop, the ICE is helped to develop the program more effectively. At this time, it is necessary for the developer to check and display the data of the internal registers and the RAM of MICOM by utilizing various functions of the ICE.

이러한 곳에서, MICOM의 내부 레지스터 및 램의 테이타를 확인할 경우에 종래에는 프로그램의 실제 수행을 정지시킨다음 내부 레지스터 및 램의 값을 리드하여 퍼스날 컴퓨터의 화면 또는 디스플레이장치를 통해 확인하였다. 이러한 종래의 방법은, ROM의 프로그램에 의하여 동작되는 마이컴의 작업을 중단하게 되므로 결국 프로그램의 수행이 디스플레이동작 동안에는 되지 못하는 단점이 있다.In such a place, when checking the internal registers and RAM data of the MICOM, conventionally, the actual execution of the program is stopped and the values of the internal registers and the RAM are read and confirmed through the screen or the display device of the personal computer. This conventional method has a disadvantage in that the operation of the microcomputer operated by the program of the ROM is interrupted and thus the execution of the program cannot be performed during the display operation.

그러므로, 디스플레이의 욕구가 있더라도 프로그램 수행을 정지시키는 것이 부담으로 작용하기 때문에 개발자는 상기 ICE의 기능을 제대로 활용하지 못하는문제점이 있다.Therefore, even if there is a desire for display, it is burdensome to stop program execution, so that the developer cannot use the function of the ICE properly.

따라서, 본 발명의 목적은 상기한 종래의 문제점을 감안하여 프로그램의 실제수행을 정지시킴이 없이 마이콤의 내부 레지스터 및 램의 데이터를 시각적으로 확인 할수 있게하는 장치를 제공함에 있다.Accordingly, an object of the present invention is to provide an apparatus for visually confirming the internal registers and RAM data of the microcomputer without stopping the actual execution of the program in view of the above-described conventional problems.

상기의 목적을 달성하기 위한 본 발명에 따르면, 마이크로프로세서내에서, 시스템 클럭, 뱅크 데이터, 리드 및 라이트 신호, 콘트롤 신호를 출력하여 내부데이타 버스를 통해 데이터를 입출력하는 에벨루션 칩과, 상기 시스템 클럭에 응답하여 상기 뱅크 데이터를 래치하는 제1래치와, 상기 시스템의 호스트측에서 시스템 콘트롤 신호에 응답하여 상기 시스템 데이터 버스를 통하여 인가되는 확인용 뱅크 데이터를 래치하는 제2래치와, 상기 제1,2래치의 출력을 비교하여 일치시에 특정한 메모리를 선택하기 위한 칩 인에이블 신호를 출력하는 비교기를 포함하는 뱅크 비교부와;According to the present invention for achieving the above object, an evolution chip for outputting a system clock, bank data, read and write signals, a control signal and input and output data through an internal data bus in a microprocessor, and the system clock A first latch for latching the bank data in response to the second latch; a second latch for latching confirmation bank data applied through the system data bus in response to a system control signal at a host side of the system; A bank comparator comprising a comparator for comparing the outputs of the two latches and outputting a chip enable signal for selecting a specific memory upon matching;

시스템의 호스트측에서 메모리의 데이터를 강제로 읽거나 쓸수있도록 인터페이싱하기 위해, 시스템 데이타 버스로부터 제공되는 데이터를 저장하는 버퍼와, 상기 시스템 클럭에 응답하여 메모리의 데이터를 래치하는 래치를 포함하는 호스트 인터페이스부와; 상기 리드 및 라이트 신호와 상기 제2래치의 출력을 조합 게이팅하여 상기 메모리의 라리트 인에이블 제어신호를 생성하는 신호발생부와: 상기 시스템 클럭에 응답하여 데이터 버스의 테이타를 래치하여 상기 메모리의 어드레스를 제공하는 래치조차, 상기 래치소자의 출력단과 공통 접속되어 상기 시스템 데이터 버스에 제공되는 데이터를 저장하여 상기 메모리의 어드레스로서 제공하는 버퍼소자, 및 상기 메모리의 데이터 출력단에 연결된 리드 및 라이트용 제1,2버퍼를 포함하며, 상기 제1,2버퍼소자에 데이터 버스가 연결된 상기 메모리를 구비하는 메모리부를 가짐을 특징으로 한다.A host interface including a buffer for storing data provided from a system data bus and an latch for latching data in memory in response to the system clock for interfacing the host side of the system to read or write data in the memory. Wealth; A signal generator for combining the read and write signals with the output of the second latch to generate a Lart enable control signal of the memory; latching data of a data bus in response to the system clock to address an address of the memory; Even a latch providing a buffer device includes: a buffer device connected to an output terminal of the latch element and storing data provided to the system data bus and providing the data as an address of the memory; and a first read and write device connected to the data output terminal of the memory. And a memory unit including a second buffer and the memory having a data bus connected to the first and second buffer elements.

이하 본 발명을 첨부한 도면을 참조하여 상세히 설명한다. 먼저, 본 발명에 따라 내부 레지스터 및 램의 내용을 실시간 디스플레이 하기위한 방법의 원리를 이해의 편의를 제공하기 위해 설명한다. 전형적으로, 마이컴은 내부에 레지스터 및 램(여기에서는 레지스터 및 램을 레지스터로 총칭하기로 한다.)을 가지고 있다. 이 레지스터는 크게 콘트롤 레지스터와 데이터 메모리로 나뉘는데, 이 모두가 응용프로그램 개발자에게는 매우 중요한 소자이다. 따라서, 응용프로그램을 개발중 레지스터의 내용을 확인하여 알아보아 프로그램의 오류방지시 쉽게 오류를 교정하여 정상적인 동작을 하도록해야한다. 그런데, 이 내부레지스터의 내용을 알아보는 방법중 프로그램을 어느 지점에서 정지한채로 알아보는 것이 있느데 이것은 타겟시스템의 파손을 가져오게하는 요인이 되기도 하고, 실제시간이 요구되는 경우 이 방법은 실시간내에 근본적으로 이루어지지 않으므로 효과적이지 못하다. 그러므로, 본 발명에서는 실시간에 내부 레지스터의 내용을 조작하지않고 디스플레이 하기위한 방법을 구현하기 위해 제5도의 하드웨어를 사용한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. First, the principle of the method for real-time display of the contents of the internal register and RAM in accordance with the present invention will be described for convenience of understanding. Typically, microcomputers have registers and RAM (herein collectively referred to as registers and RAM). These registers are largely divided into control registers and data memory, all of which are very important for application developers. Therefore, it is necessary to check the contents of registers while developing an application program, and to correct the errors easily to prevent normal operation of the program. By the way, one of the methods to find the contents of this internal register is to find the program at a certain point while stopping. This may cause damage to the target system, and if the actual time is required, this method is essential in real time. It is not effective because it is not made. Therefore, the present invention uses the hardware of FIG. 5 to implement a method for displaying the contents of internal registers without manipulation in real time.

제5도를 참조하면, 하나의 EVE칩 53과 두 래치(54,55)와 두 래치의 출력단(11,13)에 연결되어 비교를 수행하는 비교기를 가지는 뱅크 비교블럭A과: 버퍼51 및 래치 52를 가지고서, 메모리 58에 강제로 호스트에서 쓰거나 읽어볼수 있도록 하는 호스트 인터페이스 블록B: 메모리 58의 쓰기허용신호 WE을 제어하는 블록 59: 메모리58, 래치 57 및 버퍼 60를 포함하여 메모리 어드레스를 제어하는 상기 래치57의 출력17과 버퍼60의 출력이 메모리의 어드레스버스에 같이 연결되며, 데이터의 쓰기, 읽기에 대한 방향성을 제어하는 버퍼61과 버퍼62의 출력이 각각 상기 메모리58의 데이터버스에 연결됨을 알 수 있다.Referring to FIG. 5, a bank comparison block A having a comparator connected to one EVE chip 53, two latches 54 and 55, and output terminals 11 and 13 of the two latches to perform a comparison: buffer 51 and a latch Host interface block B, which has 52, forcibly writes to or reads from the host in memory 58: Block 59 for controlling the write permission signal WE of memory 58: Controls the memory address, including memory 58, latch 57, and buffer 60 The output 17 of the latch 57 and the output of the buffer 60 are connected to the address bus of the memory, and the outputs of the buffer 61 and the buffer 62 which control the directionality for writing and reading data are connected to the data bus of the memory 58, respectively. Able to know.

여기서, 에벨루션 칩을 약칭하여 EVA칩이라고 하면,EVA칩 53은 시스템 클럭S3을 라인 6에 제공하고, S2를 라인 10에 제공한다. 또한, 뱅크 데이터를 라인 5에 인가하고, 내부 데이터를 버스7을 통해 송수신한다. 그리고, 리드신호는 라인8을 통하여, 라이트신호는 라인9를 통하여 출력한다.Here, when the evolution chip is abbreviated as an EVA chip, the EVA chip 53 provides the system clock S3 to line 6 and S2 to line 10. Bank data is also applied to line 5, and internal data is transmitted and received via bus 7. The read signal is output through the line 8, and the write signal is output through the line 9.

따라서, 제1도에서, 시스템 클럭 S3가 논리 '1'인 구간에 내부 데이터 버스(DB[0:7])는 내부 레지스터의 어드레스를 가지고 있으며, 내부 레지스터 읽기신호 IOR(8)가 논리'1'일 때 내부 데이터 버스에는 시스템 클럭S3가 논리 '1'인 구간에서의 어드레스가 가르키는 레지스터에서 읽는 데이터가 실린다.Accordingly, in FIG. 1, the internal data bus DB [0: 7] has an address of an internal register in a section where the system clock S3 is a logic '1', and the internal register read signal IOR 8 is logical'1. When the internal data bus is on, the data read from the register indicated by the address in the interval where the system clock S3 is logic '1' is loaded.

제2도에서, 시스템 클럭 S3가 논리 '1'인 구간에 내부 데이터 버스(DB[0:7])는 내부 레지스터의 어드레스를 가지고 있으며, 내부 레지스터 쓰기신호 IOW(9)가 논리 '1'일 때 내부 데이터 버스에는 시스템 클럭 S3가 논리 '1'인 구간에서의; 어드레스가 가르키는 레지스터에서 쓰여질 데이터가 실린다.In FIG. 2, the internal data bus DB [0: 7] has an address of an internal register and the internal register write signal IOW 9 is a logic '1' in a period where the system clock S3 is a logic '1'. When the internal data bus is in the interval when the system clock S3 is a logic '1'; The data to be written in the register indicated by the address is loaded.

제3도에서 시스템클럭 S3가 논리 '1'인 구간에 지정된 램 뱅크 데이터가 래치되어 있다. 그러므로, 뱅크데이타는 매 시스템 클럭 S3때 마다 변화한다. 뱅크는 2개 또는 그 이상의 갯수를 가질수 있으므로 현재 사용이되고 있는 뱅크에 대하여 알아볼 필요가 있다. 프로그램 설계자가 확인하고자 할 레지스터의 뱅크를 미리 지정할 수 있도록 하면, 다음과 같은 방법으로 내부 레지스터의 값을 확인할 수 있다.In FIG. 3, designated RAM bank data is latched in a section in which the system clock S3 is logic '1'. Therefore, the bank data change at every system clock S3. Banks can have two or more, so you need to know what banks are currently in use. If the program designer can specify the bank of register to check in advance, the value of the internal register can be checked in the following way.

뱅크를 확인하는 방법은 제5도에서와 같이 확인하고자 하는 뱅크를 BDB[0:7](12)에 실어 콘트롤신호 W1(14)에 의하여 래치(55)에 저장하여 그 출력13이 비교기 56 한쪽입력에 셋업되게 한다. 또한, 칩(53)에서 뱅크데이터 SMB[0:3](5)을 시스템 클럭 S3(6)가 논리 '1'인 구간에 래치 (54)에 저장하여 그 출력 11이 상기 비교기 56의 타측입력에 뱅크데이터로서 인가한다. 이때 비교기56가 두 입력조건을 비교하여 동일하면 출력CE(15)를 내보내 메모리(58)을 선택한다.As shown in Fig. 5, the bank to be checked is loaded on the BDB [0: 7] (12), stored in the latch 55 by the control signal W1 (14), and its output 13 is one side of the comparator 56. Allows input to be set up. In addition, the chip 53 stores the bank data SMB [0: 3] (5) in the latch 54 in the section in which the system clock S3 (6) is logic '1', and its output 11 is the other input of the comparator 56. To bank data. At this time, if the comparator 56 compares the two input conditions and is the same, the output CE 15 is sent out to select the memory 58.

에스램 메모리(58)은 선택된 뱅크의 내부레지스터와 동일한 번지에 해당하는 내부 데이터가 EVA칩으로부터 나오는 DB[0:7](7)을 저장한다. 저장하는 조건은 EVA칩에서 출력되는 LOW(9)가 논리 '1'인 동안, IOR(8)이 논리'1'인 동안에 각각 저장 할 수 있다.The SRAM memory 58 stores DB [0: 7] (7) from which the internal data corresponding to the same address as the internal register of the selected bank comes from the EVA chip. The storage condition may be stored while the LOW (9) output from the EVA chip is logic '1' and while the IOR (8) is logic '1'.

쓰기 모드를 선택하는 방법은 래치(55)의 입력 BDB7,BDB6의 조합으로 구현 가능하다. 따라서, BDB7,BDB6가 1이면 읽기이고, BDB7,BDB6가 10이면 쓰기이며, BDB7,BDB6가 11이면 읽기 및 쓰기 모드이다.The method of selecting the write mode may be implemented by a combination of the inputs BDB7 and BDB6 of the latch 55. Therefore, if BDB7, BDB6 is 1, it is read, if BDB7, BDB6 is 10, it is write, and if BDB7, BDB6 is 11, it is read and write mode.

메모리(58)의 어드레스지정은 EVA칩(53)에서 출력되는 DB[0:7](7)를 시스템 클럭 S3(6)이 논리 '1'인 구간에 래치 (57)에 저장하면 그출력이 RA[0:7]로서 메모리의 어드레스가 된다. 이와같은 방법으로 하면 EVA칩의 내부레지스터에 쓰여지는 값과 동일한 값이 버퍼(61)을 통하여 메모리(58)에 저장된다.Addressing of the memory 58 stores the DB [0: 7] (7) output from the EVA chip 53 in the latch 57 in the section where the system clock S3 (6) is logic '1'. RA [0: 7] is the address of the memory. In this way, the same value as the value written to the internal register of the EVA chip is stored in the memory 58 through the buffer 61.

메모리(58)에 저장된 내용을 읽어보는 방법은 아래와 같다. MWE0,MWE1이 모두 논리'0'이고 시스템 클럭 S2가 논리 '1'인 구간에서 메모리(58)의 출력 개시신호(21)가 논리 '0'이다. 이때 메모리에 저장된 내용이 DATA[0:7](23)버스에 실리고 래치52가 시스템 클럭 S2가 논리'1'인 시간에 RA[0:7]과 DATA[0:7]를 저장한다. 그러면 호스트가 R1이 논리'1'일 때 내부레지스터의 어드레스 및 데이터를 읽어볼 수 있으므로 실시간으로 마이콤 내부 레지스터의 내용이 읽혀지게 된다.How to read the contents stored in the memory 58 is as follows. The output start signal 21 of the memory 58 is a logic '0' in a period where both MWE0 and MWE1 are logic '0' and the system clock S2 is logic '1'. At this time, the contents stored in the memory are loaded on the DATA [0: 7] (23) bus and the latch 52 stores RA [0: 7] and DATA [0: 7] at the time when the system clock S2 is logic '1'. Then, the host can read the address and data of the internal register when R1 is logic '1', so the contents of the internal register of the microcomputer are read in real time.

메모리를 호스트가 직접접근하여 초기화 읽어보는 방법은 다음과 같이 설명된다. 시스템 데이터버스 SD[8:15]는 RWB가 논리'0'일 때 버퍼51을 통해 버퍼60의 입력으로 인가되고, W2가 논리'1'일 때 RA[0:7]로서 메모리의 오드레스가 된다. 동시에 SD[0:7]은 RWB가 논리 '0'일 때 버퍼62를 통하여 메모리58의 데이터 입/출력단에 인가되어 신호 MWE0,MWE1이 각각 논리 '0'일 때 메모리에 초기 값이 저장된다.The method of initializing and reading memory directly from the host is described as follows. The system data bus SD [8:15] is applied to the input of buffer 60 through buffer 51 when RWB is logic '0' and the address of memory as RA [0: 7] when W2 is logic '1'. do. At the same time, SD [0: 7] is applied to the data input / output terminal of the memory 58 through the buffer 62 when the RWB is the logic '0', and the initial values are stored in the memory when the signals MWE0 and MWE1 are the logic '0', respectively.

메모리를 직접접근하여 읽어보는 방법은 메모리 58의 어드레스를 지정하여 저장할 때 방법과 동일하고, 메모리58의 출력개시 신호21은 MWE0,MEW1이 각각 논리'0'일 때 유효하며 메모리58의 데이터 버스에 그 내용이 실리게 된다. 이때, 버퍼62 및 버퍼51을 통하여 RWB가 논리 '1'일 때,SD[0:15]에 실리므로 호스트에 메모리 58의 내용이 전달된다.The method of directly accessing and reading the memory is the same as the method of designating and storing the address of memory 58, and the output start signal 21 of memory 58 is valid when MWE0 and MEW1 are logic '0', respectively. The contents will be published. At this time, when the RWB is a logic '1' through the buffer 62 and the buffer 51, it is loaded on the SD [0:15], and thus the contents of the memory 58 are transmitted to the host.

상술한 바와 같이 본 발명에 따르면, 프로그램의 실제수행을 정지시킴이 없이 마이콤의 내부 레지스터 및 램의 데이터를 시각적으로 확인 할수 있게 하는 효과가 있다.As described above, according to the present invention, it is possible to visually check the data of the internal register and RAM of the microcomputer without stopping the actual execution of the program.

Claims (2)

마이컴 또는 마이크로 프로세서의 내부 레지스터 및 램의 데이터를 프로그램의 수행중에 실시간으로 쓰고 읽어볼 수 있게하는 장치에 있어서: 시스템 클럭, 뱅크 데이터, 리드 및 라이트 신호, 콘트롤 신호를 출력하며 내부 데이터 버스를 통해 데이터를 출력하는 에벨루션 칩과, 상기 시스템 클럭에 응답하여 상기 뱅크 데이터를 래치하는 제1래치와, 호스트 시스템 콘트롤 신호에 응답하여 호스트 시스템 데이터 버스를 통하여 인가되는 확인용 뱅크 데이터를 래치하는 제2래치와, 상기 제1,2래치의 출력을 비교하여 일치시에 특정한 메모리를 선택하기 위한 칩 인에이블 신호를 출력하는 비교기를 포함하는 뱅크 비교부와: 시스템의 호스트측에서 메모리의 데이터를 강제로 읽거나 쓸수 있도록 인터페이싱하기 위해, 시스템 데이터 버스로부터 제공되는 데이터를 저장하는 버퍼와, 상기 시스템 클럭에 응답하여 메모리의 데이터를 래치하는 래치를 포함하는 호스트 인터페이스부와: 상기 리드 및 라이트 신호와 상기 제2래치의 출력을 조합 게이팅하여 상기 메모리의 라이트 인에이블 제어신호를 생성하는 신호발생부와: 상기 시스템 클럭에 응답하여 상기 데이터 버스의 데이터를 래치하여 상기 메모리의 어드레스를 제공하는 래치소자, 상기 래치소자의 출력단과 공통 접속되어 호스트 시스템 데이터 버스에 제공되는 데이터를 상기 메모리의 어드레스로서 제공하는 버퍼소자, 및 상기 메모리의 데이터 출력단에 연결되는 리드 및 라이트용 제1,2버퍼소자를 포함하며, 상기 제1,2 버퍼소자에 데이터 버스가 연결된 상기 메모리를 구비하는 메모리부를 가짐을 특징으로 하는 장치.A device for writing and reading data of internal registers and RAM of a microcomputer or microprocessor in real time during program execution: A system clock, bank data, read and write signals, control signals are output, and data are transmitted through an internal data bus. An evolution chip for outputting a signal, a first latch for latching the bank data in response to the system clock, and a second latch for latching confirmation bank data applied through a host system data bus in response to a host system control signal And a bank comparator including a comparator for comparing the outputs of the first and second latches and outputting a chip enable signal for selecting a specific memory at a match; forcibly reading data of the memory from the host side of the system. Interface from the system data bus A host interface unit including a buffer for storing data, and a latch for latching data of the memory in response to the system clock: a combination of gating the read and write signals and an output of the second latch to enable write of the memory; A signal generator for generating a control signal; a latch element for latching data of the data bus in response to the system clock to provide an address of the memory, and being commonly connected to an output terminal of the latch element and provided to a host system data bus; A buffer device for providing data as an address of the memory, and first and second buffer devices for read and write connected to a data output terminal of the memory, the memory having a data bus connected to the first and second buffer devices. Apparatus characterized by having a memory unit provided. 제1항에 있어서, 상기 메모리 소자는 스테이틱 메모리임을 특징으로 하는 장치.The apparatus of claim 1, wherein the memory element is a static memory.
KR1019950025562A 1995-08-19 1995-08-19 Device for displaying register and ram data KR0150161B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950025562A KR0150161B1 (en) 1995-08-19 1995-08-19 Device for displaying register and ram data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950025562A KR0150161B1 (en) 1995-08-19 1995-08-19 Device for displaying register and ram data

Publications (2)

Publication Number Publication Date
KR970012135A KR970012135A (en) 1997-03-29
KR0150161B1 true KR0150161B1 (en) 1998-10-15

Family

ID=19423816

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950025562A KR0150161B1 (en) 1995-08-19 1995-08-19 Device for displaying register and ram data

Country Status (1)

Country Link
KR (1) KR0150161B1 (en)

Also Published As

Publication number Publication date
KR970012135A (en) 1997-03-29

Similar Documents

Publication Publication Date Title
EP0528585B1 (en) Data processing system with internal instruction cache
US6523136B1 (en) Semiconductor integrated circuit device with processor
US6223228B1 (en) Apparatus for synchronizing multiple processors in a data processing system
US5758058A (en) Apparatus and method for initializing a master/checker fault detecting microprocessor
US5751942A (en) Trace event detection during trace enable transitions
US5630102A (en) In-circuit-emulation event management system
US6857084B1 (en) Multiprocessor system and method for simultaneously placing all processors into debug mode
US7533302B2 (en) Trace and debug method and system for a processor
US5056013A (en) In-circuit emulator
JPH05100905A (en) System having hardware support break-point function and method of providing said function
US7823019B2 (en) Debug circuitry
US5307482A (en) Computer, non-maskable interrupt trace routine override
US5717909A (en) Code breakpoint decoder
US6249880B1 (en) Method and apparatus for exhaustively testing interactions among multiple processors
US10970191B2 (en) Semiconductor device and debug method
US6230263B1 (en) Data processing system processor delay instruction
US6052700A (en) Calendar clock caching in a multiprocessor data processing system
KR0150161B1 (en) Device for displaying register and ram data
US4802089A (en) Status flag handling in a digital data processing system
JP2016076106A (en) Semiconductor device and electronic device
KR100223096B1 (en) Method and apparatus for observing internal memory-mapped registers
JP3119474B2 (en) LSI test method
KR920001102B1 (en) Data processing unit
RU173842U1 (en) DEVICE FOR EMULSING SINGLE FAILURES IN THE INTERNAL CRYSTAL CACHE OF THE PROCESSOR
JP2575025B2 (en) In-circuit emulator

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20050506

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee