KR101257041B1 - Test and Debugging Method and System using AHB-UART thereof - Google Patents

Test and Debugging Method and System using AHB-UART thereof Download PDF

Info

Publication number
KR101257041B1
KR101257041B1 KR1020110100509A KR20110100509A KR101257041B1 KR 101257041 B1 KR101257041 B1 KR 101257041B1 KR 1020110100509 A KR1020110100509 A KR 1020110100509A KR 20110100509 A KR20110100509 A KR 20110100509A KR 101257041 B1 KR101257041 B1 KR 101257041B1
Authority
KR
South Korea
Prior art keywords
command
test
target system
communication
test script
Prior art date
Application number
KR1020110100509A
Other languages
Korean (ko)
Other versions
KR20130036436A (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 KR1020110100509A priority Critical patent/KR101257041B1/en
Publication of KR20130036436A publication Critical patent/KR20130036436A/en
Application granted granted Critical
Publication of KR101257041B1 publication Critical patent/KR101257041B1/en

Links

Images

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
    • 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/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

Abstract

본 발명은 AHB-UART를 이용한 테스트 디버깅 방법 및 그 시스템에 관한 것으로, 본 발명에 따른 방법은 사용자 명령 및 테스트 스크립트 중 적어도 하나를 입력받는 단계, 입력된 사용자 명령 및 테스트 스크립트 중 적어도 하나의 유효성을 판단하는 단계, 유효한 것으로 판단된 사용자 명령 및 테스트 스크립트 중 적어도 하나에 대응하는 통신 명령을 생성하는 단계, 그리고 생성된 통신 명령을 타겟 시스템에 송신하는 단계를 포함한다. 본 발명에 따르면, 테스트 절차 수행에 있어 별도의 컴파일러 없이 자체적인 스크립트 해석기를 이용함으로써 테스트 및 디버깅에 소요되는 시간과 노력을 줄일 수 있다.
또한 타겟 시스템에서 응용 프로그램이 동작하고 있는 상황에서도 AMBA AHB 버스에 접근하여 특정 주소(address) 값을 읽거나 쓸 수 있어, 시스템 및 응용 프로그램을 테스트 디버깅하기 위하여 응용 프로그램을 수정하지 않아도 되는 이점이 있다.
The present invention relates to a test debugging method and a system using the AHB-UART, the method according to the present invention is to receive at least one of the user command and the test script, the validity of at least one of the input user command and the test script. Determining a communication command corresponding to at least one of a user command and a test script determined to be valid, and transmitting the generated communication command to a target system. According to the present invention, it is possible to reduce the time and effort required for testing and debugging by using its own script interpreter without a separate compiler in performing the test procedure.
Also, even when the application is running on the target system, the AMBA AHB bus can be accessed and read or written to specific address values, so there is no need to modify the application to test and debug the system and the application. .

Description

AHB-UART를 이용한 테스트 디버깅 방법 및 그 시스템{Test and Debugging Method and System using AHB-UART thereof}Test and Debugging Method and System using AHB-UART

본 발명은 타겟 시스템에 대한 테스트 디버깅 방법 및 그 시스템에 관한 것으로, 보다 자세하게는 AMBA AHB 버스를 사용하는 타겟 시스템에 대해서 AHB-UART를 이용한 테스트 디버깅 방법 및 그 시스템에 관한 것이다.The present invention relates to a test debugging method and a system for a target system, and more particularly, to a test debugging method and a system using AHB-UART for a target system using an AMBA AHB bus.

종래에는 시스템 개발과정에서 시스템 및 응용 프로그램을 테스트하기 위하여 테스트 프로그램을 작성하고 이것을 타겟 시스템에 전송하고 실행하는 일련의 과정이 필요하였다. Conventionally, in order to test a system and an application program during a system development process, a series of processes of writing a test program, transferring it to a target system, and executing the same are required.

이러한 과정은 별도의 테스트 프로그램이 필요 하는 등 사용자의 시간과 노력이 요구되는 불편함이 존재하였다.This process was inconvenient, requiring a user's time and effort, such as a separate test program.

또한 개발되는 시스템이 다르거나, 테스트하는 사람에 따라 테스트 방법이 다를 경우 기존의 테스트 프로그램을 다시 사용할 수 없는 경우도 발생하여 테스트 프로그램의 재사용을 보장할 수 없었다. In addition, if the developed system is different or the test method is different according to the testers, the existing test programs may not be reused, and the reuse of the test programs could not be guaranteed.

따라서 본 발명이 해결하고자 하는 기술적 과제는 AMBA AHB 버스를 사용하는 시스템 개발과정에서 AHB-UART를 이용한 테스트 디버깅 방법 및 그 시스템을 제공하는 것이다.Therefore, the technical problem to be solved by the present invention is to provide a test debugging method and a system using AHB-UART in the process of system development using the AMBA AHB bus.

상기한 기술적 과제를 해결하기 위한 본 발명의 일 실시예에 따른 테스트 디버깅 방법은 사용자 명령 및 테스트 스크립트 중 적어도 하나를 입력받는 단계, 상기 입력된 사용자 명령 및 테스트 스크립트 중 적어도 하나의 유효성을 판단하는 단계, 유효한 것으로 판단된 상기 사용자 명령 및 테스트 스크립트 중 적어도 하나에 대응하는 통신 명령을 생성하는 단계, 그리고 상기 생성된 통신 명령을 타겟 시스템에 송신하는 단계를 포함한다.Test debugging method according to an embodiment of the present invention for solving the above technical problem is a step of receiving at least one of a user command and a test script, determining the validity of at least one of the input user command and the test script Generating a communication command corresponding to at least one of the user command and the test script determined to be valid, and transmitting the generated communication command to a target system.

상기 생성된 통신 명령을 타겟 시스템에 송신하는 단계는, 상기 통신 명령이 읽기 명령 또는 쓰기 명령인지 판단하는 단계, 읽기 명령인 경우 읽기 명령을 타겟 시스템에 송신하는 단계, 그리고 쓰기 명령인 경우 쓰기 명령을 타겟 시스템에 송신하는 단계를 포함할 수 있다.The transmitting of the generated communication command to a target system may include determining whether the communication command is a read command or a write command, transmitting a read command to a target system if the read command is a command, and writing a command if the write command is a read command. Transmitting to the target system.

상기 방법은 상기 읽기 명령에 대응하는 데이터를 타겟 시스템으로부터 수신하는 단계를 더 포함할 수 있고, 상기 타겟 시스템은 AHB-UART를 이용하여 상기 통신 명령을 수신할 수 있다.The method may further include receiving data corresponding to the read command from a target system, wherein the target system may receive the communication command using AHB-UART.

상기한 기술적 과제를 해결하기 위한 본 발명의 다른 실시예에 따른 테스트 디버깅 시스템은 사용자 명령 및 테스트 스크립트 중 적어도 하나를 입력받는 입력부, 상기 입력된 사용자 명령 및 테스트 스크립트 중 적어도 하나의 유효성을 검증하고 유효한 것으로 판단된 상기 사용자 명령 및 테스트 스크립트 중 적어도 하나에 대응하는 통신 명령을 생성하는 해석부, 그리고 상기 생성된 통신 명령을 타겟 시스템에 송신하고 상기 통신 명령에 대응하는 데이터를 상기 타겟 시스템으로부터 수신하는 통신부를 포함한다.Test debugging system according to another embodiment of the present invention for solving the above technical problem is to validate the validity of at least one of the input unit receiving the at least one of the user command and the test script, the input user command and the test script An analysis unit for generating a communication command corresponding to at least one of the user command and the test script determined to be, and a communication unit for transmitting the generated communication command to a target system and receiving data corresponding to the communication command from the target system. It includes.

상기 해석부는 상기 사용자 명령의 유효성을 검증하는 명령 유효성 검증부, 상기 테스트 스크립트의 유효성을 검증하는 스크립트 유효성 검증부, 그리고 상기 통신 명령을 생성하는 통신 명령 생성부를 포함할 수 있다.The interpreter may include a command validator that validates the user command, a script validator that validates the test script, and a communication command generator that generates the communication command.

상기 통신부는 상기 통신 명령이 읽기 명령인 경우 상기 읽기 명령을 상기 타겟 시스템에 송신하고 상기 읽기 명령에 대응하는 데이터를 상기 타겟 시스템으로부터 수신하는 읽기 명령 처리부, 상기 통신 명령이 쓰기 명령인 경우 상기 쓰기 명령을 상기 타겟 시스템에 송신하는 쓰기 명령 처리부를 포함할 수 있고, 그리고 상기 타겟 시스템은 AHB-UART를 이용하여 상기 통신 명령을 수신할 수 있다.The communication unit may include a read command processor configured to transmit the read command to the target system when the communication command is a read command and to receive data corresponding to the read command from the target system, and the write command when the communication command is a write command. It may include a write command processing unit for transmitting to the target system, and the target system may receive the communication command using the AHB-UART.

본 발명에 의하면, 테스트 절차를 수행함에 있어 별도의 컴파일러(compiler)를 사용하지 않고 자체적인 스크립트 해석기를 이용함으로써 테스트 및 디버깅에 소요되는 시간과 노력을 줄일 수 있다. According to the present invention, it is possible to reduce the time and effort required for testing and debugging by using its own script interpreter without using a separate compiler in performing the test procedure.

또한 기존의 방법과 달리 타겟 시스템에서 응용 프로그램이 동작하고 있는 상황에서도 AMBA AHB 버스에 접근하여 특정 주소(address) 값을 읽거나 쓸 수 있다. 따라서 시스템 및 응용 프로그램을 테스트하기 위하여 응용 프로그램을 수정하지 않아도 되는 이점이 있다.In addition, unlike the conventional method, even when an application is running on the target system, the AMBA AHB bus can be accessed to read or write a specific address value. Therefore, there is an advantage that does not need to modify the application to test the system and the application.

도 1은 본 발명의 일 실시예에 따른 테스트 디버깅 시스템을 설명하기 위해 제공되는 블록도,
도 2는 도 1의 해석부를 보다 자세히 나타내는 블록도,
도 3은 도 1의 통신부를 보다 자세히 나타내는 블록도, 그리고
도 4는 본 발명의 일 실시예에 따른 테스트 디버깅 방법을 설명하기 위해 제공되는 흐름도이다.
1 is a block diagram provided to explain a test debugging system according to an embodiment of the present invention;
2 is a block diagram illustrating in detail the analysis part of FIG. 1;
3 is a block diagram illustrating the communication unit of FIG. 1 in more detail.
4 is a flowchart provided to explain a test debugging method according to an embodiment of the present invention.

그러면 첨부한 도면을 참고로 하여 본 발명의 실시예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다.DETAILED DESCRIPTION Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention.

도 1은 본 발명의 일 실시예에 따른 테스트 디버깅 시스템을 설명하기 위해 제공되는 블록도이다.1 is a block diagram provided to explain a test debugging system according to an embodiment of the present invention.

도 1을 참고하면, 본 발명의 일 실시예에 따른 테스트 디버깅 시스템은 호스트 시스템(100) 및 타겟 시스템(200)을 포함할 수 있다. Referring to FIG. 1, a test debugging system according to an embodiment of the present invention may include a host system 100 and a target system 200.

타겟 시스템(200)은 AMBA AHB 버스를 포함하며, 사용자에 의해 개발된 응용 프로그램 등이 설치되어 실행될 수 있다.The target system 200 includes an AMBA AHB bus, and an application program developed by a user may be installed and executed.

특히 본 발명의 AHB-UART를 이용하면 타겟 시스템(200)에서 응용 프로그램이 동작하고 있는 상황에서도 AMBA AHB 버스의 특정 주소(address)에 대한 데이터 값을 읽거나 쓸 수 있다.In particular, using the AHB-UART of the present invention can read or write a data value for a specific address of the AMBA AHB bus even when the application program is running in the target system 200.

호스트 시스템(100)은 사용자의 요청을 받아 응용 프로그램이 실행 중인 타겟 시스템(200)을 테스트할 수 있는 시스템으로 입력부(110), 해석부(120) 그리고 통신부(130)를 포함할 수 있다.The host system 100 is a system capable of testing a target system 200 in which an application program is executed in response to a user's request. The host system 100 may include an input unit 110, an analysis unit 120, and a communication unit 130.

입력부(110)는 단일 문장 형태의 사용자 명령 또는 다중문장으로 이루어진 테스트 스크립트를 사용자로부터 입력받아 해석부(120)로 전달하는 기능을 수행한다.The input unit 110 receives a test script composed of a single sentence user command or multiple sentences from a user and transmits the test script to the interpreter 120.

사용자 명령 또는 테스트 스크립트는 타겟 시스템(200)에서 수행중인 응용프로그램을 테스트하기 위한 명령으로 사용자의 일상어에 가까운 프로그램용 언어(high-level language)로 구성될 수 있다.The user command or test script is a command for testing an application program being executed in the target system 200 and may be configured as a high-level language for a program that is close to a user's everyday language.

도 2는 도 1의 해석부를 보다 자세히 나타내는 블록도이다.FIG. 2 is a block diagram illustrating in detail the analysis part of FIG. 1. FIG.

도 1 및 도 2를 참고하면, 해석부(120)는 명령 유효성 검증부(122), 스크립트 문법 검증부(124) 그리고 통신 명령 생성부(126)를 포함할 수 있다.1 and 2, the interpreter 120 may include a command validator 122, a script grammar verifier 124, and a communication command generator 126.

명령 유효성 검증부(122)는 단일 문장으로 이루어진 사용자 명령에 대해 문법 및 유효성을 검증하고, 유효한 사용자 명령을 통신 명령 생성부(126)에 전달하는 기능을 수행한다.The command validator 122 verifies the grammar and validity of the user command composed of a single sentence, and transmits a valid user command to the communication command generator 126.

스크립트 문법 검증부(124)는 다중 문장으로 이루어진 테스트 스크립트의 문법 및 유효성을 검증하고 유효한 테스트 스크립트를 통신 명령 생성부(126)에 전달하는 기능을 수행한다. The script grammar verification unit 124 verifies the grammar and validity of the test script composed of multiple sentences and transmits a valid test script to the communication command generation unit 126.

통신 명령 생성부(126)는 전달받은 유효한 사용자 명령 또는 유효한 테스트 스크립트를 타겟 시스템(200)에 전달할 수 있는 통신명령을 생성한다.The communication command generator 126 generates a communication command capable of delivering the received valid user command or valid test script to the target system 200.

통신 명령은 인간 언어에 가까운 언어(high-level language)인 사용자 명령 또는 유효한 테스트 스크립트를 타겟 시스템(200)에 전달하기 위해 기계어에 가까운 언어(low-level language)로 번역된 형태이다.The communication command is a form translated into a low-level language close to a machine language to deliver a user command or a valid test script that is a high-level language close to a human language to the target system 200.

그리고 통신 명령은 읽기 명령과 쓰기 명령 두 종류로 분류될 수 있다.Communication commands can be classified into two types: read commands and write commands.

읽기 명령에 의해 타겟 시스템(200)의 특정 주소(address)에 대한 데이터 값을 읽어 올 수 있으며, 쓰기 명령은 사용자 명령 또는 테스트 스크립트에 따른 특정 내용을 타겟 시스템(200)의 특정 주소(address)에 쓸 수 있다.A read command may read a data value for a specific address of the target system 200, and the write command may transmit specific contents according to a user command or a test script to a specific address of the target system 200. Can write

쓰기 명령이 제대로 수행되었는지 여부는 쓰기 명령과 쓰기 명령 수행 여부를 확인할 수 있는 읽기 명령을 함께 보냄으로써 확인할 수 있다.Whether the write command was executed correctly can be checked by sending a write command together with a read command to check whether the write command has been performed.

도 3은 도 1의 통신부를 보다 자세히 나타내는 블록도이다.3 is a block diagram illustrating in detail the communication unit of FIG. 1.

도 1 및 도 3을 참고하면, 통신부(130)는 쓰기 명령 처리부(132), 읽기 명령 처리부(134) 그리고 통신 관리부(136)를 포함할 수 있다.1 and 3, the communicator 130 may include a write command processor 132, a read command processor 134, and a communication manager 136.

쓰기 명령 처리부(132)는 타겟 시스템(200)의 특정 주소(address)에 사용자 명령 또는 테스트 스크립트에 포함된 내용을 쓰는 쓰기 명령을 통신 관리부(136)에 전달하는 기능을 수행할 수 있다.The write command processor 132 may perform a function of transmitting a write command to the communication manager 136 to write a content included in a user command or a test script at a specific address of the target system 200.

읽기 명령 처리부(134)는 타겟 시스템(200)의 특정 주소(address)에 대한 읽기 명령을 통신 관리부(136)에 전달하는 기능을 수행할 수 있고, 타겟 시스템(200)으로부터 전송되는 읽기 명령에 대응하는 데이터를 통신 관리부(136)를 통하여 수신하는 기능을 수행할 수 있다. The read command processor 134 may perform a function of transmitting a read command for a specific address of the target system 200 to the communication manager 136, and corresponds to a read command transmitted from the target system 200. The data may be received through the communication manager 136.

통신 관리부(136)는 타겟 시스템(200)과 호스트 시스템(100)의 UART 연결을 위한 초기설정을 하고, 쓰기 명령 처리부(132) 또는 읽기 명령 처리부(134)로부터 전달받은 통신명령을 타겟 시스템(200)으로 전달하는 등 시스템을 전반적으로 관리할 수 있다.The communication manager 136 sets initial settings for UART connection between the target system 200 and the host system 100, and transmits the communication command received from the write command processor 132 or the read command processor 134 to the target system 200. To manage the system as a whole.

도 4는 본 발명의 일 실시예에 따른 테스트 디버깅 방법을 설명하기 위해 제공되는 흐름도이다.4 is a flowchart provided to explain a test debugging method according to an embodiment of the present invention.

도 1 내지 도 4 를 참고하면, 입력부(110)는 사용자 명령 또는 테스트 스크립트를 입력 받는다(S310). 입력받은 사용자 명령 또는 테스트 스크립트는 사용자가 타겟 시스템(200)에서 테스트하고 싶은 내용을 포함하는 것으로, 일상 언어에 가까운 프로그램용 언어(high-level language)로 표현될 수 있다.1 to 4, the input unit 110 receives a user command or a test script (S310). The input user command or test script includes content that the user wants to test in the target system 200 and may be expressed in a high-level language that is close to a daily language.

그리고 해석부(120)는 입력받은 사용자 명령 또는 테스트 스크립트가 유효한지 여부를 판단한다(S320). 입력받은 사용자 명령 또는 테스트 스크립트가 유효하지 않은 것으로 판단되면(S320-N), 테스트 및 디버깅을 더 이상 진행하지 아니하고 종료한다.The analysis unit 120 determines whether the input user command or test script is valid (S320). If it is determined that the input user command or test script is not valid (S320-N), the test and debugging are terminated without further proceeding.

한편 입력받은 사용자 명령 또는 테스트 스크립트가 유효한 것으로 판단되면(S320-Y), 해석부(120)는 통신 명령을 생성한다(330). 생성되는 통신 명령은 읽기 명령과 쓰기 명령 두 종류로 구분된다.On the other hand, if it is determined that the input user command or test script is valid (S320-Y), the analysis unit 120 generates a communication command (330). The generated communication commands are divided into two types: read command and write command.

생성된 통신 명령이 읽기 명령에 해당하는 경우(S340-Y), 읽기 명령 처리부(134)는 읽기 명령을 타겟 시스템(200)에 전송한다(S350).When the generated communication command corresponds to the read command (S340-Y), the read command processor 134 transmits the read command to the target system 200 (S350).

그리고 읽기 명령 처리부(134)는 읽기 명령에 대응하는 데이터를 타겟 시스템(200)으로 부터 수신한다(S360).The read command processor 134 receives data corresponding to the read command from the target system 200 (S360).

한편 통신 명령이 쓰기 명령에 해당하는 경우(S340-N), 쓰기 명령 처리부(136)는 타겟 시스템(200)에 쓰기 명령을 전송한다(S370).On the other hand, when the communication command corresponds to the write command (S340-N), the write command processing unit 136 transmits a write command to the target system 200 (S370).

본 발명의 실시예는 다양한 컴퓨터로 구현되는 동작을 수행하기 위한 프로그램 명령을 포함하는 컴퓨터로 읽을 수 있는 매체를 포함한다. 이 매체는 지금까지 설명한 AHB-UART를 이용한 테스트 디버깅 방법을 실행시키기 위한 프로그램을 기록한다. 이 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 이러한 매체의 예에는 하드디스크, 플로피디스크 및 자기 테이프와 같은 자기 매체, CD 및 DVD와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 자기-광 매체, 롬, 램, 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 구성된 하드웨어 장치 등이 있다. 또는 이러한 매체는 프로그램 명령, 데이터 구조 등을 지정하는 신호를 전송하는 반송파를 포함하는 광 또는 금속선, 도파관 등의 전송 매체일 수 있다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다.Embodiments of the present invention include a computer-readable medium having program instructions for performing various computer-implemented operations. This medium records a program for executing the test debugging method using AHB-UART described above. The medium may include program instructions, data files, data structures, etc., alone or in combination. Examples of such media include magnetic media such as hard disks, floppy disks and magnetic tape, optical recording media such as CD and DVD, programmed instructions such as floptical disk and magneto-optical media, ROM, RAM, And a hardware device configured to store and execute the program. Or such medium may be a transmission medium, such as optical or metal lines, waveguides, etc., including a carrier wave that transmits a signal specifying a program command, data structure, or the like. Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like.

이상에서 본 발명의 바람직한 실시예에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속하는 것이다.Although the preferred embodiments of the present invention have been described in detail above, the scope of the present invention is not limited thereto, and various modifications and improvements of those skilled in the art using the basic concepts of the present invention defined in the following claims are also provided. It belongs to the scope of rights.

100 : 호스트 시스템 110 : 입력부
120 : 해석부 122 : 명령 유효성 검증부
124 : 스크립트 문법 검증부 126 : 통신 명령 생성부
130 : 통신부 132 : 쓰기 명령 처리부
134 : 읽기 명령 처리부 136 : 통신 관리부
200 : 타겟 시스템
100: host system 110: input unit
120: analysis unit 122: command validation unit
124: script grammar verification unit 126: communication command generation unit
130: communication unit 132: write command processing unit
134: read command processing unit 136: communication management unit
200: target system

Claims (7)

(a) 사용자 명령 및 테스트 스크립트 중 적어도 하나를 입력받는 단계,
(b) 상기 입력된 사용자 명령 및 테스트 스크립트 중 적어도 하나의 문법 및 유효성을 판단하는 단계,
(c) 유효한 것으로 판단된 상기 사용자 명령 및 테스트 스크립트 중 적어도 하나에 대응하는 통신 명령을 생성하는 단계, 그리고
(d) 상기 생성된 통신 명령을 타겟 시스템에 송신하는 단계
를 포함하고,
상기 생성된 통신 명령을 타겟 시스템에 송신하는 단계는,
상기 통신 명령이 읽기 명령 또는 쓰기 명령인지 판단하는 단계,
읽기 명령인 경우 상기 읽기 명령을 상기 타겟 시스템에 송신하는 단계,
쓰기 명령인 경우 상기 쓰기 명령과 상기 쓰기 명령 수행 여부를 확인할 수 있는 읽기 명령을 함께 상기 타겟 시스템에 송신하는 단계 그리고,
상기 타겟 시스템에 송신된 읽기 명령에 대응하는 데이터를 상기 타겟 시스템으로부터 수신하는 단계
를 포함하고,
상기 (a) 내지 상기 (d) 단계는 상기 타겟 시스템에서 테스트 대상 응용 프로그램이 동작하고 있는 상황에서 수행되며,
상기 타겟 시스템은 AHB-UART를 이용하여 상기 통신 명령을 수신하는 테스트 디버깅 방법.
(a) receiving at least one of a user command and a test script,
(b) determining a grammar and validity of at least one of the input user command and test script,
(c) generating a communication command corresponding to at least one of the user command and the test script determined to be valid, and
(d) transmitting the generated communication command to a target system
Lt; / RTI >
The step of transmitting the generated communication command to a target system,
Determining whether the communication command is a read command or a write command,
Transmitting the read command to the target system in the case of a read command;
Transmitting a write command to the target system together with a read command for confirming whether the write command is performed;
Receiving data from the target system corresponding to a read command sent to the target system
Lt; / RTI >
Steps (a) to (d) are performed in a situation that a test target application is running in the target system.
And the target system receives the communication command using AHB-UART.
삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete
KR1020110100509A 2011-10-04 2011-10-04 Test and Debugging Method and System using AHB-UART thereof KR101257041B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020110100509A KR101257041B1 (en) 2011-10-04 2011-10-04 Test and Debugging Method and System using AHB-UART thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020110100509A KR101257041B1 (en) 2011-10-04 2011-10-04 Test and Debugging Method and System using AHB-UART thereof

Publications (2)

Publication Number Publication Date
KR20130036436A KR20130036436A (en) 2013-04-12
KR101257041B1 true KR101257041B1 (en) 2013-04-22

Family

ID=48437739

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110100509A KR101257041B1 (en) 2011-10-04 2011-10-04 Test and Debugging Method and System using AHB-UART thereof

Country Status (1)

Country Link
KR (1) KR101257041B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10170198B2 (en) 2015-06-05 2019-01-01 Samsung Electronics Co., Ltd. Data storage and method of operating the same
US10649937B2 (en) 2017-11-07 2020-05-12 SK Hynix Inc. Universal asynchronous receiver/transmitter unit, and memory controller and memory system including the same

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100483025B1 (en) * 2004-05-21 2005-04-15 엔에이치엔(주) A method for determining validity of command and a system thereof

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100483025B1 (en) * 2004-05-21 2005-04-15 엔에이치엔(주) A method for determining validity of command and a system thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ANTLR 을 이용한 임베디드 시스템 테스트 스크립트 언어 구현 방안', 신현규 외 3인, 제35회 한국정보처리학회 춘계학술대회 논문집 제18권 1호(2011.5.) *
ANTLR 을 이용한 임베디드 시스템 테스트 스크립트 언어 구현 방안’, 신현규 외 3인, 제35회 한국정보처리학회 춘계학술대회 논문집 제18권 1호(2011.5.)*

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10170198B2 (en) 2015-06-05 2019-01-01 Samsung Electronics Co., Ltd. Data storage and method of operating the same
US10649937B2 (en) 2017-11-07 2020-05-12 SK Hynix Inc. Universal asynchronous receiver/transmitter unit, and memory controller and memory system including the same

Also Published As

Publication number Publication date
KR20130036436A (en) 2013-04-12

Similar Documents

Publication Publication Date Title
US9223553B2 (en) Methods and apparatus to validate translated guest code in a dynamic binary translator
CN102340541B (en) System and method for cloud volume production
CN109871312B (en) Interface testing method, device, equipment and readable storage medium
US8117499B2 (en) Generation of a stimuli based on a test template
US20090125581A1 (en) Automated recording and playback of application interactions
US8806453B1 (en) Integrating disparate programming languages to form a new programming language
JP2005525660A (en) Methods and mechanisms for improved performance analysis in transaction level models
US10380313B1 (en) Implementation and evaluation of designs for heterogeneous computing platforms with hardware acceleration
Klein et al. Provably trustworthy systems
KR101257041B1 (en) Test and Debugging Method and System using AHB-UART thereof
CN103677754A (en) Method and system for parallel structure for optimizing application program
US20110191748A1 (en) Systems and methods for design time service verification and validation
US7814334B2 (en) Method and apparatus for changing and adding activation keys for functions of digital content without having to change and recompile the digital content
KR102160379B1 (en) Testing method for decentralized application based on blockchain and testing apparatus
Sims et al. Experience report: the reactis validation tool
MX2011001796A (en) Simulated processor execution using branch override.
US20150154103A1 (en) Method and apparatus for measuring software performance
US10816600B1 (en) Protocol analysis and visualization during simulation
JP6352607B2 (en) Assertion generation apparatus and method, and processor verification apparatus and method
US20110224939A1 (en) Integrated tool for persisting development environment test scenario information
JP6265788B2 (en) Simulation device, interface module generation device, and program
Dong et al. Refinement-Based Verification of Device-to-Device Information Flow.
JP2013109673A (en) Simulation device, simulation method, and simulation program
Barth et al. Ultimate TestGen: Test-Case Generation with Automata-based Software Model Checking (Competition Contribution)
Vij et al. DeVIce DrIVer SynTheSIS

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

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20190326

Year of fee payment: 7