KR20060041561A - Method of debugging in embedded system - Google Patents

Method of debugging in embedded system Download PDF

Info

Publication number
KR20060041561A
KR20060041561A KR1020040090809A KR20040090809A KR20060041561A KR 20060041561 A KR20060041561 A KR 20060041561A KR 1020040090809 A KR1020040090809 A KR 1020040090809A KR 20040090809 A KR20040090809 A KR 20040090809A KR 20060041561 A KR20060041561 A KR 20060041561A
Authority
KR
South Korea
Prior art keywords
debugging
hardware
target system
target
memory
Prior art date
Application number
KR1020040090809A
Other languages
Korean (ko)
Other versions
KR101033591B1 (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 KR1020040090809A priority Critical patent/KR101033591B1/en
Publication of KR20060041561A publication Critical patent/KR20060041561A/en
Application granted granted Critical
Publication of KR101033591B1 publication Critical patent/KR101033591B1/en

Links

Images

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/3013Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is an embedded system, i.e. a combination of hardware and software dedicated to perform a certain function in mobile devices, printers, automotive or aircraft systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3696Methods or tools to render software testable

Abstract

본 발명은 임베디드 시스템의 디버깅 방법에 관한 것이다. 본 발명은, 모니터링 프로그램을 통해 호스트와 연계된 프로세서를 내장한 타겟 시스템의 디버깅 방법에 있어서, 상기 타겟 시스템 내부 하드웨어의 인터럽트 수행 요청에 따라 상기 프로세서를 이용하여 각 하드웨어의 동작을 수행하고 그 결과를 시스템의 메모리에 저장하는 단계와, 상기 타겟 시스템의 대기 시간동안 디버깅하여 디버깅 정보를 시스템의 메모리에 저장하는 단계와, 상기 모니터링 프로그램을 수행하여 상기 하드웨어 동작 수행 결과 및 디버깅 정보를 호스트에게 모니터링 해주는 단계를 포함하여 이루어지는 임베디드 시스템의 디버깅 방법을 제공한다. 따라서, 별도의 디버깅 환경 구현없이 시스템의 하드웨어와 소프트웨어를 타겟 시스템에서 직접 디버깅하며, 타겟 시스템이 갖는 자원 활용을 최대화함으로써 디버깅 환경 구현에 요구되는 비용절감 및 용이성 향상을 도모하는 효과가 있다.The present invention relates to a debugging method of an embedded system. The present invention provides a debugging method of a target system incorporating a processor associated with a host through a monitoring program, and performs an operation of each hardware using the processor in response to an interrupt execution request of the hardware of the target system. Storing the debugging information in the memory of the system by debugging the memory of the target system during the waiting time of the target system, and monitoring the hardware operation execution result and the debugging information to the host by executing the monitoring program. It provides a debugging method of the embedded system comprising a. Therefore, by directly debugging the hardware and software of the system in the target system without implementing a separate debugging environment, by maximizing the resource utilization of the target system, it is possible to reduce the cost and ease of improvement required for the implementation of the debugging environment.

임베디드 시스템, 모니터링 프로그램, EISC 프로세서, 디버깅Embedded Systems, Monitoring Programs, EISC Processors, Debugging

Description

임베디드 시스템의 디버깅 방법{Method of debugging in Embedded system}Method of debugging in Embedded system}

도 1 내지 도 2는 종래 기술에 따른 임베디드 시스템에서의 디버깅 방법을 나타낸 도면1 to 2 are diagrams illustrating a debugging method in an embedded system according to the prior art.

도 3은 본 발명에 따른 임베디드 시스템의 보드 구성 및 디버깅 환경을 나타낸 도면3 is a view showing a board configuration and debugging environment of the embedded system according to the present invention

도 4는 본 발명에 따른 엠펙 2 엔코더 시스템의 동작 흐름을 나타낸 도면4 is a view showing an operation flow of the MPEG 2 encoder system according to the present invention.

도 5는 본 발명에 따른 모니터링 디버깅 방법을 나타낸 도면5 is a diagram illustrating a monitoring debugging method according to the present invention.

- 도면의 주요 부분에 대한 부호의 설명 --Explanation of symbols for the main parts of the drawing-

100 : 타겟 보드 200 : EISC 프로세서100: target board 200: EISC processor

300 : PREP부 400 : 메모리300: PREP unit 400: memory

500 : ME부 600 : VENC부500: ME part 600: VENC part

700 : 호스트700: host

본 발명은 임베디드 시스템의 디버깅 방법에 관한 것으로, 보다 상세하게는 엠펙 2 엔코더 시스템 구현에 적용될 수 있는 디버깅 방법에 관한 것이다. The present invention relates to a debugging method of an embedded system, and more particularly, to a debugging method that can be applied to the implementation of the MPEG 2 encoder system.                         

임베디드 시스템(Embedded System)이란 미리 정해진 특정 기능을 수행하기 위해 컴퓨터의 하드웨어와 소프트웨어가 조합된 전자 제어 시스템을 말한다.An embedded system is an electronic control system in which hardware and software of a computer are combined to perform specific predetermined functions.

이러한 임베디드 시스템의 개발시 활용되는 디버깅(debugging) 방법은 첨부한 도 1에 도시하였다.A debugging method used in the development of such an embedded system is shown in FIG. 1.

도 1 내지 도 2는 종래 기술에 따른 임베디드 시스템에서의 디버깅 방법을 나타낸 도면이다.1 to 2 are diagrams illustrating a debugging method in an embedded system according to the prior art.

먼저, 도 1과 같은 디버깅 방법은 ICE(In-Circuit Emulator)(40) 장비를 별도의 모듈로 활용하여 타겟 보드(Target board)(10)와 호스트 컴퓨터(Host Computer)(50)간의 통신 매개 수단으로써 디버깅하는 방법이다.First, the debugging method as shown in FIG. 1 utilizes the ICE (In-Circuit Emulator) 40 as a separate module to communicate with each other between the target board 10 and the host computer 50. To debug.

상기 ICE(40)는 내부에 별도의 중앙 처리 장치를 가지고 있어 상기 호스트 컴퓨터(50)로부터 명령을 전달 받아 타겟 보드(10)의 제어 버스(Control Bus), 주소 버스(Address Bus) 및 데이터 버스(Data Bus)를 직접 제어하여 입출력을 수행하고, 강제로 디버깅 모드(Debugging mode)로 진입시켜 디버깅 작업을 수행하게 한다. 따라서, 호스트 컴퓨터(50)와 타겟 보드(10) 사이에 명령어 수신 및 데이터 전송에 대한 편리성을 제공하며 시스템 개발의 용이성을 제공하였다.The ICE 40 has a separate central processing unit therein and receives commands from the host computer 50 so that the control bus, address bus, and data bus of the target board 10 may be controlled. I / O is performed by directly controlling the data bus, and the debugging mode is executed by forcibly entering the debugging mode. Thus, it provides convenience for command reception and data transmission between the host computer 50 and the target board 10 and provides ease of system development.

하지만, 이러한 종래 기술에 따른 ICE(40)를 이용한 디버깅 방법은, 상기 ICE(40)를 별도로 구입해야 하며, 개발 환경 구현에 높은 비용이 요구되는 단점이 있었다.However, the debugging method using the ICE 40 according to the prior art, the ICE 40 has to be purchased separately, there is a disadvantage that a high cost is required to implement a development environment.

또한, 도 2와 같은 디버깅 방법은, 호스트 컴퓨터(50)의 리모트 디버거(Remote debugger)(60)로 하여금 디버깅을 가능하게 하는 통신 프로그램을 타겟 보 드(10)의 메인 프로그램과 별도로 두어 씨리얼 통신(Serial communication)을 통해 디버깅하는 리모트 디버깅(Remote-Debugging) 방법이다.In addition, in the debugging method as shown in FIG. 2, a communication program that enables the remote debugger 60 of the host computer 50 to enable debugging is provided separately from the main program of the target board 10 to execute serial communication ( Remote-Debugging that debugs through serial communication.

이와 같은 리모트 디버깅 방법은 상기 타겟 보드(10)에서 실행될 프로그램을 컴파일 해줄때 스텁 파일(Stub File)이라 불리우는 타겟 보드(10) 상에서 동작할 통신 프로그램을 같이 컴파일해서 링크해주게 된다. The remote debugging method compiles and links a communication program that will operate on the target board 10 called a stub file when compiling a program to be executed on the target board 10.

이때 사용되는 상기 스텁 파일은 씨리얼 통신을 통해 호스트 컴퓨터(50)와 타겟 보드(10)간의 통신과 디버깅 기능을 수행하는 프로그램이며, 호스트 컴퓨터(50)상의 디버거 프로그램과 함께 연동되어 일종의 암호화된 패킷을 주고 받음으로써 통신을 담당하게 된다.The stub file used at this time is a program that performs communication and debugging functions between the host computer 50 and the target board 10 through serial communication. The stub file is interlocked with a debugger program on the host computer 50 to generate a kind of encrypted packet. It is in charge of communication by giving and receiving.

따라서, 이 방법을 사용할 경우에는 별도의 디버깅을 위한 통신 프로그램 즉, 타겟 보드(10) 및 호스트 컴퓨터(50)에서 실행되는 디버거 프로그램의 특성이 고려된 스텁 파일을 개발해 주어야 하므로 개발의 용이성 측면에서 불리한 단점이 있었다.Therefore, when using this method, it is disadvantageous in terms of ease of development because it is necessary to develop a stub file considering the characteristics of a communication program for separate debugging, that is, a debugger program running on the target board 10 and the host computer 50. There was a downside.

본 발명은 상기와 같은 문제점을 해결하기 위한 것으로서, 본 발명의 목적은 ICE와 같은 별도의 장비 도움없이 타겟 보드의 디버깅을 수행하도록 하여 비용을 최소화하는 임베디드 시스템의 디버깅 방법을 제안하는데 있다.The present invention is to solve the above problems, an object of the present invention is to propose a debugging method of the embedded system to minimize the cost by debugging the target board without the help of a separate device such as ICE.

본 발명의 다른 목적은 타겟 보드의 프로그램과 동시에 별도로 개발되어야 하는 스텁 파일과 같은 프로그램의 도움없이 디버깅을 수행하도록 하여 디버깅 환경 개발의 용이성을 도모하는 임베디드 시스템의 디버깅 방법을 제안하는데 있다.Another object of the present invention is to propose a debugging method of an embedded system that facilitates development of a debugging environment by performing debugging without the help of a program such as a stub file to be developed separately at the same time as the target board program.

상기 목적을 달성하기 위하여, 본 발명은 모니터링 프로그램을 통해 호스트와 연계된 프로세서를 내장한 타겟 시스템의 디버깅 방법에 있어서, 상기 타겟 시스템 내부 하드웨어의 인터럽트 수행 요청에 따라 상기 프로세서를 이용하여 각 하드웨어의 동작을 수행하고 그 결과를 시스템의 메모리에 저장하는 단계와, 상기 타겟 시스템의 대기 시간동안 디버깅하여 디버깅 정보를 시스템의 메모리에 저장하는 단계와, 상기 모니터링 프로그램을 수행하여 상기 하드웨어 동작 수행 결과 및 디버깅 정보를 호스트에게 모니터링 해주는 단계를 포함하여 이루어지는 임베디드 시스템의 디버깅 방법을 제공한다.In order to achieve the above object, the present invention provides a debugging method of a target system incorporating a processor associated with a host through a monitoring program, the operation of each hardware using the processor in response to an interrupt execution request of the internal hardware of the target system. And storing the result in the memory of the system, debugging during the standby time of the target system, storing debugging information in the memory of the system, and performing the monitoring program to perform the hardware operation result and debugging information. It provides a debugging method of an embedded system including monitoring the host.

그리고, 상기 디버깅 단계는, 디버깅 지원을 위한 코드를 엔코딩 소프트웨어와 함게 수행하여 시스템의 메모리에 저장하는 것을 특징으로 한다.The debugging step is characterized in that the code for debugging support is executed together with the encoding software and stored in the memory of the system.

상기 타겟 시스템의 대기 시간은 상기 인터럽트 요청에 따라 인터럽트 서비스 루틴을 완료한 이후부터 다음의 인터럽트 요청 시간까지인 것을 특징으로 한다.The wait time of the target system may be from the completion of the interrupt service routine according to the interrupt request until the next interrupt request time.

따라서, 본 발명은 별도의 디버깅 환경 구현없이 시스템의 하드웨어와 소프트웨어를 타겟 시스템에서 직접 디버깅하며, 시스템의 리얼 타임 특성 및 하드웨어와 소프트웨어가 밀접하게 연관되어 상호 동작해야 하는 제한 조건을 만족시킴과 동시에 타겟 시스템이 갖는 자원 활용을 최대화함으로써 디버깅 환경 구현에 요구되는 비용절감 및 용이성 향상을 도모하는 효과가 있다.Therefore, the present invention directly debugs the hardware and software of the system directly on the target system without implementing a separate debugging environment, and satisfies the limitations that the real-time characteristics of the system and the hardware and software must be closely related to each other and at the same time interoperate. By maximizing the resource utilization of the system, it is possible to reduce the cost and ease of use required to implement a debugging environment.

이하 상기의 목적을 구체적으로 실현할 수 있는 본 발명의 바람직한 실시예를 첨부한 도면을 참조하여 설명한다. Hereinafter, with reference to the accompanying drawings, preferred embodiments of the present invention that can specifically realize the above object will be described.                     

도 3은 본 발명에 따른 임베디드 시스템의 보드 구성 및 디버깅 환경을 나타낸 도면으로, 타겟 시스템은 엠펙 2 비디오 엔코더 시스템을 예시하였다.3 is a diagram illustrating a board configuration and debugging environment of an embedded system according to the present invention, in which a target system exemplifies an MPEG 2 video encoder system.

도 3과 같은 임베디드 시스템은, 타겟 보드(100)가 운영 체제(Operating System)의 도움 없이 수행되는 특성을 지니므로, 시스템의 중추 역할을 담당하는 EISC(Extendable Instruction Set Computer) 프로세서(200)가 시스템 부팅시 프로세서 및 기타 초기화에 필요한 스타트 업(start-up) 코드를 수행함으로써 시스템 운영에 필요한 메인 프로그램의 수행 준비를 완료하게 된다. In the embedded system as shown in FIG. 3, since the target board 100 has a characteristic that the target board 100 is performed without the help of an operating system, an Extended Instruction Set Computer (EISC) processor 200 that plays a pivotal role in the system is provided. By booting the startup code required for the processor and other initialization at boot time, the main program necessary for operating the system is prepared.

이때, 상기 메인 프로그램 수행시 비디오 엔코딩(Video encoding) 하드웨어가 되는 PREP(PRE-Processing)부(300), ME(Motion Estimator)부(500), 그리고 VENC(Video ENCoder)부(600)를 초기화함으로써 각 하드웨어의 제어 준비를 완료하게 된다.At this time, by performing the main program, the PREP (PRE-Processing) unit 300, ME (Motion Estimator) unit 500, and VENC (Video ENCoder) unit 600, which are video encoding hardware, are initialized. You are ready to control each piece of hardware.

상기 타겟 보드(100)는 이러한 초기화 수행후 시스템의 입력으로 엔코딩할 비디오 스트림(Video Stream)이 상기 PREP부(300)에 주기적으로 공급됨으로써 구동된다. 이때, 상기 PREP부(300)는 상기 스트림을 입력받아 전처리(Pre-processing) 기능을 수행하고, 그 처리 결과를 ME부(500) 또는 VENC부(600)에 의해 처리될 수 있는 형태의 데이터로 변환하여 메모리(400)에 저장한 다음 하드웨어 인터럽트(Interrupt)를 띄워 자신의 동작이 완료되었음을 EISC 프로세서(200)에게 알려주게 된다. The target board 100 is driven by periodically supplying the PREP unit 300 with a video stream to be encoded as an input of a system after performing such initialization. At this time, the PREP unit 300 receives the stream and performs a pre-processing function, and the processing result is data of a form that can be processed by the ME unit 500 or the VENC unit 600. After converting and storing the memory 400, a hardware interrupt is issued to inform the EISC processor 200 that its operation is completed.

이처럼, 상기 타겟 보드(100)상에서 동작하는 시스템을 타겟 시스템이라 명명하며, 본 발명에 따른 엠펙 2 엔코더 시스템의 전체적인 동작 흐름은 첨부한 도 4에 도시하였다.As such, the system operating on the target board 100 is called a target system, and the overall operation flow of the MPEG 2 encoder system according to the present invention is illustrated in FIG. 4.

도 4와 같이, 타겟 시스템의 실제적인 엔코딩(encoding) 기능을 담당하는 VENC(Video ENCoder)부 또는 ME(Motion Estimator)부는, PREP(PRE-Processing)부의 인터럽트 요청에 의해 수행되는 인터럽트 서비스 루틴(ISR : Interrupt Service Routine)에 의해 제어 및 구동된다. 즉, PREP부에 의해 전처리된 데이터를 메모리로부터 읽어들여 엔코딩을 수행하고 그 결과 데이터인 비트 스트림(Bit-stream)을 메모리에 저장한 후 EISC 프로세서쪽에 하드웨어 인터럽트를 요청함으로써 자신의 동작이 완료되었음을 알리게 된다.As shown in FIG. 4, a VENC (Video ENCoder) unit or a ME (Motion Estimator) unit in charge of an actual encoding function of a target system is an interrupt service routine (ISR) performed by an interrupt request of a PRE-Processing unit. It is controlled and driven by Interrupt Service Routine. In other words, the data preprocessed by the PREP unit is read from memory, encoding is performed, and as a result, the bit stream, which is the result data, is stored in the memory, and the EISC processor requests a hardware interrupt to inform the completion of its operation. do.

이와 같이, 각 하드웨어 인터럽트 요청을 통해 제어권을 넘겨받은 EISC 프로세서는 도 4와 같이, 각각의 해당되는 인터럽트 서비스 루틴을 수행함으로써 엔코딩에 필요한 역할을 담당하게 된다. As such, as shown in FIG. 4, the EISC processor, which is given control right through each hardware interrupt request, plays a role necessary for encoding by executing each corresponding interrupt service routine.

이러한 프로세서의 동작(Operation)은 각 하드웨어로부터 제어권을 넘겨받을 때마다 수시로 이루어지며, 각 인터럽트 서비스 루틴 수행을 완료한 EISC 프로세서는 각각의 하드웨어 구동을 완료한 뒤 하드웨어로부터 제어권을 다시 넘겨받기 전까지는 시스템 멈춤(System Halt) 상태에서 대기하게 된다. 따라서, EISC 프로세서는 동작(Operation)과 멈춤(Halt) 상태를 반복하게 된다.The operation of the processor is performed every time control is taken from each piece of hardware, and the EISC processor, which has completed execution of each interrupt service routine, completes the operation of each hardware until the system takes over control from the hardware. It will wait in the System Halt state. Therefore, the EISC processor repeats the operation and the halt state.

본 발명에 따르면, 이처럼 EISC 프로세서가 멈춤 상태에서 대기하고 있는 시간 즉, 프로세서가 동작하지 않고 멈춰있는 시간을 이용하여 디버깅을 수행하도록 하는데, 이를 첨부한 도 5를 참조하여 좀 더 자세히 설명하면 다음과 같다.According to the present invention, debugging is performed using the time that the EISC processor is in the stopped state, that is, the time when the processor is not running. The following description will be made in detail with reference to FIG. 5. same.

도 5는 본 발명에 따른 모니터링 디버깅 방법을 나타낸 도면이다. 5 is a diagram illustrating a monitoring debugging method according to the present invention.                     

도 5와 같이, 프로세서가 동작하지 않고 멈춰있는 시간동안 디버깅을 수행하도록 하기 위해서, 디버깅에 필요한 정보들을 모니터링 디버거(Monitoring Debugger) 프로그램 수행을 통해 EISC 프로세서로 하여금 사용자에게 모니터링 해주도록 한다. 즉, 상기 모니터링 디버거 프로그램은 도 3과 같이 호스트(700)의 터미널 프로그램과 연계되어 디버깅 상황을 모니터링해주도록 동작하게 되는 것이다.As shown in FIG. 5, in order to perform debugging during the time when the processor is not running, the EISC processor monitors the user through the execution of a monitoring debugger program. That is, the monitoring debugger program is operated to monitor the debugging situation in connection with the terminal program of the host 700 as shown in FIG. 3.

이를 위해, 엔코딩 소프트 웨어 및 하드웨어가 수행되는 동안의 런타임 디버깅 정보(Runtime Debugging Information)들은 시스템의 리얼 타임 특성을 제한하지 않는 범위 내에서 디버깅 지원을 위한 코드를 엔코딩 소프트웨어와 함께 수행하여 시스템의 메모리에 저장해 놓은 후 모니터링 프로그램 수행시 이 정보를 가져다가 디버깅 정보로 제공한다.(A)To this end, Runtime Debugging Information during encoding software and hardware is executed by the encoding software along with the encoding software in memory of the system without limiting the real-time characteristics of the system. After saving, this information is taken when executing the monitoring program and provided as debugging information. (A)

또한, 각 인터럽트 서비스 루틴이 수행된 결과에 대한 정보들 즉, 시스템의 데이터, BSS 영역 정보 및 기타 컴파일 관련한 정보들은 실행 결과 정보(Excution result Information)로써 메모리에 저장되어 있다가, 모니터링 프로그램 수행시 사용자에게 그 결과 정보들을 제공해준다.(B)In addition, information on the result of each interrupt service routine execution, that is, system data, BSS region information, and other information related to compilation are stored in the memory as execution result information. (B) provide the resulting information.

따라서, 본 발명에 따른 방법은 별도의 디버깅 환경 구현 절차가 필요하지 않으며, 프로세서가 인터럽트 서비스 루틴을 수행하지 않는 동안 디버깅 프로그램을 수행하게 되므로, 시스템의 리얼 타임 특성 및 기타 동작 조건을 유지하면서 엔코딩 하드웨어와 소프트웨어를 직접 디버깅할 수 있다.Therefore, the method according to the present invention does not require a separate debugging environment implementation procedure, and executes a debugging program while the processor does not execute an interrupt service routine, so that the encoding hardware is maintained while maintaining the system's real-time characteristics and other operating conditions. And software can be debugged directly.

뿐만 아니라, 이 방법은 EISC 프로세서의 프로세서 사용율을 100%까지 올릴 수 있게 되므로 타겟 시스템의 자원 활용율을 최대화하게 된다. In addition, this method can increase the processor utilization of the EISC processor by 100%, maximizing the resource utilization of the target system.                     

한편, 본 발명은 상술한 실시예에 한정되지 않으며, 첨부된 청구범위에서 알 수 있는 바와 같이 본 발명이 속한 분야의 통상의 지식을 가진 자에 의해 변형이 가능하고 이러한 변형은 본 발명의 범위에 속한다. On the other hand, the present invention is not limited to the above-described embodiment, and can be modified by those skilled in the art as can be seen from the appended claims and such modifications are within the scope of the present invention. Belongs.

상기에서 설명한 본 발명에 따른 임베디드 시스템의 디버깅 방법의 효과를 설명하면 다음과 같다. Referring to the effects of the debugging method of the embedded system according to the present invention described above are as follows.

첫째, 별도의 디버깅 환경 구현없이 시스템의 하드웨어와 소프트웨어를 타겟 시스템에서 직접 디버깅하는 효과가 있다.First, there is an effect of directly debugging the hardware and software of the system directly on the target system without implementing a separate debugging environment.

둘째, 시스템의 리얼 타임 특성 및 하드웨어와 소프트웨어가 밀접하게 연관되어 상호 동작해야 하는 제한 조건을 만족시킴과 동시에 타겟 시스템이 갖는 자원 활용을 최대화함으로써 디버깅 환경 구현에 요구되는 비용절감 및 용이성 향상을 도모하는 효과가 있다.Second, the system meets the real-time characteristics of the system and the constraint that hardware and software are closely related to each other, and maximizes the utilization of the resources of the target system, thereby reducing the cost and ease of implementation required for implementing a debugging environment. It works.

Claims (4)

모니터링 프로그램을 통해 호스트와 연계된 프로세서를 내장한 타겟 시스템의 디버깅 방법에 있어서,In the debugging method of the target system with the processor associated with the host through the monitoring program, 상기 타겟 시스템 내부 하드웨어의 인터럽트 수행 요청에 따라 상기 프로세서를 이용하여 각 하드웨어의 동작을 수행하고 그 결과를 시스템의 메모리에 저장하는 단계와,Performing an operation of each hardware by using the processor according to an interrupt execution request of the internal hardware of the target system, and storing the result in a system memory; 상기 타겟 시스템의 대기 시간동안 디버깅하여 디버깅 정보를 시스템의 메모리에 저장하는 단계와,Debugging during the waiting time of the target system and storing debugging information in a memory of the system; 상기 모니터링 프로그램을 수행하여 상기 하드웨어 동작 수행 결과 및 디버깅 정보를 호스트에게 모니터링 해주는 단계를 포함하여 이루어짐을 특징으로 하는 임베디드 시스템의 디버깅 방법.And monitoring the hardware operation execution result and debugging information to the host by executing the monitoring program. 제 1 항에 있어서,The method of claim 1, 상기 타겟 시스템은 엠펙 2 비디오 엔코더 시스템인 것을 특징으로 하는 임베디드 시스템의 디버깅 방법.And the target system is an MPEG 2 video encoder system. 제 2 항에 있어서,The method of claim 2, 상기 디버깅 단계는, 디버깅 지원을 위한 코드를 엔코딩 소프트웨어와 함께 수행하여 시스템의 메모리에 저장하는 것을 특징으로 하는 임베디드 시스템의 디버 깅 방법.The debugging step, the debugging method of the embedded system, characterized in that for executing the code for debugging support with the encoding software and stored in the memory of the system. 제 1 항에 있어서,The method of claim 1, 상기 타겟 시스템의 대기 시간은 상기 인터럽트 요청에 따라 인터럽트 서비스 루틴을 완료한 이후부터 다음의 인터럽트 요청 시간까지인 것을 특징으로 하는 임베디드 시스템의 디버깅 방법.The wait time of the target system is a debugging method of the embedded system, characterized in that from the completion of the interrupt service routine according to the interrupt request to the next interrupt request time.
KR1020040090809A 2004-11-09 2004-11-09 Method of debugging in Embedded system KR101033591B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040090809A KR101033591B1 (en) 2004-11-09 2004-11-09 Method of debugging in Embedded system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040090809A KR101033591B1 (en) 2004-11-09 2004-11-09 Method of debugging in Embedded system

Publications (2)

Publication Number Publication Date
KR20060041561A true KR20060041561A (en) 2006-05-12
KR101033591B1 KR101033591B1 (en) 2011-05-11

Family

ID=37148093

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040090809A KR101033591B1 (en) 2004-11-09 2004-11-09 Method of debugging in Embedded system

Country Status (1)

Country Link
KR (1) KR101033591B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100868762B1 (en) * 2006-12-01 2008-11-17 삼성전자주식회사 Method of error detecting method for embedded sofeware
KR100925517B1 (en) * 2007-09-20 2009-11-05 엠디에스테크놀로지 주식회사 System for testing embedded device and method therefor

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6622260B1 (en) 1999-12-30 2003-09-16 Suresh Marisetty System abstraction layer, processor abstraction layer, and operating system error handling
KR20030003945A (en) * 2001-07-04 2003-01-14 엘지전자 주식회사 Method for operating multiple boot modes in an embedded computer system, and apparatus for exchanging boot mode in the same system
KR20030043382A (en) * 2001-11-28 2003-06-02 학교법인 선문학원 Embedded web server system for monitoring/control of industrial controller
KR20040022066A (en) * 2002-09-06 2004-03-11 엘지전자 주식회사 Proto-typing apparatus for embedded system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100868762B1 (en) * 2006-12-01 2008-11-17 삼성전자주식회사 Method of error detecting method for embedded sofeware
US8589889B2 (en) 2006-12-01 2013-11-19 Samsung Electronics Co., Ltd. Apparatus and method of detecting errors in embedded software
KR100925517B1 (en) * 2007-09-20 2009-11-05 엠디에스테크놀로지 주식회사 System for testing embedded device and method therefor

Also Published As

Publication number Publication date
KR101033591B1 (en) 2011-05-11

Similar Documents

Publication Publication Date Title
EP1754156B1 (en) Data processing system with trace co-processor
US7992042B2 (en) Debug support device, and program for directing computer to perform debugging method
JP4388518B2 (en) Thread debugging device, thread debugging method and program
US9852038B2 (en) Debugging system and debugging method of multi-core processor
CN109726135B (en) Multi-core debugging method and device and computer readable storage medium
US20060143523A1 (en) Apparatus and method for debugging embedded software
US7941650B2 (en) Microprocessor based on event-processing instruction set and event-processing method using the same
WO2022227410A1 (en) Embedded terminal remote software debugging method
US8225289B2 (en) Method and system for improved tool interaction with a target
CN105740139A (en) Virtual environment based embedded software debugging method
CN107820605B (en) System and method for dynamic low-latency optimization
KR101033591B1 (en) Method of debugging in Embedded system
US20060259753A1 (en) Automatic halting of a processor in debug mode due to reset
RU2432601C2 (en) Method of introducing determinism among multiple clock intervals
CN115221053B (en) DSP debugging framework based on Ethernet
Ahn et al. Overcoming scalability challenges for tool daemon launching
JP4024026B2 (en) Semiconductor device and evaluation device
CN114218067A (en) Heterogeneous many-core software debugging device and method
JPH10326205A (en) System call issuing method
KR100952762B1 (en) Real-time debugging method of digital signal processor
US7124311B2 (en) Method for controlling processor in active/standby mode by third decoder based on instructions sent to a first decoder and the third decoder
Roop et al. A new reactive processor with architectural support for control dominated embedded systems
JP2005107909A (en) Multi-processor system having debug function and program for multi-processor system
JP2003005987A (en) Emulation device
JP2004199630A (en) Data processor

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: 20140414

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20160324

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20170314

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20180314

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee