KR970029037A - Emulator system with trace function and trace method - Google Patents

Emulator system with trace function and trace method Download PDF

Info

Publication number
KR970029037A
KR970029037A KR1019950039447A KR19950039447A KR970029037A KR 970029037 A KR970029037 A KR 970029037A KR 1019950039447 A KR1019950039447 A KR 1019950039447A KR 19950039447 A KR19950039447 A KR 19950039447A KR 970029037 A KR970029037 A KR 970029037A
Authority
KR
South Korea
Prior art keywords
trace
emulator
information
program
host
Prior art date
Application number
KR1019950039447A
Other languages
Korean (ko)
Other versions
KR100189977B1 (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 KR1019950039447A priority Critical patent/KR100189977B1/en
Publication of KR970029037A publication Critical patent/KR970029037A/en
Application granted granted Critical
Publication of KR100189977B1 publication Critical patent/KR100189977B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3636Software debugging by tracing the execution of the program
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3648Software debugging using additional hardware

Abstract

본 발명은 마이콤의 응용프로그램의 실제 수행된 순서를 저장하고 확인하기 위한 트레이스기능을 구비한 에뮬레이터시스템과 그 트레이스방법에 관한 것으로, 마이크로콘트롤라와 동일한 기능을 가지면서 에뮬레이션기능을 실현하는 타겟칩으로부터 발생된 프로그램 실행 순서에 관한 정보를 저장/독출하기 위한 트레이스수단을 구비하는 에뮬레이터; 트레이스모드를 설정하고, 에뮬레이터로부터 트레이스정보를 사용자에게 디스플레이하기 위한 호스트; 및 호스트와 에뮬레이터 간의 데이타 전송을 인터페이스하는 인터페이스를 포함함을 특징으로 한다.The present invention relates to an emulator system having a trace function for storing and confirming an actually performed sequence of an application program of a microcomputer and a trace method thereof. The present invention is generated from a target chip having the same function as a microcontroller and implementing an emulation function. An emulator including trace means for storing / reading information on the executed program execution order; A host for setting the trace mode and displaying the trace information from the emulator to the user; And an interface for interfacing data transfer between the host and the emulator.

본 발명에 의하면, 마이콤의 응용프로그램을 개발하는데 필요한 에뮬레이터 프로그램의 실제 수행된 순서에 관한 정보를 사용자에게 제공해 주는 트레이스기능을 실현함으로써, 프로그램 개발단계에서 마이콤에서의 프로그램 실행 순서가 프로그램 개발자의 의도대로 진행되었는지의 여부를 알 수 있다.According to the present invention, by implementing a trace function that provides a user with information on the actual execution order of the emulator program required to develop the application program of the microcomputer, the program execution order in the microcomputer at the program development stage according to the program developer's intention. You can see if it has progressed.

Description

트레이스기능을 구비한 에뮬레이터시스템과 그 트레이스방법Emulator system with trace function and trace method

본 내용은 요부공개 건이므로 전문내용을 수록하지 않았음As this is a public information case, the full text was not included.

제3도는 본 발명에 의한 에뮬레이터의 트레이스방법을 설명하기 위한 흐름도,3 is a flowchart illustrating a trace method of an emulator according to the present invention;

제4도는 본 발명에 의한 트레이스장치를 구비한 에뮬레이터시스템의 구성블럭도.4 is a block diagram of an emulator system having a trace device according to the present invention.

Claims (8)

마이크로콘트롤라의 응용 프로그램의 개발시에 프로그램의 오류를 검색하고 이를 교정하는데 사용되는 에뮬레이터 시스템에 있어서, 상기 마이크로콘트롤라와 동일한 기능을 가지면서 에뮬레이션기능을 실현하는 타겟칩으로부터 발생된 프로그램 실행 순서에 관한 정보를 저장하고, 상기 저장된 정보를 독출하여 호스트로 전송하기 위한 트레이스수단을 구비하는 에뮬레이터; 상기 에뮬레이터로 하여금 트레이스기능을 수행하도록 트레이스모드를 설정하고, 상기 에뮬레이터로부터 트레이스정보를 사용자에게 디스플레이하기 위한 호스트; 및 상기 호스트와 상기 에뮬레이터 간의 데이타 전송을 인터페이스하기 위한 인터페이스를 포함함을 특징으로 하는 에뮬레이터 시스템.An emulator system used to detect and correct errors in a program when developing an application program of a microcontroller, wherein the program execution sequence generated from a target chip having the same function as that of the microcontroller and emulating is provided. An emulator having trace means for storing and reading and transmitting the stored information to a host; A host for setting a trace mode to cause the emulator to perform a trace function, and displaying trace information from the emulator to a user; And an interface for interfacing data transfer between the host and the emulator. 제1항에 있어서, 상기 에뮬레이터에서 상기 호스트로 전송되는 프로그램 실행 순서에 관한 정보는 프로그램의 실행에 따라 발생되는 프로그램카운트에 관한 정보임을 특징으로 하는 에뮬레이터 시스템.The emulator system of claim 1, wherein the information about a program execution order transmitted from the emulator to the host is information about a program count generated according to execution of a program. 제1항에 있어서, 상기 인터페이스는 별도의 마이크로프로세서를 구비하여 직렬통신방식으로 상기 호스트와 상기 에뮬레이터 간의 데이타 전송을 인터페이스함을 특징으로 하는 에뮬레이터 시스템.The emulator system of claim 1, wherein the interface includes a separate microprocessor to interface data transfer between the host and the emulator in a serial communication mode. 마이크로콘트롤라의 응용 프로그램의 개발시에 프로그램의 오류를 검색하고 이를 교정하는데 사용되는 에뮬레이터 시스템에 있어서, 상기 마이크로콘트롤라와 동일한 기능을 가지면서 에뮬레이션기능을 실현하며, 프로그램 실행 순서에 관한 정보를 발생하는 타겟칩; 소정의 제어신호에 대응하여, 상기 타겟칩에서 발생된 프로그램 실행 순서에 관한 정보를 저장하거나 저장된 정보를 데이타버스를 통하여 독출하기 위한 저장 수단; 상기 저장수단을 억세스할 어드레스를 발생하기 위한 어드레스발생수단; 및 상기 저장수단의 리드/라이트모드를 설정하고, 설정된 모드에 따라 상기 타겟칩에서 발생된 정보를 상기 저장수단에 저장하거나 상기 저장수단에 저장된 정보를 독출하도록 제어하기 위한 제어수단을 포함함을 특징으로 하는 트레이스장치를 구비한 에뮬레이터 시스템.An emulator system used to detect and correct errors in a program when developing an application program of a microcontroller, the target chip having the same function as the microcontroller and realizing an emulation function and generating information on a program execution sequence. ; Storage means for storing information on a program execution sequence generated in the target chip or reading stored information through a data bus in response to a predetermined control signal; Address generating means for generating an address to access said storage means; And control means for setting a read / write mode of the storage means, and controlling to store the information generated in the target chip in the storage means or to read the information stored in the storage means according to the set mode. An emulator system having a trace device. 제4항에 있어서, 상기 저장수단에 저장되거나 독출되는 프로그램 실행 순서에 관한 정보는 프로그램의 실행에 따라 발생되는 프로그램카운트에 관한 정보임을 특징으로 하는 트레이스장치를 구비한 에뮬레이터 시스템.5. The emulator system according to claim 4, wherein the information about a program execution order stored or read in the storage means is information about a program count generated according to execution of a program. 제4항에 있어서, 상기 어드레스발생수단은 상기 타겟칩에서 발생된 프로그램 실행 순서에 관한 정보를 저장하기 위하여 상기 저장수단을 억세스할 제1어드레스신호를 발생하기 위한 제1어드레스발생수단; 상기 저장수단에 저장된 정보를 리드하기 위하여 상기 저장수단을 억세스할 제2어드레스신호를 발생하기 위한 제2어드레스발생수단; 및 상기 제1어드레스신호 및 상기 제2어드레스신호가 입력되고, 트레이스기능 수행시 상기 저장 수단의 리드/라이트모드에 따라, 상기 두 어드레스신호 중 하나의 어드레스신호를 선택하여 상기 저장수단을 억세스하기 위한 어드레스로 출력하는 제1먹스수단을 구비함을 특징으로 하는 트레이스장치를 구비한 에뮬레이터 시스템.5. The apparatus according to claim 4, wherein said address generating means comprises: first address generating means for generating a first address signal for accessing said storage means for storing information relating to a program execution order generated in said target chip; Second address generating means for generating a second address signal for accessing said storage means to read information stored in said storage means; And the first address signal and the second address signal are input, and when one of the two address signals is selected to access the storage means according to the read / write mode of the storage means when a trace function is performed. And a first mux means for outputting to an address. 제4항에 있어서, 트레이스기능 수행시 상기 저장수단의 리드/라이트모드에 따라, 상기 타겟칩에서 발생된 프로그램 실행 순서에 관한 정보를 상기 저장수단로 전송하기 위한 패스를 설정하거나, 또는 상기 저장수단에 저장된 정보를 데이타베스로 전송하기 위한 패스를 설정하는 제2먹스수단을 더 포함함을 특징으로 하는 트레이스장치를 구비한 에뮬레이터 시스템.The storage device of claim 4, further comprising: setting a path for transmitting information about a program execution order generated in the target chip to the storage means according to a read / write mode of the storage means when performing a trace function, or the storage means. And a second mux means for setting a path for transferring the information stored in the database to the database. 사용자가 호스트를 통하여 트레이스모드를 설정하는 과정; 호스트는 시스템 어드레스버스를 통하여 트레이스메모리를 억세스하고 시스템 데이타버스를 통하여 메모리 초기화 값을 전송하여 트레이스메모리를 초기화하는 과정; 사용자는 실행될 프로그램에 대해 트레이스할 구간을 호스트를 이용하여 설정하고, 호스트는 그에 관한 정보를 에뮬레이터로 전송하는 과정; 호스트에 의해 설정된 트레이스구간 동안, 에뮬레이터는 타겟칩에서 출력되는 정보를 저장하는 과정; 설정된 트레이스구간 동안의 트레이스가 완료되면, 호스트는 시스템 어드레스버스를 통하여 상기 저장된 정보를 시스템 데이타버스를 통하여 독출하는 과정; 및 호스트는 독출된 데이타를 소정의 양식에 의하여 디스플레이하는 과정을 포함함을 특징으로 하는 에뮬레이터시스템에서의 트레이스방법.Setting a trace mode through the host; The host accesses the trace memory through the system address bus and initializes the trace memory by transmitting a memory initialization value through the system data bus; A user sets a section to be traced for a program to be executed by using a host, and the host transmits information about the program to the emulator; During the trace interval set by the host, the emulator stores information output from the target chip; When the trace for the set trace period is completed, the host reads the stored information through the system data bus through the system address bus; And the host displaying the read data in a predetermined form. ※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.
KR1019950039447A 1995-11-02 1995-11-02 Emulator system having trace function and trace method KR100189977B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950039447A KR100189977B1 (en) 1995-11-02 1995-11-02 Emulator system having trace function and trace method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950039447A KR100189977B1 (en) 1995-11-02 1995-11-02 Emulator system having trace function and trace method

Publications (2)

Publication Number Publication Date
KR970029037A true KR970029037A (en) 1997-06-26
KR100189977B1 KR100189977B1 (en) 1999-06-01

Family

ID=19432797

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950039447A KR100189977B1 (en) 1995-11-02 1995-11-02 Emulator system having trace function and trace method

Country Status (1)

Country Link
KR (1) KR100189977B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100434309B1 (en) * 1998-03-09 2005-05-24 주식회사 하이닉스반도체 Emulator circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100434309B1 (en) * 1998-03-09 2005-05-24 주식회사 하이닉스반도체 Emulator circuit

Also Published As

Publication number Publication date
KR100189977B1 (en) 1999-06-01

Similar Documents

Publication Publication Date Title
US5796981A (en) Method and apparatus for providing register compatibility between non-identical integrated circuits
JPH0764770A (en) Microcontroller apparatus provided with remotely writable eprom and writing method
KR960018948A (en) Respective methods and means for simulating direct memory access and its functions, computer programs simulating direct memory accessors, computer systems and subsystems
US5794013A (en) System and method for testing computer components in development environments
US11237832B2 (en) Module with a serialization unit and improved compatibility with deserialization units of different series
CN114153779A (en) I2C communication method, system, equipment and storage medium
US5574894A (en) Integrated circuit data processor which provides external sensibility of internal signals during reset
KR100354932B1 (en) Methods and data processors for providing show cycles on multiplexing buses
US6820149B2 (en) Method, system, and program for testing a bus interface
WO2017083751A1 (en) Serial device emulator using two memory levels with dynamic and configurable response
JP2001134629A (en) Simulation method and simulation system
KR970029037A (en) Emulator system with trace function and trace method
US6937973B1 (en) Design of an application specific processor (ASP)
KR20000008628A (en) Booting music outputting method of computer system
KR100322547B1 (en) Method for downloading dsp program and device thereof
JPH0217552A (en) Performance data measuring system
CN115602241A (en) Device and system for debugging solid state disk device
JPH0147811B2 (en)
JPS63291135A (en) Microcomputer developing device
CN115794518A (en) SPI bus debugging method and system
JP3166667B2 (en) Emulation microcomputer
JPH06324883A (en) Cpu simulator
JPS63301338A (en) Memory with control memory
JPS6129953A (en) Trace controlling method
JP2000347898A (en) Software development supporting device

Legal Events

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

Payment date: 20061221

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee