KR100834915B1 - Embedded system for testing using PC and method - Google Patents
Embedded system for testing using PC and method Download PDFInfo
- Publication number
- KR100834915B1 KR100834915B1 KR1020060102223A KR20060102223A KR100834915B1 KR 100834915 B1 KR100834915 B1 KR 100834915B1 KR 1020060102223 A KR1020060102223 A KR 1020060102223A KR 20060102223 A KR20060102223 A KR 20060102223A KR 100834915 B1 KR100834915 B1 KR 100834915B1
- Authority
- KR
- South Korea
- Prior art keywords
- signal
- flash memory
- test
- embedded system
- test signal
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/28—Error detection; Error correction; Monitoring by checking the correct order of processing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- For Increasing The Reliability Of Semiconductor Memories (AREA)
- Tests Of Electronic Circuits (AREA)
Abstract
본 발명은 PC를 이용하여 정상 동작 여부를 판단하기 위한 임베디드 시스템 및 그 방법에 관한 것이다.The present invention relates to an embedded system and method for determining normal operation using a PC.
본 발명에 따른 임베디드 시스템은, PC로부터 선택신호를 인가받아 SPI 또는 JTAG 모드 중 어느 하나의 모드를 선택하는 선택부; 상기 선택부에 의해 선택된 모드를 통해 상기 PC로부터 테스트 신호를 인가받아 상기 테스트 신호에 해당하는 명령을 수행하기 위한 제어신호를 출력하는 제어부; 및 상기 제어부로부터 인가되는 제어신호에 의해 제어되어 상기 PC로부터 인가되는 테스트 신호에 포함되어 있는 데이터가 저장 또는 해당 어드레스에 저장된 데이터가 삭제되는 플래쉬 메모리;를 포함한다. Embedded system according to the present invention, the selection unit for receiving a selection signal from the PC to select any one of the SPI or JTAG mode; A controller which receives a test signal from the PC through a mode selected by the selection unit and outputs a control signal for performing a command corresponding to the test signal; And a flash memory controlled by a control signal applied from the controller to store data included in a test signal applied from the PC or to delete data stored at a corresponding address.
임베디드 시스템, 플래쉬 메모리, PC, SPI, JTAG Embedded Systems, Flash Memory, PCs, SPI, JTAG
Description
도 1은 종래 기술의 검사장비를 이용하여 테스트하기 위한 임베디드 시스템을 나타낸 블럭도.1 is a block diagram illustrating an embedded system for testing using a prior art inspection equipment.
도 2는 종래 기술의 JTAG을 이용하여 테스트하기 위한 임베디드 시스템을 나타낸 블럭도.2 is a block diagram illustrating an embedded system for testing using prior art JTAG.
도 3은 본 발명에 따른 PC를 이용하여 테스트하기 위한 임베디드 시스템을 나타낸 블럭도.3 is a block diagram illustrating an embedded system for testing using a PC in accordance with the present invention.
도 4는 본 발명에 따른 PC를 이용한 임베디드 시스템의 테스트 방법의 흐름을 나타낸 순서도.Figure 4 is a flow chart showing the flow of the test method of the embedded system using a PC according to the present invention.
< 도면의 주요부분에 대한 부호의 설명 ><Description of Symbols for Major Parts of Drawings>
300 : 임베디드 시스템 301 : PC300: embedded system 301: PC
310 : 선택부 320 : SPI 인터페이스310: selection unit 320: SPI interface
330 : JTAG 인터페이스 340 : 제어부330: JTAG interface 340: control unit
350 : 플래쉬 메모리350: flash memory
본 발명은 PC를 이용하여 테스트하기 위한 임베디드 시스템 및 그 방법에 관한 것으로, 보다 상세하게는 상용 PC를 사용하여 임베디드 플래쉬 메모리를 테스트함으로써, 테스트가 간단하고 다양한 테스트를 수행할 수 있는 임베디드 시스템 및 테스트 방법에 관한 것이다.The present invention relates to an embedded system for testing using a PC and a method thereof, and more particularly, to an embedded system and a test that can perform a variety of tests in a simple test by testing an embedded flash memory using a commercial PC. It is about a method.
최근, 하나의 칩에 대한 회로의 집적도가 시스템의 고성능화, 고기능화 및 소형화의 요구와 함께 설계공정 기술의 발달에 따라 급속하게 증가하고 있다. In recent years, the degree of integration of a circuit into a single chip is rapidly increasing with the development of design process technology along with the demand for high performance, high functionality, and miniaturization of a system.
이에 따라, 칩 외부에 실장되던 메모리 등의 모듈들도 하나의 칩에 내장되고 있게 됨에 따라, 고집적화된 칩의 테스트에 있어 가장 중요하고 어려운 부분은 임베디드 메모리(Embedded Memory)의 테스트이다.Accordingly, since modules such as memory mounted outside the chip are also embedded in one chip, the most important and difficult part in the test of the highly integrated chip is the test of the embedded memory.
그럼, 이하 관련도면을 참조하여 종래 기술에 의한 임베디드 시스템에 대하여 상세히 설명한다.Then, the embedded system according to the prior art will be described in detail with reference to the accompanying drawings.
도 1은 종래 기술의 검사장비를 이용하여 테스트하기 위한 임베디드 시스템을 나타낸 블럭도이고, 도 2는 종래 기술의 JTAG을 이용하여 테스트하기 위한 임베디드 시스템을 나타낸 블럭도이다.FIG. 1 is a block diagram illustrating an embedded system for testing using a conventional inspection apparatus, and FIG. 2 is a block diagram illustrating an embedded system for testing using a conventional JTAG.
우선, 도 1에 도시한 바와 같이, 종래 기술의 검사장비를 이용하여 테스트하 기 위한 임베디드 시스템(100)은, 외부와 전기적으로 연결되는 인터페이스(110), 상기 인터페이스(110)로부터 인가되는 신호를 분석하여 제어신호를 출력하는 제어부(120) 및 상기 제어부(120)에 의해 제어되는 플래쉬 메모리(130)로 이루어진다.First, as shown in FIG. 1, the embedded
이때, 상기 임베디드 시스템(100)의 정상 동작 여부를 테스트하기 위해서 검사장비(101)를 사용한다.At this time, the
상기 검사장비(101)는 상기 임베디드 시스템(100)만을 테스트하기 위해 제작된 것으로 어드레스(address), 데이터(data), 칩 인에이블(chip enable), 라이트 인에이블(write enable), 아웃풋 인에이블(output enable) 등으로 이루어진 테스트 신호(S1~Sn)를 상기 임베디드 시스템(100)으로 인가한다.The
상기 임베드디 시스템(100)은, 상기 인터페이스(110)를 통해 상기 검사장비(101)와 전기적으로 연결되며, 상기 검사장비(101)로부터 인가되는 테스트 신호(S1~Sn)에 의해 동작한다.The embedded
만약, 상기 검사장비(101)에서 상기 플래쉬 메모리(130)에 데이터를 저장 또는 저장된 데이터를 삭제하기 위한 동작을 테스트하기 위한 테스트 신호(S1~Sn)를 출력하게 되면, 상기 검사장비(101)와 전기적으로 연결된 인터페이스(110)는 상기 테스트 신호(S1~Sn)를 어드레스(add), 데이터(data) 및 칩 인에이블(ce) 등의 신호로 하여 상기 제어부(120)에 전달한다.If the
상기 인터페이스(110)를 통해 테스트 신호를 인가받은 제어부(120)는, 상기 테스트 신호를 분석하여 상기 플래쉬 메모리(130)를 제어하기 위한 어드레스(add), 데이터(data), 프로그램(prog) 및 삭제(erase) 등의 명령어로 이루어진 제어신호를 출력한다.The
이때, 상기 테스트 신호(S1~Sn)가 상기 테스트 신호(S1~Sn)에 의해 지정되는 어드레스에 데이터를 저장하기 위한 명령을 지시하는 신호라면, 상기 제어부(120)는 상기 플래쉬 메모리(130)의 해당 어드레스를 나타내는 어드레스 신호(add)와 저장될 데이터(data) 및 저장하기 위한 저장 신호(prog)를 포함하는 제어신호를 전달한다. 상기 제어신호를 인가받은 상기 플래쉬 메모리(130)는 해당 어드레스에 상기 데이터를 저장한다.In this case, if the test signals S1 to Sn are signals instructing a command to store data at an address designated by the test signals S1 to Sn, the
만약, 상기 테스트 신호(S1~Sn)가 상기 테스트 신호(S1~Sn)에 의해 지정되는 어드레스에 저장된 데이터를 삭제하기 위한 명령을 지시하는 신호라면, 상기 제어부(120)는 상기 플래쉬 메모리(130)에 삭제될 어드레스를 나타내는 어드레스 신호(add)와 저장된 데이터를 삭제시키기 위한 삭제신호(erase)를 포함하는 제어신호를 전달함에 따라, 상기 플래쉬 메모리(130)의 해당 어드레스에 저장된 데이터를 삭제한다.If the test signals S1 to Sn are signals instructing a command for deleting data stored at an address designated by the test signals S1 to Sn, the
또한, 같은 방법으로 상기 플래쉬 메모리(130)의 어드레스 중 선택된 어느 하나의 어드레스만 삭제하는 것이 아니라 플래쉬 메모리(130)의 전 영역을 삭제하기 위한 명령을 수행할 수도 있다.In addition, the same method may be used to delete the entire area of the
그러나, 상기와 같이 검사장비(101)를 이용한 상기 임베디드 시스템(100)의 테스트는, 상기 임베디드 시스템(100)을 테스트하기 위하여 별도로 제작되는 고가의 검사장비(101)가 필요하기 때문에 테스트 비용이 증가하게 되며, 상기 검사장비(101)에 한정된 테스트만을 수행해야만 하는 문제점이 있었다.However, since the test of the embedded
또한, 도 2에 도시한 바와 같이, 종래의 JTAG을 이용하여 정상 동작 여부를 판단하기 위한 임베디드 시스템(200)은, 인터페이스(210), 제어부(220) 및 플래쉬 메모리(230)로 이루어진다.In addition, as shown in FIG. 2, the embedded
이때, 상기 임베디드 시스템(200)의 정상 동작 여부를 테스트하기 위하여 JTAG(201)을 사용한다.In this case, the JTAG 201 is used to test whether the embedded
상기 JTAG(201)은 상기 임베디드 시스템(200)만을 테스트하기 위해, 어드레스(address), 데이터(data), 칩 인에이블(chip enable), 라이트 인에이블(write enable), 아웃풋 인에이블(output enable) 등으로 이루어진 테스트 신호(S)를 시리얼(serial)의 JTAG 명령어 형태로 상기 임베디드 시스템(100)으로 인가한다.The JTAG 201 may test an address, data, chip enable, write enable, and output enable to test only the embedded
상기 임베드디 시스템(200)은, 상기 인터페이스(210)를 통해 상기 JTAG(201)과 전기적으로 연결되며, 상기 JTAG(201)으로부터 인가된 테스트 신호(S)에 의해 해당 어드레스에 데이터를 저장 및 삭제의 명령을 수행한다.The embedded
이때, 상기 JTAG(201)을 이용한 검사과정은 도 1의 검사장비(100)를 이용하여 임베디드 시스템(100)을 테스트하기 위한 과정과 동일한 과정으로 진행되어 임베디드 시스템(200)을 테스트하게 된다.At this time, the inspection process using the JTAG 201 proceeds to the same process as the process for testing the embedded
그러나, 상기 JTAG(201)을 이용한 임베디드 시스템(200)의 테스트는, 상기 임베디드 시스템(200)의 정상 동작 여부를 테스트하기 위하여 별도의 JTAG(201) 장비가 필요하게 되어 테스트 비용이 증가하며, 상기 JTAG(201) 장비만을 사용하여 테스트함에 따라 임베디드 시스템(200) 내에 실장된 플래쉬 메모리(230)의 테스트 방법에 한계가 발생하는 문제점이 있었다.However, in the test of the embedded
따라서, 본 발명은 상기 문제점을 해결하기 위하여 이루어진 것으로, 본 발명의 목적은, 상용 PC를 사용하여 임베디드 시스템의 정상 동작 여부를 테스트함으로써, 테스트 비용이 절감되며 검사자가 원하는 다양한 테스트를 수행할 수 있는 임베디드 시스템 및 이의 테스트 방법을 제공하는데 있다.Accordingly, the present invention has been made to solve the above problems, and an object of the present invention is to test whether the embedded system is operating normally using a commercial PC, thereby reducing the test cost and performing various tests desired by the inspector. To provide an embedded system and its test method.
상기 목적을 달성하기 위한 본 발명에 따른 PC를 이용하여 테스트하기 위한 임베디드 시스템은, 상기 PC로부터 선택신호를 인가받아 SPI 또는 JTAG 모드 중 어느 하나의 모드를 선택하는 선택부; 상기 선택부에 의해 선택된 모드를 통해 상기 PC로부터 테스트 신호를 인가받아 상기 테스트 신호에 해당하는 명령을 수행하기 위한 제어신호를 출력하는 제어부; 및 상기 제어부로부터 인가되는 제어신호에 의해 제어되어 PC로부터 인가되는 테스트 신호에 포함되어 있는 데이터가 저장 또는 해당 어드레스에 저장된 데이터가 삭제되는 플래쉬 메모리;를 포함한다.An embedded system for testing using a PC according to the present invention for achieving the above object, the selection unit for receiving a selection signal from the PC to select any one of the SPI or JTAG mode; A controller which receives a test signal from the PC through a mode selected by the selection unit and outputs a control signal for performing a command corresponding to the test signal; And a flash memory controlled by a control signal applied from the controller to store data included in a test signal applied from a PC or to delete data stored at a corresponding address.
또한, 본 발명에 따른 임베디드 시스템에 있어서, 상기 PC는 상기 테스트 신호에 따른 명령을 수행한 후 상기 테스트 신호에 따른 플래쉬 메모리의 해당 어드레스의 정보를 피드백 받아 테스트하고자 하는 명령을 정상적으로 수행했는지 여부를 판단하는 것을 특징으로 한다.Further, in the embedded system according to the present invention, the PC determines whether the command to be tested is normally performed by receiving feedback of the corresponding address of the flash memory according to the test signal after performing the command according to the test signal. Characterized in that.
또한, 본 발명에 따른 임베디드 시스템에 있어서, 상기 제어부는 상기 선택부에서 SPI 모드 선택시 SPI 인터페이스를 통해 상기 테스트 신호를 시리얼로 인가받는 것을 특징으로 하는 임베디드 시스템.In the embedded system according to the present invention, the control unit is an embedded system, characterized in that the test signal is serially applied through the SPI interface when the SPI mode is selected by the selection unit.
그리고, 본 발명에 따른 임베디드 시스템에 있어서, 상기 제어부는 상기 선택부에서 JTAG 모드 선택시 JTAG 인터페이스를 통해 상기 테스트 신호를 JTAG 명령어로 인가받는 것을 특징으로 하는 임베디드 시스템.In the embedded system according to the present invention, the control unit is an embedded system, characterized in that the test signal is received as a JTAG command through a JTAG interface when the JTAG mode is selected by the selection unit.
또한, 본 발명에 따른 임베디드 시스템에 있어서, 상기 제어부는, 상기 PC로부터 인가되는 테스트 신호가 플래쉬 메모리에 데이터를 저장시키기 위한 신호일 경우 상기 플래쉬 메모리의 해당 어드레스에 데이터를 저장시키기 위한 제어신호를 출력하며, 상기 테스트 신호가 플래쉬 메모리에 저장된 데이터를 삭제하기 위한 신호일 경우 상기 플래쉬 메모리의 해당 어드레스의 데이터를 삭제하기 위한 제어신호를 출력하는 것을 특징으로 한다.In the embedded system according to the present invention, the control unit outputs a control signal for storing data at a corresponding address of the flash memory when the test signal applied from the PC is a signal for storing data in the flash memory. When the test signal is a signal for deleting data stored in a flash memory, a control signal for deleting data of a corresponding address of the flash memory may be output.
아울러, 본 발명에 따른 PC를 이용한 임베디드 시스템의 테스트 방법은, a) PC로부터 선택신호를 인가받는 단계; b) 상기 a) 단계로부터 인가받은 선택신호에 의해 SPI 또는 JTAG 모드 중 어느 하나의 모드를 선택하는 단계; c) 상기 b) 단계에서 선택된 모드를 통해 상기 PC로부터 테스트 신호를 인가받는 단계; d) 상기 c) 단계에서 인가된 테스트 신호에 해당하는 명령을 수행하기 위한 제어신호를 생성하는 단계; e) 상기 d) 단계에서 생성된 제어신호에 의해 제어되어 플래쉬 메모리의 해당 어드레스에 데이터를 저장 또는 해당 어드레스에 저장된 데이터를 삭제하는 단계; 및 f) 상기 e) 단계에서 저장 또는 삭제된 어드레스의 정보를 상기 PC로 피 드백시켜 정상 여부를 판단하는 단계;를 포함한다.In addition, the test method of the embedded system using a PC according to the present invention, a) receiving a selection signal from the PC; b) selecting one of the SPI and JTAG modes according to the selection signal applied from step a); c) receiving a test signal from the PC through the mode selected in step b); d) generating a control signal for performing a command corresponding to the test signal applied in step c); e) storing data at a corresponding address of the flash memory or deleting data stored at the corresponding address controlled by the control signal generated in step d); And f) feeding back the information of the address stored or deleted in step e) to the PC to determine whether it is normal.
또한, 본 발명에 따른 임베디드 시스템의 테스트 방법에 있어서, 상기 b) 단계에서 SPI 모드가 선택될 경우 상기 c) 단계에서는 상기 PC로부터 시리얼의 테스트 신호를 인가받는 것을 특징으로 한다.In the test method of the embedded system according to the present invention, when the SPI mode is selected in the step b), the test signal of the serial is received from the PC in the step c).
또한, 본 발명에 따른 임베디드 시스템의 테스트 방법에 있어서, 상기 b) 단계에서 JTAG 모드가 선택될 경우 상기 c) 단계에서는 상기 PC로부터 JTAG 명령어의 테스트 신호를 인가받는 것을 특징으로 한다.In the test method of the embedded system according to the present invention, when the JTAG mode is selected in step b), the test signal of the JTAG command is received from the PC in step c).
또한, 본 발명에 따른 임베디드 시스템의 테스트 방법에 있어서, 상기 d) 단계는, 상기 PC로부터 인가되는 테스트 신호가 플래쉬 메모리에 데이터를 저장시키기 위한 신호일 경우 상기 플래쉬 메모리의 해당 어드레스에 데이터를 저장시키기 위한 제어신호를 출력하며, 상기 테스트 신호가 플래쉬 메모리에 저장된 데이터를 삭제하기 위한 신호일 경우 상기 플래쉬 메모리의 해당 어드레스의 데이터를 삭제하기 위한 제어신호를 출력하는 것을 특징으로 한다.Further, in the test method of the embedded system according to the present invention, the step d) is for storing data at a corresponding address of the flash memory when the test signal applied from the PC is a signal for storing data in the flash memory. The control signal is output, and when the test signal is a signal for deleting data stored in the flash memory, a control signal for deleting data of a corresponding address of the flash memory is output.
상술한 목적, 특징 및 장점은 첨부된 도면과 관련된 다음의 상세한 설명을 통하여 보다 분명해 질 것이며, 그에 따라 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 것이다.The above objects, features, and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings, whereby those skilled in the art may easily implement the technical idea of the present invention. There will be.
또한, 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략하기로 한다.In addition, in describing the present invention, when it is determined that the detailed description of the known technology related to the present invention may unnecessarily obscure the gist of the present invention, the detailed description thereof will be omitted.
그럼, 이하 관련도면을 참조하여 본 발명에 따른 PC를 이용하여 테스트하기 위한 임베디드 시스템 및 그 방법에 대하여 상세히 설명한다.Next, an embedded system and a method thereof for testing using a PC according to the present invention will be described in detail with reference to the accompanying drawings.
도 3은 본 발명에 따른 PC를 이용하여 테스트하기 위한 임베디드 시스템을 나타낸 블럭도이다.3 is a block diagram illustrating an embedded system for testing using a PC in accordance with the present invention.
도 3에 도시한 바와 같이, 본 발명에 따른 임베디드 시스템(300)은 선택부(310), 외부와 전기적으로 연결되는 SPI 인터페이스(Serial Peripheral Interface: 320) 및 JTAG 인터페이스(Joint Test Action Group Interface: 330), 제어부(340) 및 플래쉬 메모리(350)로 이루어진다.As shown in FIG. 3, the embedded
상기와 같은 구성으로 이루어진 임베디드 시스템(300)은 상용 PC(301)를 사용하여 정상 동작 여부를 검사한다.The embedded
이때, 상기 상용 PC(301)는, 일반적으로 사용하는 개인용 PC 및 생산라인에서 사용되는 PC등 다양한 PC를 사용할 수 있으며, 상기 임베디드 시스템(300)과 전기적으로 연결되기 위한 인테페이스를 선택하기 위한 선택신호(S0)와 검사자에 의해 프로그램화된 테스트 신호(S1, S2)를 상기 임베디드 시스템(300)으로 전달한다.In this case, the commercial PC 301 may use a variety of PCs, such as a personal PC and a PC used in the production line generally used, a selection signal for selecting an interface to be electrically connected to the embedded
상기 임베디드 시스템(300)의 선택부(310)는, 상기 PC(301), SPI 인터페이스(320) 및 JTAG 인터페이스(330)과 연결되고, 상기 PC(301)로부터 선택신호(S0)를 인가받아 SPI 인터페이스(320) 또는 JTAG 인터페이스(330) 중 상기 선택신호(S0)에 해당하는 어느 하나의 인터페이스 모드를 선택한다.The
만약, 상기 선택부(310)에서 상기 선택신호(S0)에 의해 SPI 인터페이스(320) 가 선택되면, 상기 PC(301)는 어드레스, 데이터, 칩 인에이블, 라이트 인에이블, 아웃풋 인에이블 등의 시리얼(serial) 형태로 인가되는 테스트 신호(S1)를 상기 SPI 인터페이스(320)에 전달한다. If the
상기 테스트 신호(S1)를 인가받은 SPI 인테페이스(320)는 이와 전기적으로 연결된 제어부(340)에 상기 인가된 테스트 신호(S1)를 전달한다.The
또한, 상기 선택부(310)에서 상기 선택신호(S0)에 의해 JTAG 인터페이스(330)가 선택되면, 상기 PC(301)는 어드레스, 데이터, 칩 인에이블, 라이트 인에이블, 아웃풋 인에에블 등의 JTAG 명령어인 테스트 신호(S2)를 상기 JTAG 인터페이스(330)에 전달한다.In addition, when the
상기 제어부(340)는, 상기 SPI 인터페이스(320), JTAG 인터페이스(330) 및 플래쉬 메모리(350)와 연결되고, 상기 SPI 인터페이스(320) 또는 JTAG 인터페이스(330)를 통해 전달된 테스트 신호(S1, S2)를 분석하여 상기 플래쉬 메모리(350)에 상기 테스트 신호(S1, S2)에 의해 지정되는 어드레스에 데이터를 저장시키거나 또는 지정된 어드레스에 저장되어 있는 데이터를 삭제함으로써 상기 임베디드 시스템(300)의 플래쉬 메모리(350)의 정상 동작 여부의 테스트를 위한 명령어로 이루어진 제어신호를 출력한다.The
이때, 상기 테스트 신호(S1, S2)가 상기 테스트 신호(S1, S2)에 의해 지정되는 플래쉬 메모리(350)의 어드레스에 데이터를 저장하기 위한 명령을 지시하는 신호라면, 상기 제어부(340)는 해당 어드레스를 나타내는 어드레스 신호(add)와 저장될 데이터(data) 및 저장하기 위한 저장 신호(prog)를 포함하는 제어신호를 상기 플래쉬 메모리(350)에 전달한다.At this time, if the test signal (S1, S2) is a signal indicating a command for storing data at the address of the
그러면, 상기 지정된 어드레스에 데이터를 저장하기 위한 제어신호를 인가받은 플래쉬 메모리(350)는 해당 어드레스에 데이터(data)를 저장한다. 즉, 어드레스가 '000F'이고, 데이터가 '55A'이며 저장 명령의 'prog'신호가 포함된 제어신호를 상기 플래쉬 메모리(350)가 인가받는다면, 상기 플래쉬 메모리(350)의 '000F'에는 '55A'라는 데이터가 저장된다.Then, the
또한, 상기 테스트 신호(S1, S2)가 상기 테스트 신호(S1, S2)에 의해 지정되는 플래쉬 메모리(350)에 저장되어 있는 데이터를 삭제하기 위한 명령을 지시하는 신호라면, 상기 제어부(340)는 해당 어드레스를 나타내는 어드레스 신호(add)와 삭제 명령을 나타내는 삭제 신호(erase)를 포함하는 제어신호를 상기 플래쉬 메모리(350)에 전달한다.In addition, if the test signals S1 and S2 are signals instructing a command for deleting data stored in the
그러면, 상기 지정된 어드레스에 저장된 데이터를 삭제하기 위한 제어신호를 인가받은 플래쉬 메모리(350)는 해당 어드레스에 저장된 데이터를 삭제한다. 즉, 어드레스가 '00FF'이고, 삭제 명령의 'erase'신호가 포함된 제어신호를 상기 플래쉬 메모리(350)가 인가받는다면, 상기 플래쉬 메모리(350)의 '00FF'에 저장되어 있던 데이터는 삭제되고 '0000'만이 남게 된다.Then, the
한편, 같은 방법으로 상기 플래쉬 메모리(130)의 어드레스 중 선택된 어느 하나의 어드레스만 삭제하는 것이 아니라 플래쉬 메모리(130)의 전 영역을 삭제하기 위한 명령을 수행할 수도 있다.In the same manner, a command for deleting the entire area of the
상기와 같은 동작을 완료한 후, 상기 테스트 신호(S1, S2)에 의해 지정된 플 래쉬 메모리(350)의 어드레스 정보를 상기 제어부(340)를 통해 상기 PC(301)로 피드백시키면, 상기 PC(301)는 피드백 받은 정보에 의해 상기 플래쉬 메모리(350)에 저장 또는 삭제의 명령이 정상적으로 수행되었는지 확인하여 상기 임베디드 시스템(300)의 정상 동작 여부를 판단할 수 있다.After completing the above operation, if the address information of the
이에 따라, 본 발명에 따른 PC를 이용한 임베디드 시스템(300)의 테스트는, 상용 PC를 이용하여 임베디드 시스템(300)에 실장되는 플래쉬 메모리(350)의 저장 및 삭제의 동작 수행을 직접 테스트함으로써, 종래 별도의 검사장비가 필요하던 테스트보다 테스트 비용을 줄일 수 있는 이점이 있다.Accordingly, the test of the embedded
또한, 상용 PC를 이용함으로써, 상기 플래쉬 메모리(350)를 테스트하기 위한 테스트 명령어를 검사자가 직접 프로그래밍(programing) 할 수 있어 다양한 종류의 테스트를 수행할 수 있는 장점이 있다.In addition, by using a commercial PC, the tester can directly program a test command for testing the
그럼, 이하 도 4를 통해 본 발명에 따른 PC를 이용한 임베디드 시스템의 테스트 방법에 대하여 보다 상세히 설명한다.Next, a test method of an embedded system using a PC according to the present invention will be described in more detail with reference to FIG. 4.
도 4는 본 발명에 따른 PC를 이용한 임베디드 시스템의 테스트 방법의 흐름을 나타낸 순서도이다.Figure 4 is a flow chart showing the flow of the test method of the embedded system using a PC according to the present invention.
도 4에 도시한 바와 같이, 본 발명에 따른 PC를 이용한 임베디드 시스템의 테스트 방법은, 먼저, 임베디드 시스템을 테스트하기 위한 PC로부터 선택신호를 인가받는다(S401).As shown in FIG. 4, in the method of testing an embedded system using a PC according to the present invention, first, a selection signal is received from a PC for testing an embedded system (S401).
상기 인가된 선택신호에 의해 SPI 모드 또는 JTAG 모드 중 어느 하나의 모드 를 선택한다(S402).One of the SPI mode and the JTAG mode is selected by the applied selection signal (S402).
이때, 상기 선택신호에 의해 선택된 모드가 SPI 모드일 경우 상기 PC로부터 시리얼의 테스트 신호를 인가받으며(S403), 선택된 모드가 JTAG 모드일 경우 상기 PC로부터 JTAG 명령어의 테스트 신호를 인가받는다(S404).In this case, when the mode selected by the selection signal is the SPI mode, the serial test signal is received from the PC (S403). When the selected mode is the JTAG mode, the test signal of the JTAG command is received from the PC (S404).
상기 선택된 모드를 통해 인가받은 테스트 신호에 해당하는 명령을 수행하기 위한 제어신호를 생성한다(S405).A control signal is generated to perform a command corresponding to the test signal applied through the selected mode (S405).
만약, 상기 PC로부터 인가되는 테스트 신호가 테스트하기 위한 임베디드 시스템의 플래쉬 메모리에 데이터를 저장시키기 위한 명령을 나타내는 신호일 경우 상기 플래쉬 메모리의 해당 어드레스에 데이터를 저장시키기 위한 제어신호를 생성하고, 상기 테스트 신호가 플래쉬 메모리에 저장된 데이터를 삭제하기 위한 명령을 나타내는 신호일 경우 상기 플래쉬 메모리의 해당 어드레스의 데이터를 삭제하기 위한 제어신호를 생성한다.If the test signal applied from the PC is a signal indicating a command for storing data in a flash memory of an embedded system for testing, a control signal for storing data at a corresponding address of the flash memory is generated, and the test signal Is a signal representing a command for deleting data stored in the flash memory, a control signal for deleting data of a corresponding address of the flash memory is generated.
상기와 같이 S405 단계에서 생성된 제어신호에 의해 제어되어 플래쉬 메모리의 해당 어드레스에 데이터를 저장 또는 해당 어드레스에 저장된 데이터를 삭제한다(S406).As described above, the control signal generated in step S405 is controlled to store data at a corresponding address of the flash memory or to delete data stored at the corresponding address (S406).
상기 S406 단계에서 저장 또는 삭제된 어드레스의 정보를 상기 PC로 피드백시켜 임베디드 시스템의 정상 동작 여부를 판단함으로써 상기 임베디드 시스템을 테스트 한다(S407).The embedded system is tested by determining whether the embedded system is normally operated by feeding back the information of the address stored or deleted in the step S406 to the PC (S407).
이상에서 설명한 본 발명의 바람직한 실시예들은 예시의 목적을 위해 개시된 것이며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러가지 치환, 변형 및 변경이 가능할 것이며, 이러한 치환, 변경 등은 이하의 특허청구범위에 속하는 것으로 보아야 할 것이다.Preferred embodiments of the present invention described above are disclosed for the purpose of illustration, and various substitutions, modifications, and changes within the scope without departing from the spirit of the present invention for those skilled in the art to which the present invention pertains. It will be appreciated that such substitutions, changes, and the like should be considered to be within the scope of the following claims.
상술한 바와 같이, 본 발명에 따른 PC를 이용하여 테스트하기 위한 임베디드 시스템 및 그 방법은, 상용 PC를 사용하여 임베디드 시스템의 정상 동작 여부를 테스트함으로써, 테스트 비용이 감소하게 되며 검사자가 원하는 다양한 종류의 테스트를 수행할 수 있는 효과가 있다.As described above, the embedded system and the method for testing using a PC according to the present invention, by using a commercial PC to test the normal operation of the embedded system, the test cost is reduced and the various types of testers want The effect is that you can perform the test.
Claims (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020060102223A KR100834915B1 (en) | 2006-10-20 | 2006-10-20 | Embedded system for testing using PC and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020060102223A KR100834915B1 (en) | 2006-10-20 | 2006-10-20 | Embedded system for testing using PC and method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| KR20080035763A KR20080035763A (en) | 2008-04-24 |
| KR100834915B1 true KR100834915B1 (en) | 2008-06-03 |
Family
ID=39574509
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR1020060102223A Expired - Fee Related KR100834915B1 (en) | 2006-10-20 | 2006-10-20 | Embedded system for testing using PC and method |
Country Status (1)
| Country | Link |
|---|---|
| KR (1) | KR100834915B1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101648307B1 (en) | 2015-05-27 | 2016-08-23 | 경북대학교 산학협력단 | Log-based testing system and method for unit testing of Embedded software |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109885433B (en) * | 2018-12-29 | 2022-09-16 | 芯海科技(深圳)股份有限公司 | Method for rapidly testing SPI communication module |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6145123A (en) * | 1998-07-01 | 2000-11-07 | Advanced Micro Devices, Inc. | Trace on/off with breakpoint register |
| US6658600B1 (en) * | 2000-04-24 | 2003-12-02 | Microsoft Corporation | Target control abstraction for debugging embedded systems |
| KR20060006110A (en) * | 2006-01-01 | 2006-01-18 | 김건 | High speed real time monitoring method of embedded system |
| US7117402B2 (en) * | 2001-11-02 | 2006-10-03 | Micron Technology, Inc. | Background block erase check for flash memories |
-
2006
- 2006-10-20 KR KR1020060102223A patent/KR100834915B1/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6145123A (en) * | 1998-07-01 | 2000-11-07 | Advanced Micro Devices, Inc. | Trace on/off with breakpoint register |
| US6658600B1 (en) * | 2000-04-24 | 2003-12-02 | Microsoft Corporation | Target control abstraction for debugging embedded systems |
| US7117402B2 (en) * | 2001-11-02 | 2006-10-03 | Micron Technology, Inc. | Background block erase check for flash memories |
| KR20060006110A (en) * | 2006-01-01 | 2006-01-18 | 김건 | High speed real time monitoring method of embedded system |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101648307B1 (en) | 2015-05-27 | 2016-08-23 | 경북대학교 산학협력단 | Log-based testing system and method for unit testing of Embedded software |
Also Published As
| Publication number | Publication date |
|---|---|
| KR20080035763A (en) | 2008-04-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7962821B2 (en) | Built-in self testing circuit with fault diagnostic capability | |
| US20120198292A1 (en) | Test apparatus and test method | |
| US7577885B2 (en) | Semiconductor integrated circuit, design support software system and automatic test pattern generation system | |
| US20050278595A1 (en) | Built-in self test circuit and test method for storage device | |
| US8201037B2 (en) | Semiconductor integrated circuit and method for controlling semiconductor integrated circuit | |
| KR100278827B1 (en) | Memory tester | |
| US8527825B2 (en) | Debugger based memory dump using built in self test | |
| TWI389129B (en) | Intergrated circuit device | |
| CN104637544A (en) | Test circuit and test method of memory | |
| JP4334463B2 (en) | Semiconductor integrated circuit test apparatus and method | |
| JP2004520673A (en) | Integrated circuit with embedded non-volatile memory self-diagnosis device and related diagnostic method | |
| KR100834915B1 (en) | Embedded system for testing using PC and method | |
| US10127996B2 (en) | Test circuit for memory device and semiconductor integrated device including the test circuit | |
| US10134484B2 (en) | Semiconductor devices, semiconductor systems including the same, methods of testing the same | |
| KR20150102701A (en) | Semiconductor device | |
| US20040177344A1 (en) | Debugging method for the keyboard controller code | |
| JP2009294046A (en) | Integrated circuit board with jtag (joint test action group) function | |
| US6938191B2 (en) | Access control device and testing method | |
| KR100632338B1 (en) | Semiconductor device and test method thereof | |
| US20080028104A1 (en) | Semiconductor device and operation control method of semiconductor device | |
| KR101963811B1 (en) | Instruction-based Built Off Self-Test Circuit Apparatus | |
| JP4359327B2 (en) | Semiconductor integrated circuit device, IC card and inspection device | |
| JP2008089493A (en) | Method for debugging embedded software for IC tester | |
| JP2009076125A (en) | Semiconductor test equipment | |
| CN114171102A (en) | Defect repairing circuit and defect repairing method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A201 | Request for examination | ||
| PA0109 | Patent application |
St.27 status event code: A-0-1-A10-A12-nap-PA0109 |
|
| PA0201 | Request for examination |
St.27 status event code: A-1-2-D10-D11-exm-PA0201 |
|
| R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-3-3-R10-R18-oth-X000 |
|
| E902 | Notification of reason for refusal | ||
| PE0902 | Notice of grounds for rejection |
St.27 status event code: A-1-2-D10-D21-exm-PE0902 |
|
| P11-X000 | Amendment of application requested |
St.27 status event code: A-2-2-P10-P11-nap-X000 |
|
| P13-X000 | Application amended |
St.27 status event code: A-2-2-P10-P13-nap-X000 |
|
| E701 | Decision to grant or registration of patent right | ||
| PE0701 | Decision of registration |
St.27 status event code: A-1-2-D10-D22-exm-PE0701 |
|
| PG1501 | Laying open of application |
St.27 status event code: A-1-1-Q10-Q12-nap-PG1501 |
|
| GRNT | Written decision to grant | ||
| PR0701 | Registration of establishment |
St.27 status event code: A-2-4-F10-F11-exm-PR0701 |
|
| PR1002 | Payment of registration fee |
St.27 status event code: A-2-2-U10-U11-oth-PR1002 Fee payment year number: 1 |
|
| PG1601 | Publication of registration |
St.27 status event code: A-4-4-Q10-Q13-nap-PG1601 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 4 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 5 |
|
| FPAY | Annual fee payment |
Payment date: 20130403 Year of fee payment: 6 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 6 |
|
| FPAY | Annual fee payment |
Payment date: 20140325 Year of fee payment: 7 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 7 |
|
| R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-5-5-R10-R18-oth-X000 |
|
| LAPS | Lapse due to unpaid annual fee | ||
| PC1903 | Unpaid annual fee |
St.27 status event code: A-4-4-U10-U13-oth-PC1903 Not in force date: 20150529 Payment event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE |
|
| PC1903 | Unpaid annual fee |
St.27 status event code: N-4-6-H10-H13-oth-PC1903 Ip right cessation event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE Not in force date: 20150529 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-4-4-P10-P22-nap-X000 |
|
| R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-5-5-R10-R18-oth-X000 |