KR20070015984A - Embedded System Capable Of Hardware Self Test And Self Test Method In That Embedded System - Google Patents

Embedded System Capable Of Hardware Self Test And Self Test Method In That Embedded System Download PDF

Info

Publication number
KR20070015984A
KR20070015984A KR1020050070699A KR20050070699A KR20070015984A KR 20070015984 A KR20070015984 A KR 20070015984A KR 1020050070699 A KR1020050070699 A KR 1020050070699A KR 20050070699 A KR20050070699 A KR 20050070699A KR 20070015984 A KR20070015984 A KR 20070015984A
Authority
KR
South Korea
Prior art keywords
test
processor
jtag
diagnosis
self
Prior art date
Application number
KR1020050070699A
Other languages
Korean (ko)
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 KR1020050070699A priority Critical patent/KR20070015984A/en
Publication of KR20070015984A publication Critical patent/KR20070015984A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2268Logging of test results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/261Functional testing by simulating additional hardware, e.g. fault simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

본 발명은 내장형 시스템(Embedded System)에 구현된 JTAG(Joint Test Action Group) 포트를 이용하여 시스템 자체적으로 하드웨어 불량 여부를 진단할 수 있도록 하는 하드웨어 자가 진단이 가능한 내장형 시스템 및 그 시스템에서의 자가 진단 방법에 관한 것이다.The present invention provides an embedded system capable of hardware self-diagnosis and a self-diagnostic method in the system using the Joint Test Action Group (JTAG) port implemented in an embedded system. It is about.

본 발명은 내장형 시스템의 프로세서에 구현된 입/출력 단자를 자신의 JTAG 포트에 할당하여 프로세서 내부의 레지스터 및 주변 장치에 접근할 수 있게 함으로써 내장형 시스템에서 자체적으로 하드웨어 불량 여부를 자가 진단할 수 있게 되며, 이러한 하드웨어 자가 진단 결과를 사용자에게 출력해 주거나, 또는 유/무선 통신을 통해 외부로 보고할 수 있게 함으로써 내장형 시스템의 개발 과정이나 AS(After Service) 상황에 보다 신속하게 대처할 수 있게 된다.The present invention assigns an input / output terminal implemented in a processor of an embedded system to its own JTAG port to access registers and peripherals inside the processor, thereby enabling self-diagnosis of hardware defects in the embedded system. In addition, the hardware self-diagnosis results can be output to the user or reported to the outside through wired / wireless communication so that they can cope with the development process of the embedded system or after service (AS) situation more quickly.

내장형 시스템, JTAG 포트, 하드웨어 불량, 자가 진단, 프로세서, 주변장치 Embedded System, JTAG Port, Bad Hardware, Self Diagnostic, Processor, Peripheral

Description

하드웨어 자가 진단이 가능한 내장형 시스템 및 그 시스템에서의 자가 진단 방법{Embedded System Capable Of Hardware Self Test And Self Test Method In That Embedded System}Embedded System Capable Of Hardware Self Test And Self Test Method In That Embedded System}

도 1은 종래 내장형 시스템의 하드웨어 불량을 검출하기 위한 구성 블록도.1 is a block diagram for detecting a hardware failure of a conventional embedded system.

도 2는 본 발명에 따른 하드웨어 자가 진단이 가능한 내장형 시스템의 구성 블록도.2 is a block diagram illustrating a built-in system capable of hardware self-diagnosis according to the present invention.

도 3은 본 발명에 따른 내장형 시스템에서의 하드웨어 자가 진단 동작을 설명하기 위한 순서도.3 is a flowchart illustrating a hardware self-diagnosis operation in an embedded system according to the present invention.

* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings

21 : 사용자 인터페이스부 22 : 디스플레이부21: user interface 22: display

23 : 통신 처리부 24 : 메모리부23: communication processing unit 24: memory unit

25-1 : 마스터 프로세서 25-2, 25-3 : 서브 프로세서25-1: master processor 25-2, 25-3: subprocessor

26-1~26-3 : 주변 장치26-1 ~ 26-3: Peripheral device

본 발명은 내장형 시스템(Embedded System)의 하드웨어 진단에 관한 것으로, 특히 내장형 시스템에 구현된 JTAG(Joint Test Action Group) 포트를 이용하여 시스템 자체적으로 하드웨어 불량 여부를 진단할 수 있도록 하는 하드웨어 자가 진단이 가능한 내장형 시스템 및 그 시스템에서의 하드웨어 자가 진단 방법에 관한 것이다.The present invention relates to hardware diagnosis of an embedded system (Embedded System), in particular, hardware self-diagnosis capable of diagnosing the hardware itself by using a Joint Test Action Group (JTAG) port implemented in the embedded system is possible It relates to an embedded system and a hardware self-diagnosis method in the system.

일반적으로, 전자제품의 경우 그 하드웨어 불량 여부를 진단하는 방법에는 여러가지가 있는데, 일례로서, 전자제품에 별도의 테스트 장비(예컨대, 오실로스코프, 멀티미터 등)를 연결한 후에 기술자가 직접 테스트 장비를 통해 전자제품의 신호를 점검하여 하드웨어 불량을 진단하는 방법이 있다.In general, in the case of electronic products, there are various methods for diagnosing a hardware defect. For example, after connecting a separate test equipment (eg, an oscilloscope, a multimeter, etc.) to an electronic product, a technician directly There is a method of diagnosing a hardware defect by checking a signal of an electronic product.

그리고, 최근의 내장형 시스템(Embedded System)에서는 전력을 조금만 소모한다는 특징으로 인해 ARM(Advanced RISC Machines) 코어를 주로 탑재하고 있으며, 또한 디버깅(Debugging)을 위해 JTAG 포트(Joint Test Action Group Port)를 내장하고 있는데, 이러한 내장형 시스템은 제품 불량시 첨부된 도면 도 1에 도시된 바와 같이, 마스터 프로세서(11)에 존재하는 JTAG 포트 또는 마스터 프로세서(11)의 외부에 별도로 구성된 JTAG 모듈의 JTAG 포트에 그 JTAG 포트를 제어하는 주체가 되는 외부 PC(15)를 연결하는 인터페이스를 구성하고, 주변 장치(12)에 테스트 장비(16)를 연결하며, 이러한 상태에서 외부 PC(15)에서 전송하는 테스트 신호를 JTAG 포트를 통해 프로세서(11)와 주변 장치(Peripherals)(12)로 전달되도록 한 후, 테스트 장비(16)를 이용하여 주변 장치(12)에 전달된 신호를 파악하여 최초에 PC(15)에서 전송한 테스트 신호와 동일한지를 직접 점검함으로써 제품 불량 여부를 판단하는 방법을 사용한다.In addition, the recent embedded system consumes a small amount of power, and is mainly equipped with an ARM (Advanced RISC Machines) core, and also includes a JTAG port (Joint Test Action Group Port) for debugging. Such an embedded system has a JTAG port on a JTAG port existing in the master processor 11 or a JTAG port of a JTAG module separately configured outside the master processor 11 as shown in FIG. It configures the interface to connect the external PC 15, which is the main body controlling the port, connects the test equipment 16 to the peripheral device 12, and in this state, JTAG transmits a test signal transmitted from the external PC 15. After passing through the port to the processor 11 and peripherals 12, the test equipment 16 is used to determine the signal transmitted to the peripheral device 12. By directly checking whether the test signal transmitted from the PC 15 is the same, a method of determining whether or not a product is defective is used.

이와 관련하여, 내장형 시스템 구조를 갖는 전자제품들이 소비자에게 판매된 후에 사용자 실수로 인한 충격이나, 또는 장기간 사용으로 인해 불량 동작을 하는 경우 이는 소프트웨어 보다는 하드웨어에 의한 불량이 대부분을 차지하고 있으며, 이러한 제품 불량을 제일 먼저 발견하는 주체는 기술자가 아닌 일반 소비자이므로, 일반 소비자가 직접 제조사나 서비스 센터 등을 방문하거나 통신 수단(전화나 인터넷 등)을 이용하여 제품 불량을 신고해야만 하는 불편함이 있었다.In this regard, when electronic products having an embedded system structure are sold to a consumer and malfunctioned due to a user's mistake or a long-term use, the defect is caused by hardware rather than software. Since the first subject to discover is not a technician but a general consumer, the general consumer has to visit a manufacturer or a service center or report a product defect by using a communication means (such as a telephone or the Internet).

또한, 종래에는 내장형 시스템(10)에 대한 제품 불량 여부를 진단하는데 있어, 그 내장형 시스템(10)에 디버깅을 위해 구현된 JTAG 포트는 입력과 출력을 동시에 진행할 수 없기 때문에 즉, 외부 PC(15)에서 내장형 시스템(10)의 JTAG 포트를 신호를 출력하고, 이와 동시에 그 JTAG 포트를 통해 신호를 입력받을 수 없기 때문에 기술자가 별도의 테스트 장비(16)를 이용하지 않고는 제품 불량 여부를 판단할 수 없다는 단점이 있었다.In addition, conventionally, in diagnosing a defective product for the embedded system 10, since the JTAG port implemented for debugging in the embedded system 10 cannot proceed simultaneously with input and output, that is, the external PC 15 Outputs a signal to the JTAG port of the embedded system 10 and at the same time cannot receive a signal through the JTAG port, a technician can determine whether the product is defective without using a separate test equipment 16. There was no downside.

특히, 최근에는 기술 발전과 더불어 종래와는 달리 하나의 전자제품에 마스터 프로세서 이외에 부가적인 기능을 구현하기 위해 다수의 프로세서들을 탑재(예컨대, 이동통신 단말기의 경우 호 처리 기능을 위한 마스터 프로세서와 함께 단말기 기능에 따라 카메라 프로세서, 블루투스 프로세서, MP3 프로세서 등을 동시에 탑재하고 있음)하게 되었으며, 또한 각 프로세서들은 점점 소형화, 모듈화, BGA(Ball Grid Array) 타입화되고 있기 때문에 전자제품에 불량이 발생하는 경우 테스트 장비를 이용하여 마스터 프로세서의 불량인지, 아니면 부가적인 프로세서의 불량인지, 또는 프로세서가 아닌 주변 장치의 불량인지를 진단하기가 점점 복잡하고 어려워지고 있다는 문제점이 있으며, 또한 일부 프로세서의 경우 테스트 장비로 신호를 점검할 핀들이 PCB(Printed Circuit Board) 보드에 숨겨져 있어 테스트 장비를 이용하여 직접 불량 여부를 진단하는 것 자체가 불가능하다는 문제점이 있었다.In particular, in recent years, with the development of technology, unlike a conventional one, a single electronic product is equipped with a plurality of processors to implement additional functions in addition to the master processor (for example, a mobile terminal with a master processor for call processing function for the call processing function) It is equipped with camera processor, Bluetooth processor, and MP3 processor at the same time.) Also, each processor is becoming smaller, modular, and ball grid array (BGA) type. There is a problem that it is becoming more complicated and difficult to diagnose whether the equipment is a master processor failure, an additional processor failure, or a non-processor peripheral device. Pins to check PCB (Printed Ci) rcuit Board) There is a problem that it is hidden in the board and it is impossible to diagnose the defect directly by using the test equipment.

본 발명은 전술한 바와 같은 문제점을 해결하기 위한 것으로 그 목적은, 내장형 시스템의 프로세서에 구현된 입/출력 단자를 자신의 JTAG 포트에 할당하여 프로세서 내부의 레지스터 및 주변 장치에 접근할 수 있도록 하고, 이를 통해 내장형 시스템에서 자체적으로 하드웨어 불량 여부를 자가 진단할 수 있도록 하는데 있다.The present invention is to solve the problems described above, the object is to assign an input / output terminal implemented in the processor of the embedded system to its own JTAG port to access the registers and peripherals inside the processor, This enables self-diagnosis of hardware defects in the embedded system itself.

본 발명의 다른 목적은, 내장형 시스템에서 자신의 하드웨어 자가 진단 결과를 사용자에게 출력해 주거나, 또는 유/무선 통신을 통해 외부로 보고할 수 있도록 하는데 있다.Another object of the present invention is to enable the embedded system to output its hardware self-diagnosis result to the user or to report to the outside through wired / wireless communication.

본 발명의 또 다른 목적은, 내장형 시스템에서 하드웨어 자가 진단 결과를 출력 및 보고할 수 있게 함으로써, 내장형 시스템의 개발 과정이나 AS(After Service) 상황에 보다 신속하게 대처할 수 있도록 하는데 있다.Another object of the present invention is to enable a system to output and report hardware self-diagnosis results in an embedded system, so that the system can cope with a development process or an AS (After Service) situation more quickly.

상술한 바와 같은 목적을 해결하기 위한 본 발명의 특징은, 내부에 JTAG를 포함하는 ARM(Advanced RISC Machines) 코어 또는 JTAG를 내장하는 적어도 하나의 프로세서 및 주변 장치를 구비하는 내장형 시스템에 있어서, 하드웨어 자가 진단을 요청하는 테스트 명령을 입력받아 전달해 주는 사용자 인터페이스부와; 상기 하드웨어 자가 진단 결과를 사용자에게 출력해 주는 디스플레이부와; 상기 내장형 시스템의 구동에 필요한 소프트웨어 및 정보와, 상기 하드웨어 자가 진단 기능 수행에 필요한 소프트웨어 및 테스트 참조 정보를 저장하고 있는 메모리부와; 상기 메모리부에 저장되어 있는 시스템 구동에 필요한 소프트웨어 및 정보를 이용하여 전반적인 구동을 제어하고, 하드웨어 자가 진단을 요청하는 테스트 명령이 입력되는 경우 상기 메모리부에 저장되어 있는 하드웨어 자가 진단용 소프트웨어 및 테스트 참조 정보를 이용하여 테스트 동작 모드 제어용 입/출력 단자를 통해 JTAG의 TAP 제어기 테스트 동작 모드를 제어하면서 테스트 신호용 입/출력 단자와 테스트 데이터 입/출력 단자 및 테스트 결과 입력용 입/출력 단자를 통해 하드웨어 자가 진단 기능을 수행하고, 그 하드웨어 자가 진단 결과를 상기 디스플레이부를 통해 출력해 주는 마스터 프로세서를 포함하는 하드웨어 자가 진단이 가능한 내장형 시스템을 구현하는데 있다.A feature of the present invention for solving the above object is, in an embedded system having at least one processor and a peripheral device embedded therein an Advanced RISC Machines (ARM) core including a JTAG or JTAG, A user interface unit for receiving and delivering a test command for requesting diagnosis; A display unit which outputs the hardware self-diagnosis result to a user; A memory unit for storing software and information necessary for driving the embedded system and software and test reference information for performing the hardware self-diagnosis function; The software and the test reference information stored in the memory unit to control the overall operation by using the software and information necessary for driving the system, the hardware self-diagnosis software and test reference information stored in the memory unit when a test command requesting a hardware self-diagnosis is inputted Hardware self-diagnosis through the input / output terminal for test signal, test data input / output terminal and input / output terminal for test result input while controlling JTAG's TAP controller test operation mode through input / output terminal for test operation mode control The present invention provides an embedded system capable of performing hardware self-diagnosis including a master processor performing a function and outputting a hardware self-diagnosis result through the display unit.

여기서, 상기 테스트 참조 정보는, 하드웨어 자가 진단 기능 수행시 이용되는 각 프로세서의 JTAG 식별 코드, 각 프로세서 내부 모듈들을 자가 진단 상태로 설정하기 위한 특정 상태 정보, 주변 장치를 자가 진단 상태로 설정하기 위한 특정 상태 정보인 것을 특징으로 한다.Here, the test reference information may include a JTAG identification code of each processor used when performing a hardware self-diagnostic function, specific state information for setting each processor internal module to a self-diagnostic state, and specific setting for setting a peripheral device to a self-diagnostic state. It is characterized in that the status information.

상술한 하드웨어 자가 진단이 가능한 내장형 시스템은, 상기 하드웨어 자가 진단을 수행하는데 있어, 하드웨어 자가 진단을 요청하는 테스트 명령을 수신하여 마스터 프로세서로 전달하거나, 그 하드웨어 자가 진단 결과를 유/무선 통신을 통해 외부로 보고하는 통신 처리부를 더 포함하는 것을 특징으로 한다.The above-described embedded system capable of hardware self-diagnosis, in performing the hardware self-diagnosis, receives a test command requesting hardware self-diagnosis and transmits it to a master processor, or transmits the hardware self-diagnosis result to an external device via wire / wireless communication. It further comprises a communication processing unit for reporting to.

그리고, 상기 마스터 프로세서는, JTAG의 TAP 제어기를 내부 테스트 모드로 설정한 상태에서 프로세서 내부의 JTAG 식별 코드를 판독하여 상기 JTAG 불량 여부를 진단하고, 상기 JTAG가 정상인 경우 프로세서 내부 모듈들을 특정 상태로 설정한 후에 그 프로세서 내부 모듈들의 레지스터 값을 판독하여 해당되는 내부 모듈들에 대한 불량 여부를 진단하며, 프로세서 내부 모듈들이 정상인 경우 자신의 입/출력 단자에 연결된 주변 장치를 특정 상태로 설정한 후에 상기 JTAG의 TAP 제어기를 외부 테스트 모드로 설정하여 테스트 데이터 입력 단자와 테스트 데이터 출력 단자를 바운드리 스캔 레지스터에 연결시킨 상태에서 상기 주변 장치의 핀 상태 정보를 판독하여 해당되는 주변 장치에 대한 불량 여부를 진단하는 일련의 하드웨어 자가 진단 기능을 수행하는 것을 특징으로 한다.In addition, the master processor reads a JTAG identification code inside the processor in a state in which the TAP controller of the JTAG is set to the internal test mode, diagnoses whether the JTAG is defective, and sets the processor internal modules to a specific state when the JTAG is normal. After that, the register value of the internal modules of the processor is read to diagnose whether the internal modules are defective. If the internal modules of the processor are normal, the peripheral device connected to its input / output terminal is set to a specific state, and then the JTAG Setting the TAP controller to external test mode to read pin status information of the peripheral device while the test data input terminal and the test data output terminal are connected to the boundary scan register to diagnose whether the peripheral device is defective or not. Performing a series of hardware self-diagnostic functions It characterized.

또한, 상기 마스터 프로세서는, 내장형 시스템에 적어도 하나의 서브 프로세서 및 주변 장치가 존재하는 경우 테스트 동작 모드 제어용 입/출력 단자를 통해 각 프로세서의 JTAG의 TAP 제어기 테스트 동작 모드를 제어하면서 테스트 신호용 입/출력 단자와 테스트 데이터 입/출력 단자 및 테스트 결과 입력용 입/출력 단자를 통해 상기 내장형 시스템에 존재하는 각 프로세서 및 주변 장치들에 대한 하드웨어 불량 여부를 진단하는 일련의 하드웨어 자가 진단 기능을 수행하고, 그 하드 웨어 자가 진단 결과를 상기 디스플레이부를 통해 출력해 주는 것을 특징으로 한다.In addition, when the at least one subprocessor and a peripheral device exist in the embedded system, the master processor controls the TAP controller test operation mode of the JTAG of each processor through the input / output terminal for controlling the test operation mode, and input / output for the test signal. Terminals and test data input / output terminals and input / output terminals for inputting test results to perform a series of hardware self-diagnosis functions for diagnosing hardware defects for each processor and peripheral devices present in the embedded system. The hardware self-diagnosis result is output through the display unit.

이때, 상기 서브 프로세서는, 마스터 프로세서에 의해 테스트 동작 모드가 제어되는 JTAG의 TAP 제어기를 포함하며, 자신의 테스트 모드 선택 및 테스트 클럭 단자와 상기 마스터 프로세서의 테스트 동작 모드 제어용 입/출력 단자가 연결되어 TAP 제어기의 테스트 동작 모드가 제어되고, 상기 프로세서 연결 순서에 따라 이전 프로세서의 테스트 데이터 출력 단자와 자신의 테스트 데이터 입력 단자가 연결되어 소정의 스브 테스트 경로를 제공하며, 자신의 테스트 데이터 출력 단자가 마스터 프로세서의 입/출력 단자와 연결되어 일련의 테스트 결과 신호를 마스터 프로세서로 전달해 주는 것을 특징으로 한다.In this case, the subprocessor includes a TAP controller of a JTAG in which a test operation mode is controlled by a master processor, and a test mode selection and a test clock terminal thereof are connected to an input / output terminal for controlling a test operation mode of the master processor. The test operation mode of the TAP controller is controlled, and the test data output terminal of the previous processor and its own test data input terminal are connected according to the processor connection order to provide a predetermined sub test path, and the own test data output terminal is mastered. It is connected to the input / output terminal of the processor and transmits a series of test result signals to the master processor.

나아가, 상기 마스터 프로세서는, 자가 진단 대상이 되는 서브 프로세서를 제외한 나머지 프로세서(마스터 프로세서 포함)의 JTAG의 TAP 제어기를 우회 모드로 설정하여 서브 테스트 경로가 되는 테스트 데이터 입력 단자와 테스트 데이터 출력 단자를 직접 연결시킨 상태에서 자신의 테스트 신호용 입/출력 단자와, 상기에서 직접 연결시킨 테스트 데이터 입/출력 단자 및 자가 진단 대상이 되는 서브 프로세서의 테스트 데이터 입력 단자를 통해 해당되는 서브 프로세서 및 그 서브 프로세서에 연결된 주변 장치에 대한 하드웨어 자가 진단 기능을 수행하는 것을 특징으로 한다.In addition, the master processor directly sets a test data input terminal and a test data output terminal serving as a sub test path by setting the TAP controller of the JTAG of the other processors (including the master processor) except the sub-processor to be self-diagnostic to the bypass mode. Connected to the corresponding subprocessor and its subprocessors through its input / output terminals for its own test signals, the test data input / output terminals directly connected above and the test data input terminals of the subprocessors to be self-diagnosed. The hardware self-diagnosis function for the peripheral device is performed.

본 발명의 다른 특징은, 내부에 JTAG를 포함하는 ARM(Advanced RISC Machines) 코어 또는 JTAG를 내장하는 적어도 하나의 프로세서 및 주변 장치를 구 비하는 내장형 시스템에서의 하드웨어 진단 방법에 있어서, 하드웨어 자가 진단 요청시 마스터 프로세서에서 하드웨어 자가 진단용 소프트웨어를 실행시킴으로써 JTAG의 TAP 제어기를 내부 테스트 모드로 설정한 상태에서 JTAG 식별 코드를 판독하여 JTAG 불량 여부를 진단하는 과정과; 상기 JTAG가 정상인 경우 프로세서 내부 모듈들을 자가 진단을 위한 특정 상태로 설정한 후에 그 프로세서 내부 모듈들의 레지스터 값을 판독하여 프로세서 내부 모듈 불량 여부를 진단하는 과정과; 상기 마스터 프로세서의 내부 모듈이 정상인 경우 입/출력 단자에 연결된 주변 장치를 자가 진단을 위한 특정 상태로 설정하고, 상기 JTAG의 TAP 제어기를 외부 테스트 모드로 설정한 후에 상기 주변 장치의 핀 상태 정보를 판독하여 해당되는 주변 장치의 불량 여부를 진단하는 과정과; 상기 과정에서의 하드웨어 진단 결과를 디스플레이부를 통해 사용자에게 출력하거나, 또는 유/무선 통신을 통해 외부로 보고하는 과정을 포함하는 내장형 시스템에서의 하드웨어 자가 진단 방법을 구현하는데 있다.In another aspect of the present invention, there is provided a hardware diagnostic method in an embedded system having an advanced RISC Machines (ARM) core including a JTAG or at least one processor and a peripheral device having a JTAG therein. Diagnosing a JTAG failure by reading a JTAG identification code in a state where the TAP controller of the JTAG is set to the internal test mode by executing hardware self-diagnosis software in the master master processor; If the JTAG is normal, setting a processor internal module to a specific state for self-diagnosis, and then reading a register value of the processor internal modules to diagnose whether the processor internal module is defective; When the internal module of the master processor is normal, the peripheral device connected to the input / output terminal is set to a specific state for self-diagnosis, and the pin state information of the peripheral device is read after setting the TAP controller of the JTAG to an external test mode. Diagnosing whether a corresponding peripheral device is defective; The present invention provides a hardware self-diagnosis method in an embedded system including a process of outputting a hardware diagnosis result to a user through a display unit, or reporting to the outside through wired / wireless communication.

여기서, 상기 JTAG 불량 여부를 진단하는 과정은, 마스터 프로세서에서 테스트 동작 모드 제어용 입/출력 단자를 통해 테스트 모드 선택 단자 및 테스트 클럭 단자를 제어하여 JTAG의 TAP 제어기를 내부 테스트 모드로 설정하는 단계와; 상기 마스터 프로세서의 테스트 신호용 입/출력 단자 및 테스트 데이터 입력 단자를 통해 프로세서 내부의 JTAG 식별 코드를 판독한 후에 이를 테스트 결과로서 테스트 데이터 출력 단자로 출력해 주는 단계와; 상기 마스터 프로세서의 테스트 결과 입력용 입/출력 단자를 통해 상기에서 테스트 결과로 판독한 JTAG 식별 코드를 입력 받은 후에 이를 메모리부에 저장되어 있는 JTAG 식별 코드와 동일한지 확인하는 단계와; 상기에서 판독한 JTAG 식별 코드와 메모리부의 JTAG 식별 코드가 동일한 경우 JTAG 정상이라는 하드웨어 진단 결과를, 동일하지 않은 경우 JTAG 불량이라는 하드웨어 진단 결과를 출력해 주는 단계를 포함하는 것을 특징으로 한다.The diagnosing of the JTAG failure may include: setting a TAP controller of the JTAG to an internal test mode by controlling a test mode selection terminal and a test clock terminal through an input / output terminal for controlling a test operation mode in a master processor; Reading a JTAG identification code inside the processor through an input / output terminal for a test signal and a test data input terminal of the master processor, and outputting the JTAG identification code as a test result to a test data output terminal; Receiving a JTAG identification code read as the test result through an input / output terminal for inputting a test result of the master processor, and then checking whether the same as the JTAG identification code stored in the memory unit; And outputting a hardware diagnostic result of JTAG normal when the JTAG identification code read above and the JTAG identification code of the memory unit are the same.

그리고, 상기 프로세서 내부 모듈 불량 여부를 진단하는 과정은, 마스터 프로세서의 내부 모듈들에 대한 불량 여부를 진단하기 위해 그 내부 모듈들을 자가 진단을 위한 특정 상태로 설정하는 단계와; 상기 마스터 프로세서의 테스트 신호용 입/출력 단자 및 테스트 데이터 입력 단자를 통해 프로세서 내부 모듈들의 레지스터 값을 판독한 후에 이를 테스트 결과로서 테스트 데이터 출력 단자로 출력해 주는 단계와; 상기 마스터 프로세서의 테스트 결과 입력용 입/출력 단자를 통해 상기에서 테스트 결과로 판독한 내부 모듈들의 레지스터 값을 입력받은 후에 이를 메모리부에 저장되어 있는 내부 모듈들에 대한 자가 진단 상태 정보가 되는 레지스터 값과 동일한지 확인하는 단계와; 상기에서 판독한 프로세서 내부 모듈들의 레지스터 값과 메모리부의 내부 모듈들에 대한 레지스터 값이 동일한 경우 내부 모듈 정상이라는 하드웨어 진단 결과를, 동일하지 않은 경우 내부 모듈 불량이라는 하드웨어 진단 결과를 출력해 주는 단계를 포함하는 것을 특징으로 한다.The diagnosing whether the internal processor module is defective may include: setting the internal modules to a specific state for self-diagnosis to diagnose whether the internal module of the master processor is defective; Reading register values of the internal modules of the processor through an input / output terminal and a test data input terminal for a test signal of the master processor and outputting the register values to the test data output terminals as a test result; Register value of self-diagnosis status information about internal modules stored in the memory unit after receiving the register value of the internal modules read as the test result through the input / output terminal for inputting the test result of the master processor Checking whether it is equal to; And outputting a hardware diagnosis result of an internal module failure if the register values of the internal modules of the processor and the register values of the internal modules of the memory unit are the same, and a hardware diagnosis result of an internal module failure if not identical. Characterized in that.

또한, 상기 주변 장치의 불량 여부를 진단하는 과정은, 마스터 프로세서에 연결된 주변 장치에 대한 불량 여부를 진단하기 위해 해당되는 주변 장치를 자가 진단을 위한 특정 상태로 설정하는 단계와; 상기 마스터 프로세서의 테스트 동작 모드 제어용 입/출력 단자를 통해 테스트 모드 선택 단자 및 테스트 클럭 단자를 제어하여 JTAG의 TAP 제어기를 외부 테스트 모드로 설정함으로써 테스트 데이터 입력 단자와 테스트 데이터 출력 단자를 바운드리 스캔 레지스터에 연결시키는 단계와; 상기 마스터 프로세서의 테스트 신호용 입/출력 단자 및 테스트 데이터 입력 단자를 통해 상기 주변 장치의 핀 상태 정보를 판독한 후에 이를 테스트 결과로서 테스트 데이터 출력 단자로 출력해 주는 단계와; 상기 마스터 프로세서의 테스트 결과 입력용 입/출력 단자를 통해 상기에서 테스트 결과로 판독한 주변 장치의 핀 상태 정보를 입력받은 후에 이를 메모리부에 저장되어 있는 주변 장치의 자가 진단 상태 정보와 동일한지 확인하는 단계와; 상기에서 판독한 주변 장치의 핀 상태 정보가 메모리부의 주변 장치 자가 진단 상태 정보와 동일한 경우 주변 장치 정상이라는 하드웨어 진단 결과를, 동일하지 않은 경우 주변 장치 불량이라는 하드웨어 진단 결과를 출력해 주는 단계를 포함하는 것을 특징으로 한다.In addition, the process of diagnosing whether the peripheral device is defective may include: setting a corresponding peripheral device to a specific state for self-diagnosis to diagnose whether the peripheral device connected to the master processor is defective; By controlling the test mode selection terminal and the test clock terminal through the test operation mode control input / output terminal of the master processor, the TTAG controller of the JTAG is set to the external test mode so that the test data input terminal and the test data output terminal are bounded scan registers. Connecting to; Reading pin state information of the peripheral device through a test signal input / output terminal and a test data input terminal of the master processor and outputting the pin state information to the test data output terminal as a test result; After receiving the pin state information of the peripheral device read as the test result through the input / output terminal for inputting the test result of the master processor, and confirming the same as the self-diagnostic state information of the peripheral device stored in the memory unit. Steps; And outputting a hardware diagnostic result of a normal peripheral device if the pin state information of the peripheral device read above is the same as the peripheral device self-diagnostic status information of the memory unit, and outputting a hardware diagnostic result of a peripheral device failure if not identical. It is characterized by.

상술한 내장형 시스템에서의 하드웨어 자가 진단 방법은, 상기 내장형 시스템에 존재하는 다른 서브 프로세서 및 주변 장치에 대하여 하드웨어 자가 진단 요청이 있는 경우 마스터 프로세서와, 그 마스터 프로세서와 자가 진단 대상이 되는 서브 프로세서 사이에 위치한 각 프로세서의 JTAG의 TAP 제어기를 우회 모드로 설정하여 서브 테스트 경로를 구현한 상태에서 상기 서브 프로세서 및 주변 장치에 대하여 하드웨어 자가 진단을 수행하는 과정을 더 포함하는 것을 특징으로 한다.In the above-described embedded system, the hardware self-diagnosis method includes a master processor when a hardware self-diagnosis request is made to other sub-processors and peripheral devices present in the embedded system, and between the master processor and the sub-processor to be self-diagnosed. The method may further include performing hardware self-diagnosis on the subprocessor and the peripheral device in a state in which the sub test path is implemented by setting the TAP controller of the JTAG of each located processor to the bypass mode.

또한, 상기 서브 프로세서 및 주변 장치에 대하여 하드웨어 자가 진단을 수행하는 과정은, 마스터 프로세서에서 테스트 동작 모드 제어용 입/출력 단자를 통해 마스터 프로세서 자신과, 서브 테스트 경로 상에 위치한 각 서브 프로세서의 테 스트 모드 선택 단자 및 테스트 클럭 단자를 제어하여 JTAG의 TAP 제어기를 우회 모드로 설정하여 각 프로세서의 테스트 데이터 입력 단자와 테스트 데이터 출력 단자를 직접 연결시켜 서브 테스트 경로를 구현하는 단계와; 상기 마스터 프로세서에서 테스트 동작 모드 제어용 입/출력 단자를 통해 자가 진단 대상이 되는 서브 프로세서의 테스트 모드 선택 단자 및 테스트 클럭 단자를 제어하여 그 서브 프로세서의 JTAG의 TAP 제어기를 내부 테스트 모드로 설정한 상태에서 서브 프로세서의 JTAG 및 내부 모듈에 대한 불량 여부를 진단하는 단계와; 상기 마스터 프로세서에서 서브 프로세서에 연결된 주변 장치를 자가 진단을 위한 특정 상태로 설정하고, 상기 서브 프로세서의 JTAG의 TAP 제어기를 외부 테스트 모드로 설정한 후에 상기 서브 프로세서에 연결된 주변 장치의 핀 상태 정보를 판독하여 해당되는 주변 장치의 불량 여부를 진단하는 단계와; 상기 단계에서의 서브 프로세서 및 주변 장치에 대한 하드웨어 진단 결과를 상기 마스터 프로세서에서 디스플레이부를 통해 사용자에게 출력하거나, 또는 유/무선 통신을 통해 외부로 보고하는 단계를 포함하는 것을 특징으로 한다.In addition, the hardware self-diagnosis of the subprocessor and the peripheral device may be performed by the master processor through an input / output terminal for controlling a test operation mode, and a test mode of each subprocessor located on the subtest path. Controlling the selection terminal and the test clock terminal to set the TAP controller of the JTAG to the bypass mode to directly connect the test data input terminal and the test data output terminal of each processor to implement a sub test path; In the state in which the TAP controller of the JTAG of the subprocessor is set to the internal test mode by controlling the test mode selection terminal and the test clock terminal of the subprocessor to be self-diagnosed through the input / output terminal for controlling the test operation mode in the master processor. Diagnosing whether the JTAG of the subprocessor and the internal module are defective; The master processor sets the peripheral device connected to the subprocessor to a specific state for self-diagnosis, sets the JTAG TAP controller of the subprocessor to the external test mode, and reads pin state information of the peripheral device connected to the subprocessor. Diagnosing whether a corresponding peripheral device is defective; And outputting a hardware diagnosis result of the subprocessor and the peripheral device in the above step to the user through the display unit in the master processor or to the outside through wired / wireless communication.

이하, 본 발명에 따른 실시예를 첨부한 도면을 참조하여 상세하게 설명하면 다음과 같다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명에서는 내장형 시스템 구조를 갖는 전자제품에 대한 하드웨어 불량 여부를 진단하는데 있어, 프로세서의 입/출력 단자를 JTAG 포트에 할당하여 프로세서 내부의 레지스터 및 주변 장치에 접근하여 그 불량 여부를 자가 진단하고, 또한 다수의 프로세서가 탑재되어 있는 경우 마스터 프로세서의 입/출력 단자를 통해 다른 프로세서의 JTAG TAP(Test Access Port) 제어기 및 바운드리 스캔 레지스터에 접근하여 그 불량 여부를 자가 진단하고자 하는데, 이러한 자가 진단 기능이 제공되는 내장형 시스템은 첨부한 도면 도 2와 같은 구성을 가진다.In the present invention, in diagnosing a hardware defect for an electronic product having an embedded system structure, the input / output terminal of the processor is assigned to a JTAG port to access a register and a peripheral device inside the processor to self-diagnose the defect. In addition, if multiple processors are installed, the self-diagnosis function is performed by accessing the JTAG TAP (Test Access Port) controller and the boundary scan register of another processor through the input / output terminals of the master processor. This provided embedded system has a configuration as shown in FIG.

즉, 본 발명에 따른 하드웨어 자가 진단이 가능한 내장형 시스템은 도 2에 예시한 바와 같이, 사용자 인터페이스부(21)와, 디스플레이부(22)와, 통신 처리부(23)와, 메모리부(24)와, 적어도 하나의 프로세서(25-1~25-3) 및 주변 장치(26-1~26-3)를 구비하여 이루어진다.That is, the embedded system capable of hardware self-diagnosis according to the present invention has a user interface 21, a display 22, a communication processor 23, a memory 24, and the like, as illustrated in FIG. 2. And at least one processor 25-1 to 25-3 and peripheral devices 26-1 to 26-3.

도 2에서, 프로세서(25-1~25-3)와 주변 장치(26-1~26-3)는 각각 3개씩 구비하고 있는 경우를 예시하고 있으나, 본 발명에서 프로세서(25-1~25-3)는 마스터 프로세서(25-1)만을 구비하거나, 또는 1개의 마스터 프로세서(25-1)와 다수의 서브 프로세서(25-2, 25-3)들을 구비할 수 있으며, 각 프로세서(25-1~25-3)에 연결되는 주변 장치(26-1~26-3) 또한 프로세서가 구비되어 있으면 존재하고, 그렇지 않으면 존재하지 않을 것이다.In FIG. 2, the processor 25-1 to 25-3 and the peripheral devices 26-1 to 26-3 are each provided with three. However, in the present invention, the processors 25-1 to 25-3 are illustrated. 3) may include only the master processor 25-1, or may include one master processor 25-1 and a plurality of subprocessors 25-2 and 25-3, and each processor 25-1. Peripheral devices 26-1-26-3 connected to ˜ 25-3 may also exist if equipped with a processor, or otherwise do not.

여기서, 사용자 인터페이스부(21)와 디스플레이부(22) 및 통신 처리부(23) 또한 하드웨어 자가 진단 대상의 주변 장치에 포함되지만, 본 발명의 하드웨어 자가 진단시 일반적인 주변 장치와는 다른 기능을 수행하는데, 즉, 사용자 인터페이스부(21)는 키패드나 터치스크린 등으로 구현되어, 하드웨어 자가 진단을 요청하는 테스트 명령을 입력받아 마스터 프로세서(25-1)로 전달해 주는 역할을 하며, 디스플레이부(22)는 LCD 화면이나 스피커 등으로 구현되어, 하드웨어 자가 진단 결과를 사용자에게 출력해 주는 역할을 하며, 통신 처리부(23)는 하드웨어 자가 진단을 요청하는 테스트 명령을 수신하여 마스터 프로세서(25-1)로 전달하거나, 하드웨어 자가 진단 결과를 유/무선 통신을 통해 외부로 보고하는 역할을 한다.Here, although the user interface 21, the display 22, and the communication processor 23 are also included in the peripheral device for the hardware self-diagnosis, the hardware self-diagnosis of the present invention performs a different function from the general peripheral device. That is, the user interface 21 is implemented as a keypad or a touch screen, and receives a test command for requesting hardware self-diagnosis and delivers the test command to the master processor 25-1, and the display unit 22 is an LCD. It is implemented as a screen or a speaker, and serves to output the hardware self-diagnosis result to the user, the communication processor 23 receives the test command for requesting the hardware self-diagnosis and delivers it to the master processor 25-1, It reports the hardware self-diagnosis result to the outside through wired / wireless communication.

그리고, 메모리부(24)는 내장형 시스템이 되는 전자 제품의 구동에 필요한 소프트웨어 및 각종 정보와, 하드웨어 자가 진단 기능 수행에 필요한 소프트웨어 및 각종 테스트 참조 정보(즉, 각 프로세서(25-1~25-3)의 JTAG 식별 코드, 각 프로세서 내부 모듈들을 자가 진단 상태로 설정하기 위한 특정 상태 정보, 주변 장치(26-1~26-3)들을 자가 진단 상태로 설정하기 위한 특정 상태 정보 등)를 저장하는 역할을 한다.The memory unit 24 includes software and various kinds of information necessary for driving an electronic product that is an embedded system, software necessary for performing a hardware self-diagnosis function, and various kinds of test reference information (that is, each processor 25-1 to 25-3). JTAG identification code, specific status information for setting each processor internal module to the self-diagnostic state, and specific status information for setting the peripheral devices 26-1 to 26-3 to the self-diagnostic state. Do it.

또한, 마스터 프로세서(25-1)와 각 서브 프로세서(25-2, 25-3)는 아키텍쳐(Architecture) 내부에 JTAG를 포함하는 ARM(Advanced RISC Machines) 코어 또는 JTAG를 내장하는 프로세서를 의미하며, 여기서, JTAG라 함은 ARM 코어 내부에서 파이프 라인을 통해 연결되어 있는 JTAG와, ARM 코어 외부에 모듈로 존재하는 JTAG를 포함한다.In addition, the master processor 25-1 and each of the subprocessors 25-2 and 25-3 mean an ARM (Advanced RISC Machines) core or JTAG including JTAG in an architecture. Here, the JTAG includes a JTAG connected through a pipeline inside the ARM core, and a JTAG existing as a module outside the ARM core.

마스터 프로세서(25-1)는 메모리부(24)에 저장되어 있는 전자 제품의 구동에 필요한 소프트웨어 및 각종 정보를 이용하여 전반적인 전자 제품 구동을 제어하고, 또한 사용자 인터페이스부(21)나 통신 처리부(23)를 통해 하드웨어 자가 진단 명령이 입력되는 경우 메모리부(24)에 저장되어 있는 하드웨어 자가 진단용 소프트웨어 및 각종 테스트 참조 정보를 이용하여 자신의 입/출력 단자(I/O2~I/O3)를 통해 자신을 포함한 각 프로세서(25-1~25-3)의 JTAG의 TAP 제어기 테스트 동작 모드를 제 어한 상태에서 테스트 데이터 입/출력 단자(TDI, TDO) 및 다른 입/출력 단자(I/O4~I/O6)를 통해 해당되는 프로세서(25-1~25-3) 및 주변 장치(26-1~26-3)들에 대한 하드웨어 불량 여부를 진단하는 일련의 하드웨어 자가 진단 기능을 수행하며, 이러한 하드웨어 자가 진단 결과를 디스플레이부(22)를 통해 사용자에게 출력해 주거나, 또는 통신 처리부(23)를 통해 외부로 보고한다. 여기서, 마스터 프로세서(25-1)의 입/출력 단자(I/O1~I/O6)는 그 마스터 프로세서(25-1)에서 입력과 출력의 두가지 상태 등을 설정할 수 있는 바운드리 스캔 셀로 구성된 단자(예컨대, GPIO 단자, 어드레스 및 데이터 버스 등)를 의미한다.The master processor 25-1 controls the overall operation of the electronic product using software and various information necessary for driving the electronic product stored in the memory unit 24, and also controls the user interface unit 21 and the communication processing unit 23. When the hardware self-diagnosis command is inputted through the I / O terminal I / O2 to I / O3 by using the hardware self-diagnosis software stored in the memory unit 24 and various test reference information. Test data input / output terminals (TDI, TDO) and other input / output terminals (I / O4 ~ I /) with control of the TAP controller test operation mode of the JTAG of each processor (25-1 to 25-3) including O6) performs a series of hardware self-diagnosis functions to diagnose hardware defects on the processors 25-1 to 25-3 and peripheral devices 26-1 to 26-3. Display the diagnostic result (22) Output to the user or report to the outside through the communication processing unit (23). Here, the input / output terminals I / O1 to I / O6 of the master processor 25-1 are terminals configured as boundary scan cells that can set two states, such as input and output, in the master processor 25-1. (Eg, GPIO terminal, address and data bus, etc.).

각 서브 프로세서(25-2, 25-3)는 전자 제품에 구현되는 부가적인 기능을 제공하기 위해 추가되는 프로세서로서, 마스터 프로세서(25-1)에 의해 테스트 동작 모드(외부 테스트 모드, 우회 모드)가 제어되는 JTAG의 TAP 제어기를 포함하며, 테스트 모드 선택 및 테스트 클럭 단자(TMS, TCK)와 마스터 프로세서(25-1)의 입/출력 단자(I/O2, I/O3)가 연결되어 TAP 제어기의 테스트 동작 모드가 제어되고, 그 프로세서 연결 순서에 따라 이전 프로세서의 테스트 데이터 출력 단자(TDO)와 자신의 테스트 데이터 입력 단자(TDI)가 연결되어 소정의 테스트 신호가 전달되는 경로 즉, 서브 테스트 경로를 제공하며, 테스트 데이터 출력 단자(TDO)가 마스터 프로세서(25-1)의 입/출력 단자(I/O4~I/O6)와 연결되어 일련의 테스트 결과 신호를 마스터 프로세서(25-1)로 전달해 준다.Each of the subprocessors 25-2 and 25-3 is a processor added to provide additional functions implemented in electronic products, and is tested by the master processor 25-1 in a test operation mode (external test mode, bypass mode). It includes a TAP controller of the JTAG is controlled, the test mode selection and test clock terminals (TMS, TCK) and the input / output terminals (I / O2, I / O3) of the master processor 25-1 is connected to the TAP controller The test operation mode of the controller is controlled, and a path in which the test data output terminal TDO and its test data input terminal TDI of the previous processor are connected and the predetermined test signal is transmitted according to the processor connection order, that is, the sub test path The test data output terminal (TDO) is connected to the input / output terminals (I / O4 to I / O6) of the master processor 25-1 to transmit a series of test result signals to the master processor 25-1. Deliver it.

주변 장치(26-1~26-3)는 각 프로세서(25-1~25-3)에 연결되어, 그 프로세서(25-1~25-3)의 입/출력 단자(I/O)를 통해 제어된다.Peripherals 26-1 to 26-3 are connected to respective processors 25-1 to 25-3 and through the input / output terminals (I / O) of the processors 25-1 to 25-3. Controlled.

이러한 마스터 프로세서(25-1)와 각 서브 프로세서(25-2, 25-3)의 JTAG 신호선 연결 구조에 대하여 보다 상세히 설명하면, 마스터 프로세서(25-1)는 내부 JTAG의 TAP 제어기 및 각 서브 프로세서(25-2, 25-3)의 JTAG의 TAP 제어기에 대한 테스트 동작 모드를 제어하기 위해 자신의 입/출력 단자(I/O2, I/O3)에 각 프로세서(25-1~25-3)의 테스트 모드 선택 단자(TMS) 및 테스트 클럭 단자(TCK)를 각각 연결하고 있으며, 또한 자신의 입/출력 단자(I/O1)와 테스트 데이터 입력 단자(TDI)를 연결하고 있다. 그리고, 각 서브 프로세서(25-2, 25-3) 및 그 서브 프로세서(25-2, 25-3)에 연결된 주변 장치(26-2, 26-3)에 대한 하드웨어 자가 진단을 위해 마스터 프로세서 자신의 테스트 데이터 출력 단자(TDO)와 인접 서브 프로세서(25-2)의 테스트 데이터 입력 단자(TDI)를 연결하고, 또한 마스터 프로세서(25-1)와 직접 연결된 인접 서브 프로세서(25-2)를 제외한 나머지 서브 프로세서(25-3)들의 경우 각각 인접한 서브 프로세서의 테스트 데이터 출력 단자(TDO)와 자신의 테스트 데이터 입력 단자(TDI)를 연결시켜 일련의 서브 테스트 경로를 구현하게 된다.The JTAG signal line connection structure of the master processor 25-1 and the subprocessors 25-2 and 25-3 will be described in more detail. The master processor 25-1 includes a TAP controller and each subprocessor of the internal JTAG. Each processor 25-1 to 25-3 at its input / output terminals I / O2 and I / O3 to control the test operation mode for the TAP controller of the JTAG of (25-2, 25-3). The test mode select terminal (TMS) and the test clock terminal (TCK) are respectively connected, and their input / output terminals (I / O1) and the test data input terminals (TDI) are connected. Then, the master processor itself for hardware self-diagnosis of each subprocessor 25-2, 25-3 and the peripheral devices 26-2, 26-3 connected to the subprocessors 25-2, 25-3. Connects the test data output terminal TDO of the test data input terminal TDI of the adjacent subprocessor 25-2 and the adjacent subprocessor 25-2 directly connected to the master processor 25-1. For the remaining subprocessors 25-3, a series of sub test paths are implemented by connecting the test data output terminal TDO of the adjacent sub processor and its test data input terminal TDI.

또한, 마스터 프로세서(25-1)를 포함한 각 서브 프로세서(25-2, 25-3)는 하드웨어 자가 진단을 위한 테스트 결과로 전달되는 신호를 마스터 프로세서(25-1)로 전달하기 위해 각 프로세서의 테스트 데이터 출력 단자(TDO)를 마스터 프로세서(25-1)의 입/출력 단자(I/O4~I/O6)에 연결하고 있다.In addition, each of the subprocessors 25-2 and 25-3 including the master processor 25-1 may transmit a signal to the master processor 25-1 to transmit a signal to the master processor 25-1 as a test result for hardware self-diagnosis. The test data output terminal TDO is connected to the input / output terminals I / O4 to I / O6 of the master processor 25-1.

이와 같은 하드웨어 자가 진단이 가능한 내장형 시스템에서의 그 하드웨어 자가 진단 동작을 첨부한 도면 도 3을 참조하여 상세하게 설명하면 다음과 같다.The hardware self-diagnosis operation in the embedded system capable of such hardware self-diagnosis will be described in detail with reference to FIG. 3.

먼저, 내장형 시스템의 구동은 전반적으로 마스터 프로세서(25-1)에 의해 제 어되며, 마스터 프로세서(25-1)는 메모리부(24)에 저장되는 구동 소프트웨어 및 각종 정보를 이용하여 전반적인 전자 제품 구동을 제어하게 된다.First, the driving of the embedded system is generally controlled by the master processor 25-1, and the master processor 25-1 drives the entire electronic product by using driving software and various information stored in the memory unit 24. To control.

이러한 내장형 시스템에 대한 하드웨어 자가 진단은 사용자나 기술자가 직접 키패드나 터치스크린 등을 조작하여 수행하거나, 또는 유/무선 통신을 통해 원격으로 수행할 수도 있는데, 이때 사용자 인터페이스부(21)는 키패드나 터치스크린 조작을 감지하여 그 키패드나 터치스크린을 통해 하드웨어 자가 진단을 요청하는 테스트 명령을 입력받아 이를 마스터 프로세서(25-1)로 전달해 주게 되며, 통신 처리부(23)는 유/무선 통신을 통해 하드웨어 자가 진단을 요청하는 테스트 명령을 수신하여 이를 마스터 프로세서(25-1)로 전달해 주게 된다.The hardware self-diagnosis of the embedded system may be performed by a user or a technician by directly operating a keypad or a touch screen, or remotely through wired / wireless communication. In this case, the user interface 21 may use a keypad or touch. It detects the screen operation, receives a test command requesting hardware self-diagnosis through the keypad or touch screen, and transfers the test command to the master processor 25-1. The communication processing unit 23 performs the hardware self-through the wire / wireless communication. The test command requesting the diagnosis is received and transferred to the master processor 25-1.

그리고, 마스터 프로세서(25-1)는 사용자 인터페이스부(21)나 통신 처리부(23)를 통해 하드웨어 자가 진단 테스트 명령이 입력되면(스텝 S31), 메모리부(24)에 저장되어 있는 하드웨어 자가 진단용 소프트웨어 및 각종 테스트 참조 정보를 이용하여 각 프로세서(25-1~25-3) 및 주변 장치(26-1~26-3)들에 대한 하드웨어 자가 진단을 시작하게 된다.When the hardware self-diagnostic test command is input through the user interface unit 21 or the communication processing unit 23 (step S31), the master processor 25-1 stores the hardware self-diagnosis software stored in the memory unit 24. And hardware self-diagnosis for each of the processors 25-1-25-3 and the peripheral devices 26-1-26-3 using various test reference information.

즉, 마스터 프로세서(25-1)는 하드웨어 자가 진단용 소프트웨어를 실행시킴으로써, 우선 테스트 동작 모드 제어용 입/출력 단자(I/O2, I/O3)를 통해 테스트 모드 선택 단자(TMS) 및 테스트 클럭 단자(TCK)를 제어하여 JTAG의 TAP 제어기를 내부 테스트 모드(INTEST)로 설정하게 되며(스텝 S32), 이러한 상태에서 프로세서 자신의 JTAG 불량 여부를 진단하기 위해 테스트 신호용 입/출력 단자(I/O1) 및 테스트 데이터 입력 단자(TDI)를 통해 프로세서 내부의 JTAG 식별 코드를 판독한 후 에 이를 테스트 결과로서 테스트 데이터 출력 단자(TDO)로 출력하게 된다(스텝 S33).That is, the master processor 25-1 executes the hardware self-diagnosis software, and first of all, the test mode selection terminal TMS and the test clock terminal (I / O2, I / O3) through the test operation mode control input / output terminals I / O2 and I / O3. TCK) to set the JTAG's TAP controller to the internal test mode (INTEST) (step S32) .In this state, the input / output terminal (I / O1) for the test signal and the test signal for diagnosing the JTAG failure of the processor itself. After reading the JTAG identification code inside the processor through the test data input terminal (TDI), it is output to the test data output terminal (TDO) as a test result (step S33).

그리고, 마스터 프로세서(25-1)의 테스트 데이터 출력 단자(TDO)로 출력된 테스트 결과 신호 즉, 앞에서 판독한 JTAG 식별 코드는 그 테스트 데이터 출력 단자(TDO)와 연결된 마스터 프로세서(25-1)의 테스트 결과 입력용 입/출력 단자(I/O4)로 입력되고, 마스터 프로세서(25-1)는 그 테스트 결과로서 판독한 JTAG 식별 코드가 메모리부(24)에 저장되어 있는 JTAG 식별 코드와 동일한지를 확인하게 된다(스텝 S34).In addition, the test result signal output to the test data output terminal TDO of the master processor 25-1, that is, the JTAG identification code read above, is connected to the test data output terminal TDO of the master processor 25-1. The master processor 25-1 inputs to the test result input / output terminal I / O4, and the master processor 25-1 checks whether the JTAG identification code read as the test result is the same as the JTAG identification code stored in the memory unit 24. It confirms (step S34).

이때, 테스트 결과로서 판독한 JTAG 식별 코드가 메모리부(24)에 저장되어 있는 JTAG 식별 코드와 동일하지 않은 경우 이는 JTAG가 비정상임을 의미하므로, 마스터 프로세서(25-1)는 JTAG 불량이라는 하드웨어 자가 진단 결과를 디스플레이부(22)를 통해 사용자에게 출력해 주거나, 또는 통신 처리부(23)를 통해 외부로 보고하게 된다(스텝 S35). 참고로, 하드웨어 자가 진단시 JTAG 불량 여부를 가장 먼저 진단하는 이유는 만약 마스터 프로세서(25-1)의 JTAG가 불량인 경우에는 그 이외의 프로세서(25-2~25-3) 및 각 주변 장치(26-1~26-3)들에 대한 하드웨어 자가 진단이 불가능하기 때문이다.At this time, if the JTAG identification code read as a test result is not the same as the JTAG identification code stored in the memory unit 24, this means that the JTAG is abnormal, and thus the master processor 25-1 diagnoses the hardware self as a JTAG failure. The result is output to the user via the display unit 22 or reported to the outside via the communication processing unit 23 (step S35). For reference, the first reason for JTAG failure in hardware self-diagnosis is that if the JTAG of the master processor 25-1 is defective, other processors 25-2 to 25-3 and each peripheral device ( This is because hardware self-diagnosis for 26-1 ~ 26-3) is impossible.

하지만, 테스트 결과로서 판독한 JTAG 식별 코드가 메모리부(24)에 저장되어 있는 JTAG 식별 코드와 동일한 경우 이는 JTAG가 정상임을 의미하며, 다음으로 마스터 프로세서(25-1)의 내부 모듈들에 대한 불량 여부를 진단하게 되는데, 이를 위해 마스터 프로세서(25-1)는 메모리부(24)에 테스트 참조 정보로 저장되어 있는 마 스터 프로세서(25-1)의 내부 모듈에 대한 자가 진단 상태 정보를 이용하여 테스트 신호용 입/출력 단자(I/O1) 및 테스트 데이터 입력 단자(TDI)를 통해 그 내부 모듈들을 자가 진단을 위한 특정 상태로 설정하게 된다(스텝 S36).However, if the JTAG identification code read as the test result is the same as the JTAG identification code stored in the memory unit 24, this means that the JTAG is normal, and then the defects of the internal modules of the master processor 25-1 are bad. The master processor 25-1 performs a test using self-diagnostic status information of an internal module of the master processor 25-1 stored in the memory unit 24 as test reference information. Through the signal input / output terminal I / O1 and the test data input terminal TDI, internal modules thereof are set to a specific state for self-diagnosis (step S36).

이렇게 하여 마스터 프로세서(25-1)의 내부 모듈들을 특정 상태로 설정한 이후, 마스터 프로세서(25-1)는 그 내부 모듈들에 대한 불량 여부를 진단하기 위해 테스트 신호용 입/출력 단자(I/O1) 및 테스트 데이터 입력 단자(TDI)를 통해 프로세서 내부 모듈들의 레지스터 값을 판독하여 이를 테스트 결과로서 테스트 데이터 출력 단자(TDO)로 출력하게 되며(스텝 S37), 테스트 데이터 출력 단자(TDO)로 출력된 테스트 결과 신호 즉, 앞에서 판독한 내부 모듈들의 레지스터 값은 그 테스트 데이터 출력 단자(TDO)와 연결된 마스터 프로세서(25-1)의 테스트 결과 입력용 입/출력 단자(I/O4)로 입력되고, 마스터 프로세서(25-1)는 그 테스트 결과로서 판독한 내부 모듈들의 레지스터 값이 메모리부(24)에 저장되어 있는 내부 모듈들에 대한 자가 진단 상태 정보가 되는 레지스터 값과 동일한지를 확인하게 된다(스텝 S38).In this way, after setting the internal modules of the master processor 25-1 to a specific state, the master processor 25-1 performs input / output terminals I / O1 for test signals to diagnose whether or not the internal modules are defective. And the register values of the internal modules of the processor through the test data input terminal (TDI) and output them to the test data output terminal (TDO) as a test result (step S37) and output to the test data output terminal (TDO). The test result signal, that is, the register value of the internal modules read above, is input to the input / output terminal I / O4 for inputting the test result of the master processor 25-1 connected to the test data output terminal TDO, and the master The processor 25-1 registers the register value of the internal modules read as the test result, and becomes a self-diagnostic state information for the internal modules stored in the memory unit 24. Is the same make sure (step S38).

이때, 테스트 결과로서 판독한 프로세서 내부 모듈들의 레지스터 값이 메모리부(24)에 저장되어 있는 내부 모듈들에 대한 레지스터 값과 동일하지 않은 경우 이는 프로세서 내부 모듈이 비정상임을 의미하므로, 마스터 프로세서(25-1)는 프로세서 내부 모듈 불량이라는 하드웨어 자가 진단 결과를 디스플레이부(22)를 통해 사용자에게 출력해 주거나, 또는 통신 처리부(23)를 통해 외부로 보고하게 된다(스텝 S39).At this time, if the register value of the internal processor modules read as a test result is not the same as the register value of the internal modules stored in the memory unit 24, this means that the internal processor module is abnormal, and thus the master processor 25-. 1) outputs the hardware self-diagnosis result of the processor internal module failure to the user through the display unit 22 or reports to the outside through the communication processing unit 23 (step S39).

하지만, 테스트 결과로서 판독한 프로세서 내부 모듈들의 레지스터 값이 메 모리부(24)에 저장되어 있는 내부 모듈들에 대한 레지스터 값과 동일한 경우 이는 프로세서 내부 모듈들이 정상임을 의미하며, 다음의 하드웨어 자가 진단 기능으로서 마스터 프로세서(25-1)에 연결된 주변 장치(26-1)에 대한 불량 여부를 진단하게 되는데, 이를 위해 마스터 프로세서(25-1)는 메모리부(24)에 테스트 참조 정보로 저장되어 있는 주변 장치(26-1)에 대한 자가 진단 상태 정보를 이용하여 테스트 신호용 입/출력 단자(I/O1) 및 테스트 데이터 입력 단자(TDI)를 통해 소정의 입/출력 단자(I/O)에 연결된 주변 장치(26-1)를 자가 진단을 위한 특정 상태로 설정하게 된다(스텝 S40).However, if the register value of the processor internal modules read as the test result is the same as the register value for the internal modules stored in the memory unit 24, this means that the processor internal modules are normal. As a result, the peripheral device 26-1 connected to the master processor 25-1 is diagnosed as defective. For this purpose, the master processor 25-1 is a peripheral device stored as test reference information in the memory unit 24. Peripherals connected to a given input / output terminal (I / O) via input / output terminals (I / O1) and test data input terminals (TDI) for test signals using self-diagnostic status information for device 26-1. The device 26-1 is set to a specific state for self diagnosis (step S40).

이렇게 하여 마스터 프로세서(25-1)와 연결된 주변 장치(26-1)를 특정 상태로 설정한 이후, 그 마스터 프로세서(25-1)는 자신과 연결된 주변 장치(26-1) 불량 여부를 진단하기 위해 테스트 동작 모드 제어용 입/출력 단자(I/O2, I/O3)를 통해 프로세서 자신의 테스트 모드 선택 단자(TMS) 및 테스트 클럭 단자(TCK)를 제어하여 JTAG의 TAP 제어기를 외부 테스트 모드(EXTEST)로 설정함으로써 테스트 데이터 입력 단자(TDI)와 테스트 데이터 출력 단자(TDO)를 바운드리 스캔 레지스터에 연결시키게 된다(스텝 S41).After setting the peripheral device 26-1 connected with the master processor 25-1 to a specific state in this manner, the master processor 25-1 diagnoses whether the peripheral device 26-1 connected with the master processor is defective. In order to control the test mode selection terminal (TMS) and the test clock terminal (TCK) of the processor through the input / output terminals (I / O2 and I / O3) for test operation mode control, JTAG's TAP controller is controlled by the external test mode (EXTEST). ), The test data input terminal TDI and the test data output terminal TDO are connected to the boundary scan register (step S41).

이후, 마스터 프로세서(25-1)는 테스트 신호용 입/출력 단자(I/O1) 및 테스트 데이터 입력 단자(TDI)를 통해 주변 장치(26-1)가 연결된 입/출력 단자(I/O)의 현재 상태 정보(즉, 주변 장치(26-1)의 핀 상태 정보, High 또는 Low)를 판독한 후에 이를 주변 장치 테스트 결과로서 테스트 데이터 출력 단자(TDO)로 출력하게 되며(스텝 S42), 테스트 데이터 출력 단자(TDO)로 출력된 주변 장치 테스트 결과 신 호 즉, 앞에서 판독한 주변 장치(26-1)의 핀 상태 정보는 그 테스트 데이터 출력 단자(TDO)와 연결된 마스터 프로세서(25-1)의 테스트 결과 입력용 입/출력 단자(I/O4)로 입력되고, 마스터 프로세서(25-1)는 그 테스트 결과로서 판독한 주변 장치(26-1)의 핀 상태 정보가 메모리부(24)에 저장되어 있는 주변 장치(26-1)의 자가 진단 상태 정보와 동일한지를 확인하게 된다(스텝 S43).Thereafter, the master processor 25-1 is connected to the input / output terminal I / O to which the peripheral device 26-1 is connected through the input / output terminal I / O1 for the test signal and the test data input terminal TDI. After reading the current state information (i.e., pin state information of the peripheral device 26-1, High or Low), it is output to the test data output terminal TDO as a peripheral device test result (step S42). The peripheral device test result signal output to the output terminal TDO, that is, the pin state information of the peripheral device 26-1 previously read is a test of the master processor 25-1 connected to the test data output terminal TDO. Input to the input / output terminal I / O4 for result input, the master processor 25-1 stores the pin state information of the peripheral device 26-1 read as the test result in the memory unit 24. It is confirmed whether or not the same as the self-diagnosis status information of the peripheral device 26-1 present (step S43).

이때, 테스트 결과로서 판독한 주변 장치(26-1)의 핀 상태 정보가 메모리부(24)에 저장되어 있는 주변 장치(26-1)의 자가 진단 상태 정보와 동일하지 않은 경우 이는 주변 장치(26-1)가 비정상임을 의미하므로, 마스터 프로세서(25-1)는 프로세서 자신과 연결된 주변 장치 불량이라는 하드웨어 자가 진단 결과를 디스플레이부(22)를 통해 사용자에게 출력해 주거나, 또는 통신 처리부(23)를 통해 외부로 보고하게 된다(스텝 S44).At this time, when the pin state information of the peripheral device 26-1 read as a test result is not the same as the self-diagnostic state information of the peripheral device 26-1 stored in the memory unit 24, this is the peripheral device 26. -1) means that the abnormality, the master processor 25-1 outputs the hardware self-diagnosis result of the defective peripheral device connected to the processor itself to the user through the display unit 22, or the communication processor 23 The report is made to the outside via the step S44.

하지만, 테스트 결과로서 판독한 주변 장치(26-1)의 핀 상태 정보가 메모리부(24)에 저장되어 있는 주변 장치(26-1)의 자가 진단 상태 정보와 동일한 경우 이는 프로세서 자신과 연결된 주변 장치(26-1)가 정상임을 의미하므로, 마스터 프로세서(25-1)는 해당되는 하드웨어 자가 진단 결과를 디스플레이부(22)를 통해 사용자에게 출력해 주거나, 또는 통신 처리부(23)를 통해 외부로 보고한 후에 마스터 프로세서(25-1) 및 그 마스터 프로세서(25-1)에 연결된 주변 장치(26-1)에 대한 일련의 하드웨어 자가 진단을 완료하게 된다(스텝 S45).However, when the pin state information of the peripheral device 26-1 read as a test result is the same as the self-diagnostic state information of the peripheral device 26-1 stored in the memory unit 24, the peripheral device connected to the processor itself is used. Since the symbol 26-1 is normal, the master processor 25-1 outputs a corresponding hardware self-diagnosis result to the user through the display unit 22, or reports to the outside through the communication processor 23. After that, a series of hardware self-diagnosis is completed for the master processor 25-1 and the peripheral device 26-1 connected to the master processor 25-1 (step S45).

또한, 본 발명에서 마스터 프로세서(25-1)는 다음의 하드웨어 자가 진단 기능으로서 각 서브 프로세서(25-2, 25-3) 및 그 서브 프로세서(25-2, 25-3)에 연결 된 주변 장치(26-2, 26-3)들에 대한 일련의 하드웨어 자가 진단을 수행하게 되는데, 먼저 마스터 프로세서(25-1)의 테스트 데이터 출력 단자(TDO)에 연결된 인접 서브 프로세서(25-2)에 대한 하드웨어 자가 진단을 수행하게 되며, 이를 위해 마스터 프로세서(25-1)는 우선 테스트 동작 모드 제어용 입/출력 단자(I/O2, I/O3)를 통해 프로세서 자신의 테스트 모드 선택 단자(TMS) 및 테스트 클럭 단자(TCK)를 제어하여 JTAG의 TAP 제어기를 우회 모드(BYPASS)로 설정함으로써 테스트 데이터 입력 단자(TDI)와 테스트 데이터 출력 단자(TDO)를 바운드리 스캔 레지스터에 연결시키지 않고 직접 직렬로 연결시키게 된다. 즉, 마스터 프로세서(25-1)의 JTAG를 우회하여 서브 프로세서(25-2)에 대한 하드웨어 자가 진단을 수행하기 위해서 마스터 프로세서(25-1)의 JTAG의 TAP 제어기를 우회 모드로 설정하여 테스트 데이터 입력 단자(TDI)와 테스트 데이터 출력 단자(TDO)로 연결되는 서브 테스트 경로를 구현하게 된다.In addition, in the present invention, the master processor 25-1 is a hardware self-diagnosis function as follows, and peripheral devices connected to each of the subprocessors 25-2 and 25-3 and their subprocessors 25-2 and 25-3. A series of hardware self-diagnostics are performed for (26-2, 26-3), first with respect to the adjacent subprocessor 25-2 connected to the test data output terminal (TDO) of the master processor 25-1. The hardware self-diagnosis is performed. For this purpose, the master processor 25-1 first checks the processor's own test mode selection terminal (TMS) and the test through the input / output terminals I / O2 and I / O3 for controlling the test operation mode. Control the clock terminal (TCK) to set the JTAG's TAP controller to bypass mode (BYPASS) so that the test data input terminal (TDI) and the test data output terminal (TDO) are connected in series directly without connecting to the boundary scan register. do. That is, in order to bypass the JTAG of the master processor 25-1 and perform hardware self-diagnosis on the subprocessor 25-2, the TAP controller of the JTAG of the master processor 25-1 is set to the bypass mode to test data. The sub test path connected to the input terminal TDI and the test data output terminal TDO is implemented.

이러한 상태에서 마스터 프로세서(25-1)는 서브 프로세서(25-2)에 대한 하드웨어 자가 진단을 수행하게 되는데, 이때의 하드웨어 자가 진단 동작은 도 3에서 설명한 마스터 프로세서(25-1)에 대한 일련의 하드웨어 자가 진단 동작과 유사한 방식으로 이루어지게 된다.In this state, the master processor 25-1 performs hardware self-diagnosis on the subprocessor 25-2, and the hardware self-diagnosis operation is performed by performing a series of operations on the master processor 25-1 described with reference to FIG. 3. This is done in a similar manner to the hardware self-diagnosis operation.

즉, 마스터 프로세서(25-1)는 우선 테스트 동작 모드 제어용 입/출력 단자(I/O2,I/O3)를 통해 하드웨어 자가 진단 대상이 되는 서브 프로세서(25-2)의 테스트 모드 선택 단자(TMS) 및 테스트 클럭 단자(TCK)를 제어함으로써 그 서브 프로세서(25-2)의 JTAG의 TAP 제어기를 내부 테스트 모드(INTEST)로 설정하게 되며, 이러 한 상태에서 서브 프로세서(25-2)의 JTAG 불량 여부를 진단하기 위해 그 서브 프로세서(25-2)의 JTAG 식별 코드를 판독하게 되는데, 이때 마스터 프로세서 자신의 테스트 신호용 입/출력 단자(I/O1)와, 테스트 데이터 입/출력 단자(TDI/TDO) 및 서브 프로세서(25-2)의 테스트 데이터 입력 단자(TDI)를 통해 그 서브 프로세서(25-2)의 JTAG 식별 코드를 판독하게 되며, 이렇게 판독한 서브 프로세서(25-2)의 JTAG 식별 코드를 테스트 결과로서 그 서브 프로세서(25-2)의 테스트 데이터 출력 단자(TDO)로 출력하게 된다.That is, the master processor 25-1 may first test the test mode selection terminal TMS of the subprocessor 25-2, which is a hardware self-diagnosis target, through the input / output terminals I / O2 and I / O3 for test operation mode control. ) And the test clock terminal TCK to set the TAP controller of the JTAG of the subprocessor 25-2 to the internal test mode INTEST. In this state, the JTAG of the subprocessor 25-2 is bad. The JTAG identification code of the subprocessor 25-2 is read to diagnose whether the master processor owns the input / output terminal I / O1 for the test signal and the test data input / output terminal (TDI / TDO). And the JTAG identification code of the subprocessor 25-2 through the test data input terminal TDI of the subprocessor 25-2, and the JTAG identification code of the subprocessor 25-2 thus read. Test the subprocessor 25-2 as a test result. It is output to the data output terminal (TDO).

그리고, 서브 프로세서(25-2)의 테스트 데이터 출력 단자(TDO)로 출력된 테스트 결과 신호 즉, 앞에서 판독한 서브 프로세서(25-2)의 JTAG 식별 코드는 그 서브 프로세서(25-2)의 테스트 데이터 출력 단자(TDO)와 연결된 마스터 프로세서(25-1)의 테스트 결과 입력용 입/출력 단자(I/O5)로 입력되고, 마스터 프로세서(25-1)는 그 테스트 결과로서 판독한 서브 프로세서(25-2)의 JTAG 식별 코드가 메모리부(24)에 저장되어 있는 서브 프로세서(25-2)의 JTAG 식별 코드와 동일한지를 확인하게 된다.The test result signal output to the test data output terminal TDO of the subprocessor 25-2, that is, the JTAG identification code of the sub processor 25-2 read previously, is used to test the subprocessor 25-2. The input / output terminal I / O5 for inputting the test result of the master processor 25-1 connected to the data output terminal TDO is input to the input / output terminal I / O5, and the master processor 25-1 reads the subprocessor ( It is checked whether the JTAG identification code of 25-2) is the same as the JTAG identification code of the subprocessor 25-2 stored in the memory unit 24.

이때, 테스트 결과로서 판독한 서브 프로세서(25-2)의 JTAG 식별 코드가 메모리부(24)에 저장되어 있는 서브 프로세서(25-2)의 JTAG 식별 코드와 동일하지 않은 경우 이는 서브 프로세서(25-2)의 JTAG가 비정상임을 의미하므로, 마스터 프로세서(25-1)는 서브 프로세서(25-2)의 JTAG 불량이라는 하드웨어 자가 진단 결과를 디스플레이부(22)를 통해 사용자에게 출력해 주거나, 또는 통신 처리부(23)를 통해 외부로 보고하게 된다.At this time, when the JTAG identification code of the subprocessor 25-2 read as a test result is not the same as the JTAG identification code of the subprocessor 25-2 stored in the memory unit 24, the subprocessor 25- Since the JTAG of 2) is abnormal, the master processor 25-1 outputs a hardware self-diagnosis result of the JTAG failure of the subprocessor 25-2 to the user through the display unit 22, or the communication processing unit. (23) will report to the outside.

하지만, 테스트 결과로서 판독한 서브 프로세서(25-2)의 JTAG 식별 코드가 메모리부(24)에 저장되어 있는 서브 프로세서(25-2)의 JTAG 식별 코드와 동일한 경우 이는 서브 프로세서(25-2)의 JTAG가 정상임을 의미하며, 다음으로 서브 프로세서(25-2)의 내부 모듈들에 대한 불량 여부를 진단하게 되는데, 이를 위해 마스터 프로세서(25-1)는 메모리부(24)에 테스트 참조 정보로 저장되어 있는 서브 프로세서(25-2)의 내부 모듈에 대한 자가 진단 상태 정보를 이용하여 마스터 프로세서 자신의 테스트 신호용 입/출력 단자(I/O1)와, 테스트 데이터 입/출력 단자(TDI/TDO) 및 서브 프로세서(25-2)의 테스트 데이터 입력 단자(TDI)를 통해 그 서브 프로세서(25-2)의 내부 모듈들을 자가 진단을 위한 특정 상태로 설정하게 된다.However, when the JTAG identification code of the subprocessor 25-2 read as the test result is the same as the JTAG identification code of the subprocessor 25-2 stored in the memory unit 24, this is the subprocessor 25-2. This means that the JTAG is normal, and then it is diagnosed whether or not the internal modules of the subprocessor 25-2 are defective. For this purpose, the master processor 25-1 transmits the test reference information to the memory unit 24. The input / output terminal (I / O1) for the test signal of the master processor and the test data input / output terminal (TDI / TDO) using the self-diagnosis status information of the internal module of the stored subprocessor 25-2. And internal modules of the subprocessor 25-2 to a specific state for self-diagnosis through the test data input terminal TDI of the subprocessor 25-2.

이렇게 하여 서브 프로세서(25-2)의 내부 모듈들을 특정 상태로 설정한 이후, 마스터 프로세서(25-1)는 그 서브 프로세서 내부 모듈들에 대한 불량 여부를 진단하기 위해 마스터 프로세서 자신의 테스트 신호용 입/출력 단자(I/O1)와, 테스트 데이터 입/출력 단자(TDI/TDO) 및 서브 프로세서(25-2)의 테스트 데이터 입력 단자(TDI)를 통해 서브 프로세서 내부 모듈들의 레지스터 값을 판독한 후, 이를 테스트 결과로서 그 서브 프로세서(25-2)의 테스트 데이터 출력 단자(TDO)로 출력하게 되며, 서브 프로세서(25-2)의 테스트 데이터 출력 단자(TDO)로 출력된 테스트 결과 신호 즉, 앞에서 판독한 서브 프로세서 내부 모듈들의 레지스터 값은 그 서브 프로세서(25-2)의 테스트 데이터 출력 단자(TDO)와 연결된 마스터 프로세서(25-1)의 테스트 결과 입력용 입/출력 단자(I/O5)로 입력되고, 마스터 프로세서(25-1)는 테스트 결과로서 판독한 서브 프로세서(25-2) 내부 모듈들의 레지스터 값이 메모리 부(24)에 저장되어 있는 서브 프로세서(25-2) 내부 모듈들에 대한 자가 진단 상태 정보가 되는 레지스터 값과 동일한지를 확인하게 된다.In this way, after setting the internal modules of the subprocessor 25-2 to a specific state, the master processor 25-1 inputs / receives a test signal for the master processor itself to diagnose whether the internal modules of the subprocessor 25 are defective or not. After reading the register values of the subprocessor internal modules through the output terminal I / O1, the test data input / output terminal TDI / TDO, and the test data input terminal TDI of the subprocessor 25-2, The test result is output to the test data output terminal TDO of the subprocessor 25-2 as a test result, and the test result signal output to the test data output terminal TDO of the subprocessor 25-2, that is, the previous reading. The register value of one subprocessor internal module is input to an input / output terminal I / O5 for inputting a test result of the master processor 25-1 connected to the test data output terminal TDO of the subprocessor 25-2. In addition, the master processor 25-1 is a processor for internal modules of the subprocessor 25-2 in which the register values of the internal modules of the subprocessor 25-2 read as test results are stored in the memory unit 24. It is checked whether it is the same as the register value which is the diagnostic status information.

이때, 테스트 결과로서 판독한 서브 프로세서(25-2) 내부 모듈들의 레지스터 값이 메모리부(24)에 저장되어 있는 서브 프로세서(25-2) 내부 모듈들에 대한 레지스터 값과 동일하지 않은 경우 이는 서브 프로세서(25-2) 내부 모듈이 비정상임을 의미하므로, 마스터 프로세서(25-1)는 서브 프로세서(25-2) 내부 모듈 불량이라는 하드웨어 자가 진단 결과를 디스플레이부(22)를 통해 사용자에게 출력해 주거나, 또는 통신 처리부(23)를 통해 외부로 보고하게 된다.At this time, when the register values of the internal modules of the subprocessor 25-2 read as a test result are not the same as the register values of the internal modules of the subprocessor 25-2 stored in the memory unit 24, the sub values of the internal modules of the subprocessors 25-2 are stored. Since the internal module of the processor 25-2 is abnormal, the master processor 25-1 outputs a hardware self-diagnosis result indicating that the internal module of the sub processor 25-2 is defective to the user through the display unit 22. Or, it is reported to the outside through the communication processing unit 23.

하지만, 테스트 결과로서 판독한 서브 프로세서(25-2) 내부 모듈들의 레지스터 값이 메모리부(24)에 저장되어 있는 서브 프로세서(25-2) 내부 모듈들에 대한 레지스터 값과 동일한 경우 이는 서브 프로세서(25-2) 내부 모듈들이 정상임을 의미하며, 다음의 하드웨어 자가 진단 기능으로서 서브 프로세서(25-2)에 연결된 주변 장치(26-2)에 대한 불량 여부를 진단하게 되는데, 이를 위해 마스터 프로세서(25-1)는 메모리부(24)에 테스트 참조 정보로 저장되어 있는 서브 프로세서(25-2)의 주변 장치(26-2)에 대한 자가 진단 상태 정보를 이용하여 자신의 테스트 신호용 입/출력 단자(I/O1)와, 테스트 데이터 입/출력 단자(TDI/TDO) 및 서브 프로세서(25-2)의 테스트 데이터 입력 단자(TDI)를 통해 그 서브 프로세서(25-2)의 입/출력 단자(I/O)에 연결된 주변 장치(26-2)를 자가 진단을 위한 특정 상태로 설정하게 된다.However, if the register values of the internal modules of the subprocessor 25-2 read as the test results are the same as the register values of the internal modules of the subprocessor 25-2 stored in the memory unit 24, the subprocessor ( 25-2) means that the internal modules are normal, and as the next hardware self-diagnosis function, it diagnoses whether the peripheral device 26-2 connected to the subprocessor 25-2 is defective. -1) uses the self-diagnosis status information of the peripheral device 26-2 of the subprocessor 25-2 stored as the test reference information in the memory unit 24 to input / output terminals for its own test signal ( I / O1, the test data input / output terminal (TDI / TDO), and the test data input terminal (TDI) of the subprocessor 25-2 through the input / output terminal I of the subprocessor 25-2. Device (26-2) connected to the It is set to a specific state.

이렇게 하여 서브 프로세서(25-2)와 연결된 주변 장치(26-2)를 특정 상태로 설정한 이후, 마스터 프로세서(25-1)는 서브 프로세서(25-2)와 연결된 주변 장치(26-2) 불량 여부를 진단하기 위해 테스트 동작 모드 제어용 입/출력 단자(I/O2, I/O3)를 통해 서브 프로세서(25-2)의 테스트 모드 선택 단자(TMS) 및 테스트 클럭 단자(TCK)를 제어하여 JTAG의 TAP 제어기를 외부 테스트 모드(EXTEST)로 설정함으로써 그 서브 프로세서(25-2)의 테스트 데이터 입력 단자(TDI)와 테스트 데이터 출력 단자(TDO)를 바운드리 스캔 레지스터에 연결시키게 된다. 이때, 마스터 프로세서(25-1) 자신의 JTAG의 TAP 제어기는 우회 모드(BYPASS)로 설정된 상태를 유지하고 있으므로 테스트 데이터 입력 단자(TDI)와 테스트 데이터 출력 단자(TDO)가 바운드리 스캔 레지스터에 연결되지 않고 직접 직렬로 연결되어 있다. 즉, 마스터 프로세서(25-1)의 JTAG를 우회하여 서브 프로세서(25-2)에 연결된 주변 장치(26-2)에 대한 하드웨어 자가 진단을 수행하기 위해서 마스터 프로세서(25-1)의 JTAG의 TAP 제어기를 우회 모드(BYPASS)로 설정하고 있으며, 서브 프로세서(25-2)의 JTAG의 TAP 제어기를 외부 테스트 모드(EXTEST)로 설정하게 된다.After setting the peripheral device 26-2 connected to the subprocessor 25-2 in this state, the master processor 25-1 performs the peripheral device 26-2 connected to the subprocessor 25-2. In order to diagnose the failure, the test mode selection terminal (TMS) and the test clock terminal (TCK) of the subprocessor 25-2 are controlled by the input / output terminals I / O2 and I / O3 for controlling the test operation mode. By setting the JTAG TAP controller to the external test mode EXTEST, the test data input terminal TDI and the test data output terminal TDO of the subprocessor 25-2 are connected to the boundary scan register. At this time, since the TAP controller of the JTAG of the master processor 25-1 maintains the bypass mode (BYPASS), the test data input terminal (TDI) and the test data output terminal (TDO) are connected to the boundary scan register. They are connected in series. That is, the TAP of the JTAG of the master processor 25-1 to bypass the JTAG of the master processor 25-1 and perform hardware self-diagnosis on the peripheral device 26-2 connected to the subprocessor 25-2. The controller is set to the bypass mode (BYPASS), and the TAP controller of the JTAG of the subprocessor 25-2 is set to the external test mode (EXTEST).

이러한 상태에서 마스터 프로세서(25-1)는 자신의 테스트 신호용 입/출력 단자(I/O1)와, 테스트 데이터 입/출력 단자(TDI/TDO) 및 서브 프로세서(25-2)의 테스트 데이터 입력 단자(TDI)를 통해 주변 장치(26-2)가 연결된 서브 프로세서(25-2)의 입/출력 단자(I/O)의 현재 상태 정보(즉, 서브 프로세서(25-2)에 연결된 주변 장치(26-2)의 핀 상태 정보, High 또는 Low)를 판독한 후, 이를 서브 프로세서(25-2)에 연결된 주변 장치 테스트 결과로서 테스트 데이터 출력 단자(TDO)로 출력하게 되며, 테스트 데이터 출력 단자(TDO)로 출력된 주변 장치 테스트 결과 신호 즉, 앞 에서 판독한 서브 프로세서(25-2)에 연결된 주변 장치(26-2)의 핀 상태 정보는 그 서브 프로세서(25-2)의 테스트 데이터 출력 단자(TDO)와 연결된 마스터 프로세서(25-1)의 테스트 결과 입력용 입/출력 단자(I/O5)로 입력되고, 마스터 프로세서(25-1)는 그 테스트 결과로서 판독한 서브 프로세서(25-2)에 연결된 주변 장치(26-2)의 핀 상태 정보가 메모리부(24)에 저장되어 있는 서브 프로세서(25-2)에 연결된 주변 장치(26-2)의 자가 진단 상태 정보와 동일한지를 확인하게 된다.In this state, the master processor 25-1 has its own input / output terminal I / O1 for test signals, test data input / output terminals (TDI / TDO), and test data input terminals of the subprocessor 25-2. Current state information of the input / output terminal I / O of the subprocessor 25-2 to which the peripheral device 26-2 is connected via (TDI) (that is, the peripheral device connected to the subprocessor 25-2) After reading the pin state information 26-2) of the pin state, High or Low, it is output to the test data output terminal TDO as a test result of the peripheral device connected to the subprocessor 25-2, and the test data output terminal ( TDO) outputs the peripheral device test result signal, that is, the pin state information of the peripheral device 26-2 connected to the previously read subprocessor 25-2, and the test data output terminal of the subprocessor 25-2. To the input / output terminal (I / O5) for inputting the test result of the master processor 25-1 connected to (TDO) The master processor 25-1 is a subprocessor 25- with the pin state information of the peripheral device 26-2 connected to the subprocessor 25-2 read as the test result stored in the memory unit 24. The self-diagnosis status information of the peripheral device 26-2 connected to 2) is checked.

이때, 테스트 결과로서 판독한 서브 프로세서(25-2)에 연결된 주변 장치(26-2)의 핀 상태 정보가 메모리부(24)에 저장되어 있는 서브 프로세서(25-2)에 연결된 주변 장치(26-2)의 자가 진단 상태 정보와 동일하지 않은 경우 이는 주변 장치(26-2)가 비정상임을 의미하므로, 마스터 프로세서(25-1)는 서브 프로세서(25-2)에 연결된 주변 장치 불량이라는 하드웨어 자가 진단 결과를 디스플레이부(22)를 통해 사용자에게 출력해 주거나, 또는 통신 처리부(23)를 통해 외부로 보고하게 된다.At this time, the peripheral device 26 connected to the subprocessor 25-2 stored in the memory unit 24 stores pin state information of the peripheral device 26-2 connected to the subprocessor 25-2 read as a test result. If it is not the same as the self-diagnosis status information of -2), it means that the peripheral device 26-2 is abnormal, and thus, the master processor 25-1 is a hardware self-managed device that is connected to the subprocessor 25-2. The diagnosis result may be output to the user through the display unit 22 or may be reported to the outside through the communication processor 23.

하지만, 테스트 결과로서 판독한 서브 프로세서(25-2)에 연결된 주변 장치(26-2)의 핀 상태 정보가 메모리부(24)에 저장되어 있는 서브 프로세서(25-2)에 연결된 주변 장치(26-2)의 자가 진단 상태 정보와 동일한 경우 이는 서브 프로세서(25-2)에 연결된 주변 장치(26-2)가 정상임을 의미하며, 이렇게 하여 서브 프로세서(25-2) 및 그 서브 프로세서(25-2)에 연결된 주변 장치(26-2)에 대한 일련의 하드웨어 자가 진단을 완료하게 된다.However, the peripheral device 26 connected to the subprocessor 25-2 stored in the memory unit 24 has pin state information of the peripheral device 26-2 connected to the subprocessor 25-2 read as a test result. If the same as the self-diagnostic status information of -2), this means that the peripheral device 26-2 connected to the subprocessor 25-2 is normal, and thus the subprocessor 25-2 and its subprocessor 25-. A series of hardware self-diagnosis is completed for the peripheral device 26-2 connected to 2).

또한, 본 발명에서 마스터 프로세서(25-1)는 자신의 테스트 데이터 출력 단자(TDO)와 연결된 인접 서브 프로세서(25-2)가 아닌 다른 서브 프로세서(25-3) 즉, 인접 서브 프로세서(25-2)의 테스트 데이터 출력 단자(TDO)와 연결된 서브 프로세서(25-3)에 대하여도 하드웨어 자가 진단을 수행할 수 있는데, 이를 위해 마스터 프로세서(25-1)는 상술한 서브 프로세서(25-2)에 대한 하드웨어 자가 진단 동작과 마찬가지로 자신의 JTAG의 TAP 제어기를 우회 모드(BYPASS)로 설정하고 있게 되며, 또한 마스터 프로세서(25-1)의 테스트 데이터 입/출력 단자(TDI/TDO)를 경유하여 인접 서브 프로세서(25-2)의 테스트 데이터 입/출력 단자(TDI/TDO)를 통해 서브 프로세서(25-3)에 대한 하드웨어 자가 진단을 수행하게 되므로 서브 테스트 경로 상에 위치한 인접 서브 프로세서(25-2)의 JTAG의 TAP 제어기 또한 우회 모드(BYPASS)로 설정하게 된다.In addition, in the present invention, the master processor 25-1 is not the neighboring subprocessor 25-2 connected to its test data output terminal TDO, that is, the neighboring subprocessor 25-3. Hardware self-diagnosis may also be performed on the subprocessor 25-3 connected to the test data output terminal TDO of 2). For this purpose, the master processor 25-1 may perform the above-described subprocessor 25-2. Similar to the hardware self-diagnosis operation, the JAP's TAP controller is set to bypass mode (BYPASS), and it is also adjacent via the test data input / output terminal (TDI / TDO) of the master processor 25-1. Hardware self-diagnosis of the subprocessor 25-3 is performed through the test data input / output terminal TDI / TDO of the subprocessor 25-2, so that the adjacent subprocessor 25-2 located on the subtest path is provided. JTAG TAP control It is also set to the bypass mode (BYPASS).

그리고, 마스터 프로세서(25-1)에서 인접 서브 프로세서(25-2)에 연결된 서브 프로세서(25-3) 및 그 서브 프로세서(25-3)에 연결된 주변 장치(26-3)에 대하여 하드웨어 자가 진단을 수행하는 동작은 마스터 프로세서 자신의 테스트 데이터 입/출력 단자(TDI/TDO) 뿐만 아니라 인접 서브 프로세서(25-2)의 테스트 데이터 입/출력 단자(TDI/TDO)를 경유한 점 이외에는 앞에서 설명한 인접 서브 프로세서(25-2) 및 그 서브 프로세서(25-2)에 연결된 주변 장치(26-2)에 대한 일련의 하드웨어 자가 진단 동작과 동일한 방식으로 이루어진다. 이때, 서브 프로세서(25-3) 및 그 서브 프로세서(25-3)에 연결된 주변 장치(26-3)에 대한 하드웨어 자가 진단 결과로서 출력되는 테스트 결과는 그 서브 프로세서(25-3)의 테스트 데이터 출력 단자(TDO)로 출력되고, 이렇게 출력된 테스트 결과 신호는 서브 프로세서(25-3)의 테스트 데이터 출력 단자(TDO)와 연결된 마스터 프로세서(25-1)의 테스트 결과 입력용 입/출 력 단자(I/O6)로 입력되고, 마스터 프로세서(25-1)는 그 입/출력 단자(I/O6)를 통해 입력되는 테스트 결과를 이용하여 하드웨어 불량 여부를 진단하게 된다.Then, the hardware self-diagnosis is performed on the subprocessor 25-3 connected to the adjacent subprocessor 25-2 and the peripheral device 26-3 connected to the subprocessor 25-3 in the master processor 25-1. The operation of performing the above operation is performed in the above-described manner except for not only the test data input / output terminal (TDI / TDO) of the master processor itself but also the test data input / output terminal (TDI / TDO) of the adjacent subprocessor 25-2. It is performed in the same manner as a series of hardware self-diagnostic operations on the subprocessor 25-2 and the peripheral device 26-2 connected to the subprocessor 25-2. At this time, the test result output as the hardware self-diagnosis result of the subprocessor 25-3 and the peripheral device 26-3 connected to the subprocessor 25-3 is the test data of the subprocessor 25-3. The test result signal output to the output terminal TDO and thus output is an input / output terminal for inputting a test result of the master processor 25-1 connected to the test data output terminal TDO of the subprocessor 25-3. The master processor 25-1 inputs to the I / O6, and the master processor 25-1 diagnoses whether the hardware is defective by using the test result that is input through the input / output terminal I / O6.

나아가, 본 발명에 따른 실시예는 상술한 것으로 한정되지 않고, 본 발명과 관련하여 통상의 지식을 가진자에게 자명한 범위내에서 여러 가지의 대안, 수정 및 변경하여 실시할 수 있을 것인데, 상술한 실시예서는 마스터 프로세서 및 서브 프로세서와 그 주변 장치들에 대하여 순차적으로 하드웨어 자가 진단을 수행하는 것으로 설명하고 있으나, 필요한 경우 특정 프로세서나 주변 장치에 대해서만 하드웨어 자가 진단을 수행하도록 구현할 수 있을 것이다.Furthermore, the embodiment according to the present invention is not limited to the above-described embodiments, and various alternatives, modifications, and changes can be made within the scope apparent to those skilled in the art in connection with the present invention. Although the embodiment has been described as sequentially performing hardware self-diagnosis for the master processor and the sub-processor and its peripheral devices, it may be implemented to perform hardware self-diagnosis only for a specific processor or peripheral device if necessary.

이상과 같이, 본 발명은 내장형 시스템의 프로세서에 구현된 입/출력 단자를 자신의 JTAG 포트에 할당하여 프로세서 내부의 레지스터 및 주변 장치에 접근할 수 있게 함으로써, 내장형 시스템에서 자체적으로 하드웨어 불량 여부를 자가 진단할 수 있게 되며, 이러한 하드웨어 자가 진단 결과를 사용자에게 출력해 주거나, 또는 유/무선 통신을 통해 외부로 보고할 수 있게 된다.As described above, the present invention assigns an input / output terminal implemented in a processor of an embedded system to its JTAG port to access a register and a peripheral device inside the processor, thereby making it possible to determine whether there is a hardware failure in the embedded system. Diagnosis can be performed, and the hardware self-diagnosis result can be output to the user or reported to the outside through wired / wireless communication.

또한, 본 발명은 내장형 시스템에서 하드웨어 자가 진단 결과를 출력 및 보고할 수 있게 함으로써, 내장형 시스템의 개발 과정이나 AS(After Service) 상황에 보다 신속하게 대처할 수 있게 되며, 나아가 내장형 시스템의 서비스 사업자와의 연계를 통해 서비스 아이템의 하나로 활용하거나, 자신의 하드웨어 불량을 스스로 디버깅할 수 있는 내장형 시스템의 개발 등에 활용할 수 있게 된다.In addition, the present invention enables to output and report the hardware self-diagnosis results in the embedded system, it is possible to more quickly cope with the development process of the embedded system or AS (After Service) situation, and furthermore with the service provider of the embedded system Through linkage, it can be utilized as one of service items or development of embedded system that can debug its own hardware defects.

Claims (13)

내부에 JTAG를 포함하는 ARM(Advanced RISC Machines) 코어 또는 JTAG를 내장하는 적어도 하나의 프로세서 및 주변 장치를 구비하는 내장형 시스템에 있어서,An embedded system having an ARM (Advanced RISC Machines) core including a JTAG or at least one processor and a peripheral device including a JTAG. 하드웨어 자가 진단을 요청하는 테스트 명령을 입력받아 전달해 주는 사용자 인터페이스부와;A user interface unit for receiving and delivering a test command for requesting hardware self-diagnosis; 상기 하드웨어 자가 진단 결과를 사용자에게 출력해 주는 디스플레이부와;A display unit which outputs the hardware self-diagnosis result to a user; 상기 내장형 시스템의 구동에 필요한 소프트웨어 및 정보와, 상기 하드웨어 자가 진단 기능 수행에 필요한 소프트웨어 및 테스트 참조 정보를 저장하고 있는 메모리부와;A memory unit for storing software and information necessary for driving the embedded system and software and test reference information for performing the hardware self-diagnosis function; 상기 메모리부에 저장되어 있는 시스템 구동에 필요한 소프트웨어 및 정보를 이용하여 전반적인 구동을 제어하고, 하드웨어 자가 진단을 요청하는 테스트 명령이 입력되는 경우 상기 메모리부에 저장되어 있는 하드웨어 자가 진단용 소프트웨어 및 테스트 참조 정보를 이용하여 테스트 동작 모드 제어용 입/출력 단자를 통해 JTAG의 TAP 제어기 테스트 동작 모드를 제어하면서 테스트 신호용 입/출력 단자와 테스트 데이터 입/출력 단자 및 테스트 결과 입력용 입/출력 단자를 통해 하드웨어 자가 진단 기능을 수행하고, 그 하드웨어 자가 진단 결과를 상기 디스플레이부를 통해 출력해 주는 마스터 프로세서를 포함하는 것을 특징으로 하는 하드웨어 자가 진단이 가능한 내장형 시스템.The software and the test reference information stored in the memory unit to control the overall operation by using the software and information necessary for driving the system, the hardware self-diagnosis software and test reference information stored in the memory unit when a test command requesting a hardware self-diagnosis is inputted Hardware self-diagnosis through the input / output terminal for test signal, test data input / output terminal and input / output terminal for test result input while controlling JTAG's TAP controller test operation mode through input / output terminal for test operation mode control And a master processor that performs a function and outputs the hardware self-diagnosis result through the display unit. 제 1항에 있어서,The method of claim 1, 상기 테스트 참조 정보는, 하드웨어 자가 진단 기능 수행시 이용되는 각 프로세서의 JTAG 식별 코드, 각 프로세서 내부 모듈들을 자가 진단 상태로 설정하기 위한 특정 상태 정보, 주변 장치를 자가 진단 상태로 설정하기 위한 특정 상태 정보인 것을 특징으로 하는 하드웨어 자가 진단이 가능한 내장형 시스템.The test reference information includes a JTAG identification code of each processor used when performing a hardware self-diagnosis function, specific state information for setting each processor internal module to a self-diagnostic state, and specific state information for setting a peripheral device to a self-diagnostic state. Embedded system capable of hardware self-diagnosis, characterized in that. 제 1항에 있어서,The method of claim 1, 상기 하드웨어 자가 진단을 수행하는데 있어, 하드웨어 자가 진단을 요청하는 테스트 명령을 수신하여 마스터 프로세서로 전달하거나, 그 하드웨어 자가 진단 결과를 유/무선 통신을 통해 외부로 보고하는 통신 처리부를 더 포함하는 것을 특징으로 하는 하드웨어 자가 진단이 가능한 내장형 시스템.The hardware self-diagnosis further includes a communication processor that receives a test command requesting hardware self-diagnosis and delivers the test command to the master processor, or reports the hardware self-diagnosis result to the outside through wired / wireless communication. Embedded system with hardware self-test. 제 1항에 있어서,The method of claim 1, 상기 마스터 프로세서는, JTAG의 TAP 제어기를 내부 테스트 모드로 설정한 상태에서 프로세서 내부의 JTAG 식별 코드를 판독하여 상기 JTAG 불량 여부를 진단하고, 상기 JTAG가 정상인 경우 프로세서 내부 모듈들을 특정 상태로 설정한 후에 그 프로세서 내부 모듈들의 레지스터 값을 판독하여 해당되는 내부 모듈들에 대한 불량 여부를 진단하며, 프로세서 내부 모듈들이 정상인 경우 자신의 입/출력 단자에 연결된 주변 장치를 특정 상태로 설정한 후에 상기 JTAG의 TAP 제어기를 외부 테스트 모드로 설정하여 테스트 데이터 입력 단자와 테스트 데이터 출력 단자를 바운드리 스캔 레지스터에 연결시킨 상태에서 상기 주변 장치의 핀 상태 정보를 판독하여 해당되는 주변 장치에 대한 불량 여부를 진단하는 일련의 하드웨어 자가 진단 기능을 수행하는 것을 특징으로 하는 하드웨어 자가 진단이 가능한 내장형 시스템.The master processor reads the JTAG identification code inside the processor in a state where the TAP controller of the JTAG is set to the internal test mode, diagnoses whether the JTAG is defective, and sets the internal modules of the processor to a specific state when the JTAG is normal. The register value of the internal modules of the processor is read to diagnose whether the internal modules are defective. If the internal modules of the processor are normal, the peripheral device connected to the input / output terminal of the processor is set to a specific state and then the TAP of the JTAG is executed. Set the controller to external test mode and read the pin status information of the peripheral device while connecting the test data input terminal and the test data output terminal to the boundary scan register to diagnose whether the peripheral device is defective or not. Perform hardware self-diagnosis Hardware Self-capable embedded system diagnostics that. 제 1항에 있어서,The method of claim 1, 상기 마스터 프로세서는, 내장형 시스템에 적어도 하나의 서브 프로세서 및 주변 장치가 존재하는 경우 테스트 동작 모드 제어용 입/출력 단자를 통해 각 프로세서의 JTAG의 TAP 제어기 테스트 동작 모드를 제어하면서 테스트 신호용 입/출력 단자와 테스트 데이터 입/출력 단자 및 테스트 결과 입력용 입/출력 단자를 통해 상기 내장형 시스템에 존재하는 각 프로세서 및 주변 장치들에 대한 하드웨어 불량 여부를 진단하는 일련의 하드웨어 자가 진단 기능을 수행하고, 그 하드웨어 자가 진단 결과를 상기 디스플레이부를 통해 출력해 주는 것을 특징으로 하는 하드웨어 자가 진단이 가능한 내장형 시스템.When the at least one subprocessor and peripheral devices exist in the embedded system, the master processor controls the TAP controller test operation mode of the JTAG of each processor through the input / output terminal for controlling the test operation mode and the input / output terminal for the test signal. The test data input / output terminal and input / output terminal for inputting the test result perform a series of hardware self-diagnosis functions for diagnosing hardware defects for each processor and peripheral devices present in the embedded system. Hardware self-diagnostics, characterized in that for outputting the diagnostic results through the display unit. 제 5항에 있어서,The method of claim 5, 상기 서브 프로세서는, 마스터 프로세서에 의해 테스트 동작 모드가 제어되는 JTAG의 TAP 제어기를 포함하며, 자신의 테스트 모드 선택 및 테스트 클럭 단자와 상기 마스터 프로세서의 테스트 동작 모드 제어용 입/출력 단자가 연결되어 TAP 제어기의 테스트 동작 모드가 제어되고, 상기 프로세서 연결 순서에 따라 이전 프로세서의 테스트 데이터 출력 단자와 자신의 테스트 데이터 입력 단자가 연결되어 소정의 스브 테스트 경로를 제공하며, 자신의 테스트 데이터 출력 단자가 마스터 프로세서의 입/출력 단자와 연결되어 일련의 테스트 결과 신호를 마스터 프로세서로 전달해 주는 것을 특징으로 하는 하드웨어 자가 진단이 가능한 내장형 시스템.The subprocessor includes a TAP controller of a JTAG in which a test operation mode is controlled by a master processor. The subprocessor includes a TAP controller connected to a test mode selection and a test clock terminal of the master processor and an input / output terminal for controlling a test operation mode of the master processor. The test operation mode of the control unit is controlled, and the test data output terminal of the previous processor and its test data input terminal are connected according to the processor connection order to provide a predetermined sub test path, and the test data output terminal of the master processor An embedded system capable of hardware self-diagnosis, which is connected to the input / output terminals and passes a series of test result signals to the master processor. 제 5항에 있어서,The method of claim 5, 상기 마스터 프로세서는, 자가 진단 대상이 되는 서브 프로세서를 제외한 나머지 프로세서(마스터 프로세서 포함)의 JTAG의 TAP 제어기를 우회 모드로 설정하여 서브 테스트 경로가 되는 테스트 데이터 입력 단자와 테스트 데이터 출력 단자를 직접 연결시킨 상태에서 자신의 테스트 신호용 입/출력 단자와, 상기에서 직접 연결시킨 테스트 데이터 입/출력 단자 및 자가 진단 대상이 되는 서브 프로세서의 테스트 데이터 입력 단자를 통해 해당되는 서브 프로세서 및 그 서브 프로세서에 연결된 주변 장치에 대한 하드웨어 자가 진단 기능을 수행하는 것을 특징으로 하는 하드웨어 자가 진단이 가능한 내장형 시스템.The master processor sets the TAP controller of the JTAG of the other processors (including the master processor) except the sub-processor to be self-diagnostic to the bypass mode to directly connect the test data input terminal and the test data output terminal serving as the sub test path. A subprocessor and a peripheral device connected to the subprocessor through the input / output terminal for its own test signal, the test data input / output terminal directly connected to the above, and the test data input terminal of the subprocessor to be self-diagnosed. An embedded system capable of hardware self-diagnosis, characterized in that to perform a hardware self-diagnosis function. 내부에 JTAG를 포함하는 ARM(Advanced RISC Machines) 코어 또는 JTAG를 내장하는 적어도 하나의 프로세서 및 주변 장치를 구비하는 내장형 시스템에서의 하드웨어 진단 방법에 있어서,A hardware diagnostic method in an embedded system having an advanced RISC Machines (ARM) core including a JTAG or at least one processor and a peripheral device having a JTAG therein, 하드웨어 자가 진단 요청시 마스터 프로세서에서 하드웨어 자가 진단용 소프트웨어를 실행시킴으로써 JTAG의 TAP 제어기를 내부 테스트 모드로 설정한 상태에서 JTAG 식별 코드를 판독하여 JTAG 불량 여부를 진단하는 과정과;Diagnosing JTAG failure by reading a JTAG identification code in a state in which the TAP controller of the JTAG is set to an internal test mode by executing hardware self-diagnosis software in the master processor when a hardware self-diagnosis request is made; 상기 JTAG가 정상인 경우 프로세서 내부 모듈들을 자가 진단을 위한 특정 상태로 설정한 후에 그 프로세서 내부 모듈들의 레지스터 값을 판독하여 프로세서 내부 모듈 불량 여부를 진단하는 과정과;If the JTAG is normal, setting a processor internal module to a specific state for self-diagnosis, and then reading a register value of the processor internal modules to diagnose whether the processor internal module is defective; 상기 마스터 프로세서의 내부 모듈이 정상인 경우 입/출력 단자에 연결된 주변 장치를 자가 진단을 위한 특정 상태로 설정하고, 상기 JTAG의 TAP 제어기를 외부 테스트 모드로 설정한 후에 상기 주변 장치의 핀 상태 정보를 판독하여 해당되는 주변 장치의 불량 여부를 진단하는 과정과;When the internal module of the master processor is normal, the peripheral device connected to the input / output terminal is set to a specific state for self-diagnosis, and the pin state information of the peripheral device is read after setting the TAP controller of the JTAG to an external test mode. Diagnosing whether a corresponding peripheral device is defective; 상기 과정에서의 하드웨어 진단 결과를 디스플레이부를 통해 사용자에게 출력하거나, 또는 유/무선 통신을 통해 외부로 보고하는 과정을 포함하는 것을 특징으로 하는 내장형 시스템에서의 하드웨어 자가 진단 방법.And outputting the hardware diagnosis result in the above process to the user through a display unit, or reporting the result to the outside through wired / wireless communication. 제 8항에 있어서,The method of claim 8, 상기 JTAG 불량 여부를 진단하는 과정은, 마스터 프로세서에서 테스트 동작 모드 제어용 입/출력 단자를 통해 테스트 모드 선택 단자 및 테스트 클럭 단자를 제어하여 JTAG의 TAP 제어기를 내부 테스트 모드로 설정하는 단계와;The diagnosing of the JTAG failure may include setting a TAP controller of the JTAG to an internal test mode by controlling a test mode selection terminal and a test clock terminal through a test operation mode control input / output terminal in a master processor; 상기 마스터 프로세서의 테스트 신호용 입/출력 단자 및 테스트 데이터 입력 단자를 통해 프로세서 내부의 JTAG 식별 코드를 판독한 후에 이를 테스트 결과로서 테스트 데이터 출력 단자로 출력해 주는 단계와;Reading a JTAG identification code inside the processor through an input / output terminal for a test signal and a test data input terminal of the master processor, and outputting the JTAG identification code as a test result to a test data output terminal; 상기 마스터 프로세서의 테스트 결과 입력용 입/출력 단자를 통해 상기에서 테스트 결과로 판독한 JTAG 식별 코드를 입력받은 후에 이를 메모리부에 저장되어 있는 JTAG 식별 코드와 동일한지 확인하는 단계와;Receiving a JTAG identification code read as the test result through an input / output terminal for inputting a test result of the master processor, and then checking whether the same as the JTAG identification code stored in the memory unit; 상기에서 판독한 JTAG 식별 코드와 메모리부의 JTAG 식별 코드가 동일한 경우 JTAG 정상이라는 하드웨어 진단 결과를, 동일하지 않은 경우 JTAG 불량이라는 하드웨어 진단 결과를 출력해 주는 단계를 포함하는 것을 특징으로 하는 내장형 시스템에서의 하드웨어 자가 진단 방법.And outputting a hardware diagnosis result of JTAG normal when the JTAG identification code and the JTAG identification code of the memory unit are the same, and outputting a hardware diagnosis result of JTAG failure if not identical. Hardware self-diagnosis method. 제 8항에 있어서,The method of claim 8, 상기 프로세서 내부 모듈 불량 여부를 진단하는 과정은, 마스터 프로세서의 내부 모듈들에 대한 불량 여부를 진단하기 위해 그 내부 모듈들을 자가 진단을 위한 특정 상태로 설정하는 단계와;Diagnosing whether the processor internal module is defective may include: setting the internal modules to a specific state for self-diagnosis to diagnose whether the internal module of the master processor is defective; 상기 마스터 프로세서의 테스트 신호용 입/출력 단자 및 테스트 데이터 입력 단자를 통해 프로세서 내부 모듈들의 레지스터 값을 판독한 후에 이를 테스트 결과로서 테스트 데이터 출력 단자로 출력해 주는 단계와;Reading register values of the internal modules of the processor through an input / output terminal and a test data input terminal for a test signal of the master processor and outputting the register values to the test data output terminals as a test result; 상기 마스터 프로세서의 테스트 결과 입력용 입/출력 단자를 통해 상기에서 테스트 결과로 판독한 내부 모듈들의 레지스터 값을 입력받은 후에 이를 메모리부에 저장되어 있는 내부 모듈들에 대한 자가 진단 상태 정보가 되는 레지스터 값과 동일한지 확인하는 단계와;Register value of self-diagnosis status information about internal modules stored in the memory unit after receiving the register value of the internal modules read as the test result through the input / output terminal for inputting the test result of the master processor Checking whether it is equal to; 상기에서 판독한 프로세서 내부 모듈들의 레지스터 값과 메모리부의 내부 모듈들에 대한 레지스터 값이 동일한 경우 내부 모듈 정상이라는 하드웨어 진단 결과를, 동일하지 않은 경우 내부 모듈 불량이라는 하드웨어 진단 결과를 출력해 주는 단계를 포함하는 것을 특징으로 하는 내장형 시스템에서의 하드웨어 자가 진단 방법.And outputting a hardware diagnosis result of an internal module failure if the register values of the internal modules of the processor and the register values of the internal modules of the memory unit are the same, and a hardware diagnosis result of an internal module failure if not identical. Hardware self-diagnosis method in an embedded system, characterized in that. 제 8항에 있어서,The method of claim 8, 상기 주변 장치의 불량 여부를 진단하는 과정은, 마스터 프로세서에 연결된 주변 장치에 대한 불량 여부를 진단하기 위해 해당되는 주변 장치를 자가 진단을 위한 특정 상태로 설정하는 단계와;Diagnosing whether the peripheral device is defective may include setting a corresponding peripheral device to a specific state for self-diagnosis to diagnose whether the peripheral device is defective or not; 상기 마스터 프로세서의 테스트 동작 모드 제어용 입/출력 단자를 통해 테스트 모드 선택 단자 및 테스트 클럭 단자를 제어하여 JTAG의 TAP 제어기를 외부 테스트 모드로 설정함으로써 테스트 데이터 입력 단자와 테스트 데이터 출력 단자를 바운드리 스캔 레지스터에 연결시키는 단계와;By controlling the test mode selection terminal and the test clock terminal through the test operation mode control input / output terminal of the master processor, the TTAG controller of the JTAG is set to the external test mode so that the test data input terminal and the test data output terminal are bounded scan registers. Connecting to; 상기 마스터 프로세서의 테스트 신호용 입/출력 단자 및 테스트 데이터 입력 단자를 통해 상기 주변 장치의 핀 상태 정보를 판독한 후에 이를 테스트 결과로서 테스트 데이터 출력 단자로 출력해 주는 단계와;Reading pin state information of the peripheral device through a test signal input / output terminal and a test data input terminal of the master processor and outputting the pin state information to the test data output terminal as a test result; 상기 마스터 프로세서의 테스트 결과 입력용 입/출력 단자를 통해 상기에서 테스트 결과로 판독한 주변 장치의 핀 상태 정보를 입력받은 후에 이를 메모리부에 저장되어 있는 주변 장치의 자가 진단 상태 정보와 동일한지 확인하는 단계와;After receiving the pin state information of the peripheral device read as the test result through the input / output terminal for inputting the test result of the master processor, and confirming the same as the self-diagnostic state information of the peripheral device stored in the memory unit. Steps; 상기에서 판독한 주변 장치의 핀 상태 정보가 메모리부의 주변 장치 자가 진단 상태 정보와 동일한 경우 주변 장치 정상이라는 하드웨어 진단 결과를, 동일하지 않은 경우 주변 장치 불량이라는 하드웨어 진단 결과를 출력해 주는 단계를 포함하는 것을 특징으로 하는 내장형 시스템에서의 하드웨어 자가 진단 방법.And outputting a hardware diagnostic result of a normal peripheral device if the pin state information of the peripheral device read above is the same as the peripheral device self-diagnostic status information of the memory unit, and outputting a hardware diagnostic result of a peripheral device failure if not identical. Hardware self-test method in an embedded system, characterized in that. 제 8항에 있어서,The method of claim 8, 상기 내장형 시스템에 존재하는 다른 서브 프로세서 및 주변 장치에 대하여 하드웨어 자가 진단 요청이 있는 경우 마스터 프로세서와, 그 마스터 프로세서와 자가 진단 대상이 되는 서브 프로세서 사이에 위치한 각 프로세서의 JTAG의 TAP 제어기를 우회 모드로 설정하여 서브 테스트 경로를 구현한 상태에서 상기 서브 프로세서 및 주변 장치에 대하여 하드웨어 자가 진단을 수행하는 과정을 더 포함하는 것을 특징으로 하는 내장형 시스템에서의 하드웨어 자가 진단 방법.When there is a hardware self-diagnosis request for the other subprocessors and peripheral devices present in the embedded system, the TAP controller of the JTAG of each processor located between the master processor and the sub-processor targeted for self-diagnosis is bypassed. And performing hardware self-diagnosis on the sub-processor and the peripheral device in a state in which the sub-test path is set to be implemented. 제 12항에 있어서,The method of claim 12, 상기 서브 프로세서 및 주변 장치에 대하여 하드웨어 자가 진단을 수행하는 과정은, 마스터 프로세서에서 테스트 동작 모드 제어용 입/출력 단자를 통해 마스터 프로세서 자신과, 서브 테스트 경로 상에 위치한 각 서브 프로세서의 테스트 모드 선택 단자 및 테스트 클럭 단자를 제어하여 JTAG의 TAP 제어기를 우회 모드로 설정하여 각 프로세서의 테스트 데이터 입력 단자와 테스트 데이터 출력 단자를 직접 연결시켜 서브 테스트 경로를 구현하는 단계와;The hardware self-diagnosis of the subprocessor and the peripheral device may include: a master processor itself, a test mode selection terminal of each subprocessor located on a subtest path, through an input / output terminal for controlling a test operation mode in a master processor; Controlling the test clock terminal to set the TAP controller of the JTAG to the bypass mode to directly connect the test data input terminal and the test data output terminal of each processor to implement a sub test path; 상기 마스터 프로세서에서 테스트 동작 모드 제어용 입/출력 단자를 통해 자가 진단 대상이 되는 서브 프로세서의 테스트 모드 선택 단자 및 테스트 클럭 단자를 제어하여 그 서브 프로세서의 JTAG의 TAP 제어기를 내부 테스트 모드로 설정한 상태에서 서브 프로세서의 JTAG 및 내부 모듈에 대한 불량 여부를 진단하는 단계와;In the state in which the TAP controller of the JTAG of the subprocessor is set to the internal test mode by controlling the test mode selection terminal and the test clock terminal of the subprocessor to be self-diagnosed through the input / output terminal for controlling the test operation mode in the master processor. Diagnosing whether the JTAG of the subprocessor and the internal module are defective; 상기 마스터 프로세서에서 서브 프로세서에 연결된 주변 장치를 자가 진단을 위한 특정 상태로 설정하고, 상기 서브 프로세서의 JTAG의 TAP 제어기를 외부 테스트 모드로 설정한 후에 상기 서브 프로세서에 연결된 주변 장치의 핀 상태 정보를 판독하여 해당되는 주변 장치의 불량 여부를 진단하는 단계와;The master processor sets the peripheral device connected to the subprocessor to a specific state for self-diagnosis, sets the JTAG TAP controller of the subprocessor to the external test mode, and reads pin state information of the peripheral device connected to the subprocessor. Diagnosing whether a corresponding peripheral device is defective; 상기 단계에서의 서브 프로세서 및 주변 장치에 대한 하드웨어 진단 결과를 상기 마스터 프로세서에서 디스플레이부를 통해 사용자에게 출력하거나, 또는 유/ 무선 통신을 통해 외부로 보고하는 단계를 포함하는 것을 특징으로 하는 내장형 시스템에서의 하드웨어 자가 진단 방법.In the embedded system, characterized in that for outputting the hardware diagnostic results for the sub-processor and the peripheral device in the step to the user via the display unit in the master processor, or to the outside via wired / wireless communication Hardware self-diagnosis method.
KR1020050070699A 2005-08-02 2005-08-02 Embedded System Capable Of Hardware Self Test And Self Test Method In That Embedded System KR20070015984A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050070699A KR20070015984A (en) 2005-08-02 2005-08-02 Embedded System Capable Of Hardware Self Test And Self Test Method In That Embedded System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050070699A KR20070015984A (en) 2005-08-02 2005-08-02 Embedded System Capable Of Hardware Self Test And Self Test Method In That Embedded System

Publications (1)

Publication Number Publication Date
KR20070015984A true KR20070015984A (en) 2007-02-07

Family

ID=43650288

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050070699A KR20070015984A (en) 2005-08-02 2005-08-02 Embedded System Capable Of Hardware Self Test And Self Test Method In That Embedded System

Country Status (1)

Country Link
KR (1) KR20070015984A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100174958A1 (en) * 2009-01-06 2010-07-08 Nec Electronics Corporation Test circuit including tap controller selectively outputting test signal based on mode and shift signals
KR101133030B1 (en) * 2010-12-08 2012-04-04 인텔릭스(주) System of built in self test for discrete
KR101594439B1 (en) 2014-10-14 2016-02-17 한국원자력연구원 Apparatus for testing digital instrumentation and control system in nuclear power plant and method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100174958A1 (en) * 2009-01-06 2010-07-08 Nec Electronics Corporation Test circuit including tap controller selectively outputting test signal based on mode and shift signals
US8468402B2 (en) * 2009-01-06 2013-06-18 Renesas Electronics Corporation Test circuit including tap controller selectively outputting test signal based on mode and shift signals
KR101133030B1 (en) * 2010-12-08 2012-04-04 인텔릭스(주) System of built in self test for discrete
KR101594439B1 (en) 2014-10-14 2016-02-17 한국원자력연구원 Apparatus for testing digital instrumentation and control system in nuclear power plant and method thereof

Similar Documents

Publication Publication Date Title
CN100416288C (en) Method and apparatus for optimized parallel testing and access of electronic circuits
JP4406648B2 (en) Reconfigurable fabric for SoC
US6842865B2 (en) Method and system for testing microprocessor based boards in a manufacturing environment
US7340658B2 (en) Technique for combining scan test and memory built-in self test
JP5095273B2 (en) Control device
JP2006242638A (en) Semiconductor test device
US7047464B2 (en) Method and system for use of a field programmable function within an application specific integrated circuit (ASIC) to access internal signals for external observation and control
EP1074915B1 (en) One-chip microcomputer and control method for said one-chip microcomputer
US9810739B2 (en) Electronic system, system diagnostic circuit and operation method thereof
CN112997089A (en) Extended JTAG controller and method for debugging function by using extended JTAG controller
KR20070015984A (en) Embedded System Capable Of Hardware Self Test And Self Test Method In That Embedded System
JP2007147363A (en) Electronic device having function of checking component mounted state and method for checking component mounted state
CN112585486A (en) Extended JTAG controller and method for resetting function by using extended JTAG controller
US7970569B2 (en) Apparatus and method for connection test on printed circuit board
Andrews Roadmap for extending IEEE 1149.1 for hierarchical control of locally-stored, standardized command set, test programs
US6256761B1 (en) Integrated electronic module with hardware error infeed for checking purposes
WO2010125793A1 (en) Testing apparatus and testing method
CN207946806U (en) A kind of debugger and debugging apparatus
EP2036499B1 (en) Medical device and test method for medical device
JP3698015B2 (en) Self-diagnosis method for motor control system
KR100671555B1 (en) Display apparatus
JPH077345B2 (en) Self-diagnosis circuit of logic circuit block
US7117274B2 (en) Graphical user interface and approach therefor
KR20080039702A (en) System-on-a chip and test method thereof
JP2004303271A (en) One-chip microcomputer, its control method, and ic card using the same

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application