KR20000072844A - System and method for debugging an application for electric/electronic products - Google Patents
System and method for debugging an application for electric/electronic products Download PDFInfo
- Publication number
- KR20000072844A KR20000072844A KR1019990015764A KR19990015764A KR20000072844A KR 20000072844 A KR20000072844 A KR 20000072844A KR 1019990015764 A KR1019990015764 A KR 1019990015764A KR 19990015764 A KR19990015764 A KR 19990015764A KR 20000072844 A KR20000072844 A KR 20000072844A
- Authority
- KR
- South Korea
- Prior art keywords
- debugging
- electronic product
- program
- application program
- host system
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
- G06F11/263—Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers
- G06F11/2635—Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers using a storage for the test inputs, e.g. test ROM, script files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
- G06F11/366—Software debugging using diagnostics
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
본 발명은 전자제품 응용 프로그램의 디버깅 시스템 및 디버깅 방법에 관한 것이다.The present invention relates to a debugging system and a debugging method of an electronic product application.
보다 상세하게는 테스트용 전자제품에 디버깅 코드를 갖는 롬을 장착시켜 테스트용 전자제품에 구비된 응용 프로그램을 디버깅하기 위한 전자제품 응용 프로그램의 디버깅 시스템 및 디버깅 방법에 관한 것이다.More specifically, the present invention relates to a debugging system and a debugging method of an electronic application program for debugging an application program included in the test electronic product by installing a ROM having debugging code in the test electronic product.
산업의 고도화와 더불어 전자제품에 구비되는 마이크로 프로세서의 기능과 속도가 고용량, 고속화되면서 복잡한 알고리즘을 실행하기 위한 다중처리나 마이크로 프로세서의 성능을 최대한 이용하고자 하는 요구가 증대되고 있다.BACKGROUND With the advancement of the industry, as the functions and speed of microprocessors provided in electronic products have increased in capacity and speed, there is an increasing demand for maximizing the performance of multiprocessors or microprocessors for executing complex algorithms.
도 1은 종래 기술에 따라 전자제품 응용 프로그램의 디버깅 시스템의 블록도로서, 도시된 바와 같이 그 구성은 다음과 같다.1 is a block diagram of a debugging system for an electronic product application program according to the prior art, and the configuration thereof is as follows.
에뮬레이터(10)는 호스트 시스템(20)에서 작성된 응용 프로그램을 후술하는 테스트용 전자제품(30)으로 다운로드하고, 테스트용 전자제품(30)의 전원을 온시키거나, 리셋 시킬 경우 응용 프로그램을 실행시키기 위한 신호를 테스트용 전자제품(30)으로 출력하고, 이 신호에 응답하여 실행되는 결과를 호스트 시스템(20)으로 출력한다.The emulator 10 downloads an application program created in the host system 20 to the test electronic product 30 to be described later, and executes the application program when the power of the test electronic product 30 is turned on or reset. Outputs a signal for the test electronics 30, and outputs the result of the response to the host system 20 in response to the signal.
테스트용 전자제품(30)은 호스트 시스템(20)에서 작성된 응용 프로그램 코드를 갖는 디램(31)과, 상기 디램(31)에 저장된 응용 프로그램 코드를 실행시키기 위한 시스템 콜신호를 출력하고, 시스템 콜신호에 따라 실행되는 응용 프로그램 코드의 실행결과를 상기 에뮬레이터(10)를 통해 출력하는 제어부(32)로 구성된다.The test electronic device 30 outputs a DRAM 31 having an application program code written in the host system 20, a system call signal for executing the application program code stored in the DRAM 31, and a system call signal. The control unit 32 for outputting the execution result of the application program code to be executed according to the emulator 10.
한편, 상술한 구성을 갖는 종래 기술에서 테스트용 전자제품에는 다음과 같은 소프트웨어가 구비되어야 한다.On the other hand, in the prior art having the above-described configuration, the test electronics should be provided with the following software.
테스트용 전자제품(30)의 파워 온 부트(Power-on Boot)를 위한 스타트 업 코드와 상술한 시리얼 포트를 통하여 호스트 시스템(20)과의 프로그램 모니터를 위한 데이터 전송용 라이브러리 및 시스템 응용 프로그램이 제어부(32)의 내부 메모리나, 별도의 메모리에 구비되어야 한다.Start-up code for the power-on boot of the test electronics 30 and a library for transmitting data and a system application program for program monitoring with the host system 20 through the serial port described above are controlled. It should be provided in the internal memory of 32 or in a separate memory.
상술한 하드웨어와 소프트웨어를 위한 테스트 시스템에서 테스트용 전자제품(30)에 구비된 응용 프로그램을 실행시키기 위해 사용자가 테스트용 전자제품(30)의 전원을 인가시키거나, 또는 리셋 시키면, 제어부(32)는 이를 인지하고 내부 메모리 또는 별도의 메모리에 저장된 스타트 업 코드를 읽어들여 실행한다.When the user applies or resets the power of the test electronics 30 to execute the application program included in the test electronics 30 in the test system for the hardware and software described above, the controller 32 Recognizes this and reads and executes the startup code stored in internal memory or a separate memory.
상술한 스타트 업 코드는 테스트용 전자제품(30)에 제어부(32)를 부합시키기 위해 전기적으로 초기화하는 과정을 수행한다. 그러면 제어부(32)는 에뮬레이터(10)를 통해 테스트용 전자제품(30)에 필요한 응용 프로그램 코드를 전송받아 디램(31)에 저장시킨다. 이때, 응용 프로그램 코드는 호스트 시스템(20)에서 생성된다.The start-up code described above performs a process of electrically initializing the control unit 32 to match the test electronics 30. Then, the control unit 32 receives the application program code necessary for the test electronics 30 through the emulator 10 and stores it in the DRAM 31. In this case, the application program code is generated in the host system 20.
만약, 테스트용 전자제품(30)에 저장되어 있는 응용 프로그램을 변경하거나, 또는 수정하게 되는 경우, 먼저 에뮬레이터(10)는 호스트 시스템(20)으로부터 변경 또는 수정하고자 하는 응용 프로그램 코드를 전송받는다.If the application program stored in the test electronics 30 is changed or modified, first, the emulator 10 receives the application program code to be changed or modified from the host system 20.
그리고, 에뮬레이터(10)는 이렇게 전송받은 응용 프로그램 코드를 테스트용 전자제품(30)의 제어부(32)를 통해 디램(31)에 저장시킨다.In addition, the emulator 10 stores the application program code thus received in the DRAM 31 through the control unit 32 of the test electronic device 30.
상술한 바와 같이, 디램(31)에 응용 프로그램 코드를 저장시킨 후 테스트용 전자제품(30)의 전원을 오프 시켰다가 다시 온 시키거나, 또는 리셋 시키게 되면 제어부(32)는 디램(31)에 저장된 응용 프로그램 코드를 실행시키면서, 그 결과 데이터를 RS 232C 시리얼 포트를 통해 호스트 시스템(20)으로 전송한다.As described above, when the application program code is stored in the DRAM 31 and then the power of the test electronics 30 is turned off and on again or reset, the control unit 32 stores the DRAM 31. While executing the application code, the resulting data is transmitted to the host system 20 via the RS 232C serial port.
이때, 응용 프로그램 코드 실행 결과 데이터는 데이터 전송용 라이브러리에 의해 호스트 시스템(20)으로 전송되고, 사용자는 호스트 시스템(20)을 통해 응용 프로그램의 실행 상태를 디버깅 할 수 있다.In this case, the application program execution result data is transmitted to the host system 20 by the library for data transmission, and the user can debug the execution state of the application program through the host system 20.
그러나, 상술한 종래 기술에서는 첫째, 프로그램 모니터링을 위한 데이터 전송용 라이브러리가 단순하며, 프로그램 실행의 일부로 동작하여 원래의 응용 프로그램을 중단하고 라이브러리를 실행함으로써 프로그램상의 변수 확인 및 프로그램 상의 변수 확인 및 프로그램의 일시 중지와 같은 목적밖에는 수행할 수 없다는 문제점이 있었다.However, in the above-described prior art, first, the library for data transmission for program monitoring is simple, and acts as part of program execution to stop the original application program and execute the library to check the variables in the program and the variables in the program and the program. There was a problem that can only be performed for the purpose of pausing.
둘째, 응용 프로그램에 있어서, 프로그램이 순차적으로 실행되는 단순한 형태를 취하고 있으므로 복잡한 응용프로그램 및 멀티태스킹을 구성하기 위해서는 프로그래밍 자체가 상당히 복잡해지고, 전체적인 흐름제어를 하기가 상당히 어려워진다는 문제점이 있었다.Second, in the application program, since the program is executed in a sequential manner, there is a problem that the programming itself becomes very complicated and the overall flow control becomes very difficult to compose a complex application and multitasking.
따라서, 본 발명의 목적은 전술한 문제점을 해결할 수 있도록 멀티태스킹이 가능한 실시간 운영체제를 이용하여 응용 프로그램을 적용시킬 수 있는 전자제품에 적용시킬 다수의 응용 프로그램을 작성하고, 전자제품에 적용시켜 실행시키면서 디버깅 및 그 실행상태를 디버깅하기 위한 전자제품 응용 프로그램의 디버깅 시스템 및 디버깅 방법을 제공함에 있다.Accordingly, an object of the present invention is to create a plurality of applications to be applied to the electronic products that can be applied to the application using the real-time operating system capable of multitasking to solve the above problems, while applying to the electronic products to run The present invention provides a debugging system and a debugging method of an electronic product application for debugging the debugging and its execution state.
도 1은 종래 기술에 따라 전자제품 응용 프로그램의 디버깅 시스템의 블록도,1 is a block diagram of a debugging system for an electronics application in accordance with the prior art;
도 2는 본 발명에 따라 전자제품 응용 프로그램의 디버깅 시스템의 블록도,2 is a block diagram of a debugging system for an electronics application in accordance with the present invention;
도 3은 본 발명에 적용된 실시간 운영체제를 설명하기 위한 도면,3 is a view for explaining a real-time operating system applied to the present invention,
도 4는 본 발명에 따라 전자제품 응용 프로그램의 디버깅 방법을 설명하기 위한 동작흐름도,4 is an operation flowchart illustrating a debugging method of an electronic product application according to the present invention;
도 5는 본 발명의 일 실시 예로 설명하고자 하는 디지털 스틸 카메라에 구비된 세 가지 영역을 설명하기 위한 도면이다.5 is a view for explaining three areas provided in the digital still camera to be described as an embodiment of the present invention.
*도면의 주요부분에 대한 부호설명** Description of Signs of Main Parts of Drawings *
100 : 테스트용 전자제품100: Test Electronics
110 : 저장수단110: storage means
120 : 제어부120: control unit
130 : 디바이스 구동부130: device driver
140 : 롬140: ROM
이와 같은 목적을 달성하기 위한 본 발명에 따른 전자제품의 응용 프로그램 테스트 시스템에 있어서, 본 발명의 장치는 실시간 운영체제 및 상기 운영체제와 디바이스 구동부를 결합시켜 작성된 디버깅 코드를 갖는 롬을 구비하고, 상술한 디버깅 코드를 이용하여 다운로드 된 응용 프로그램을 실시간으로 디버깅하고, 디버깅하는 테스트용 전자제품과, 테스트용 전자제품의 응용 프로그램을 작성하여 다운로드하고, 상기 테스트용 전자제품의 디버깅 코드를 갖는 롬과 통신을 수행하면서 테스트용 전자제품을 디버깅하는 호스트 시스템으로 구성됨을 특징으로 한다.In the application test system for an electronic product according to the present invention for achieving the above object, the device of the present invention includes a real-time operating system and a ROM having debugging code created by combining the operating system and the device driver, the above-described debugging Use the code to debug the downloaded application in real time, create and download the test electronics for debugging and the application of the test electronics, and communicate with the ROM having the debugging code of the test electronics. It consists of a host system that debugs test electronics.
또한, 본 발명의 방법은 (1) 테스트용 전자제품의 실시간 운영체제와 디바이스 구동부에 디버깅 코드를 갖는 롬을 연결시키는 과정과, (2) 호스트 시스템에 디버깅 코드를 갖는 롬을 연결시키는 과정과, (3) 과정을 수행한 후 전원을 온 시켜 초기화한 후 그에 따라 발생된 초기화 데이터 및 디버깅 코드를 제어부의 내부 메모리에 저장하는 과정과, (4) 호스트 시스템으로부터 응용 프로그램을 다운로드 받는 과정과, (5) 다운로드 된 응용 프로그램을 실행시키는 경우 메모리에 저장된 디버깅 코드를 이용하여 디버깅 동작을 수행하고, 그 수행 결과 발생된 데이터를 호스트 시스템으로 전송하는 과정으로 이루어짐을 특징으로 한다.In addition, the method of the present invention (1) connecting the ROM having the debugging code to the real-time operating system and the device driving unit of the test electronics, (2) connecting the ROM having the debugging code to the host system, ( (3) storing the initialization data and debugging code generated according to the initialization after turning on the power after initializing the program in the internal memory of the controller, (4) downloading the application program from the host system, and (5 ) When the downloaded application is executed, debugging is performed by using debugging code stored in memory, and the data generated as a result of the execution is transmitted to the host system.
이하, 첨부한 도면들을 참조하여 본 발명의 바람직한 실시 예를 상세히 기술하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 2는 본 발명에 따라 전자제품 응용 프로그램의 디버깅 시스템의 블록도이다.2 is a block diagram of a debugging system for an electronics application program in accordance with the present invention.
도시된 바와 같이, 실시간 운영체제 및 상기 운영체제와 디바이스 구동부를 결합시켜 작성된 디버깅 코드를 갖는 롬을 구비하고, 상술한 디버깅 코드를 이용하여 다운로드 된 응용 프로그램을 실시간으로 디버깅하고 디버깅하는 테스트용 전자제품(100)과, 테스트용 전자제품(100)의 응용 프로그램을 작성하여 다운로드하고, 상술한 테스트용 전자제품(100)과 통신을 수행하면서 테스트용 전자제품(100)의 디버깅 결과를 출력하는 호스트 시스템(200)으로 구성된다.As shown, a test electronic device having a real-time operating system and a ROM having debugging code created by combining the operating system and the device driver, and debugging and debugging the downloaded application program in real time using the above-described debugging code 100 And a host system 200 which creates and downloads an application program of the test electronic product 100 and outputs a debugging result of the test electronic product 100 while communicating with the test electronic product 100 described above. It is composed of
상술한 테스트용 전자제품(100)은 상술한 호스트 시스템(200)으로부터 다운로드된 제어 프로그램을 갖는 저장수단(110)과, 상술한 저장수단(110)의 디바이스 제어용 프로그램과 실제 테스트용 전자제품(100)의 기능을 수행하기 위한 제어 프로그램을 실시간으로 제어하기 위한 운영체제를 갖으며, 상술한 운영체제로부터 시스템 콜신호를 출력하는 제어부(120)와, 사용자에 의해 입력되는 외부신호에 의해 제어부(120)로부터 출력되는 시스템 콜신호를 입력받아 저장수단(110)의 응용 프로그램에 따라 각 디바이스를 제어하는 디바이스 구동부(130)와, 상술한 제어부(120)와 디바이스 구동부(130)에 대한 디버깅 코드를 가지는 롬(140)으로 구성된다.The test electronic product 100 described above includes a storage means 110 having a control program downloaded from the host system 200 described above, a device control program of the storage means 110 described above, and an actual test electronic product 100. It has an operating system for controlling a control program for performing a function of the real-time, the control unit 120 for outputting a system call signal from the operating system described above, and from the control unit 120 by an external signal input by the user A ROM having a device driver 130 for receiving each system call signal and controlling each device according to an application program of the storage means 110, and debugging codes for the controller 120 and the device driver 130. 140).
상술한 제어부(120)는 RISC(Reduced Instruction Set Computer) 칩(Chip)형태의 CPU이다.The controller 120 is a CPU in the form of a reduced instruction set computer (RISC) chip.
상술한 디버깅 코드는 제어부(120)의 실시간 운영체제와 디바이스 구동부(130)를 결합시켜 호스트 시스템(200)에서 작성되어 롬(140)에 저장된다. 그리고 상술한 롬(140)은 테스트용 전자제품(100)의 디버깅이 완료될 때까지 테스트용 전자제품(100)의 회로기판 상에 장착되어 있고, 디버깅이 완료되면 테스트용 전자제품(100)으로부터 제거된다.The above-described debugging code is created in the host system 200 by combining the real-time operating system of the controller 120 and the device driver 130 and stored in the ROM 140. The above-described ROM 140 is mounted on the circuit board of the test electronic product 100 until the debugging of the test electronic product 100 is completed, and from the test electronic product 100 when debugging is completed. Removed.
여기서, 본 발명의 상세한 설명을 하기 이전에 본 발명의 테스트 전자제품(100)의 제어부(120)에 구비된 실시간 운영체제에 대해 설명하면 다음과 같다.Here, the real-time operating system provided in the control unit 120 of the test electronics 100 of the present invention before the detailed description of the present invention will be described.
상술한 실시간 운영체제는 첨부 도면 도 3에 도시된 바와 같이 메모리 관리, 프로세서 관리, 주변장치 관리, 시간관리를 포함하는 커널(Kernel)과 실시간 운영체제의 사용자가 운영체제를 편리하게 이용할 수 있도록 하는 파일 시스템, C rntime 라이브러리, 네트워크 시스템 등을 지원하는 요소를 포함하고 있다.The above-described real-time operating system includes a kernel including memory management, processor management, peripheral management, and time management as shown in FIG. 3 and a file system that allows a user of the real-time operating system to conveniently use the operating system. Contains elements that support the Crntime library, network system, and more.
상술한 실시간 운영체제는 전자제품에 구비된 다수의 응용 프로그램이 실시간으로 실행될 수 있도록 하며, 사용자는 응용 프로그램에서 제공하는 환경만으로 제품을 접할 수 있는 구조를 갖는다.The real-time operating system described above allows a plurality of application programs provided in the electronic product to be executed in real time, and the user has a structure in which the user can access the product only with an environment provided by the application program.
그렇기 때문에 응용 프로그램 작성자는 복잡한 하드웨어의 지식이 없어도 전자제품에 구비되는 응용 프로그램의 구현이 가능해졌으며, 기존에 다른 곳에서 사용되었던 프로그램 이식성도 높아지게 된다. 그러므로 사용자도 더 사용하기 편리하고 보다 좋은 그래픽 환경을 제공받을 수 있게 된다.As a result, application writers can implement applications provided in electronic products without knowledge of complex hardware, and program portability previously used elsewhere becomes high. Therefore, the user may be more convenient to use and provide a better graphic environment.
이와 같이 구성된 전자제품의 응용 프로그램을 디버깅하기 위한 시스템의 동작을 첨부한 도면을 참조하여 좀 더 구체적으로 설명한다.The operation of the system for debugging the application program of the electronic product configured as described above will be described in more detail with reference to the accompanying drawings.
도 4는 본 발명에 따라 전자제품 응용 프로그램의 디버깅 방법을 설명하기 위한 동작흐름도이다.4 is a flowchart illustrating a debugging method of an electronic product application program according to the present invention.
도시된 바와 같이, 먼저 펌웨어(Firmware)를 가지는 제품을 디버깅하고자 하는 경우, 사용자는 먼저 테스트용 전자제품(100)의 제어부(120)와 디바이스 구동부(130)에 디버깅 코드를 갖는 롬(140)을 연결시킨다(S310).As shown in the drawing, when a user wants to debug a product having firmware, the user first starts the ROM 140 having debugging codes in the control unit 120 and the device driver 130 of the test electronic product 100. Connect (S310).
그리고 난 후, 호스트 시스템(200)에 상술한 디버깅 코드를 갖는 롬(140)을 연결시킨다(S320). 이때, 호스트 시스템(200)은 RS 232C 통신라인을 통해 테스트 용 전자제품(100)과 연결시킨다(S330).Then, the ROM 140 having the above-described debugging code is connected to the host system 200 (S320). At this time, the host system 200 is connected to the test electronic product 100 through the RS 232C communication line (S330).
상술한 과정(S310∼S330)을 수행한 후 테스트용 전자제품(100)의 전원을 온 시키거나, 또는 도면에 도시되어 있지 않으나 테스트용 전자제품(100)에 구비된 리셋 키를 이용하여 리셋 시켜 테스트용 전자제품(100)을 초기화시킨다(S340).After performing the above-described process (S310 ~ S330) to turn on the power of the test electronics 100, or to reset using a reset key provided in the test electronics 100, although not shown in the drawing Initialize the test electronics (100) (S340).
한편, 초기화 과정(S340) 수행 시 발생되는 초기화 데이터 및 롬(140)의 디버깅 코드를 제어부(120)의 내부 메모리(도면에는 도시되어 있지 않음)에 저장(S350)한다.Meanwhile, the initialization data generated when the initialization process S340 is performed and the debugging code of the ROM 140 are stored in the internal memory (not shown) of the controller 120 (S350).
상술한 과정(S350)을 수행하고 나면, 테스트용 전자제품(100)의 제어부(120)는 호스트 시스템(200)으로부터 응용 프로그램을 다운로드 받아(S360) 저장수단(110)에 저장한다. 상술한 바와 같이, 테스트용 전자제품(100)의 제어부(120)는 응용 프로그램이 다운로드 한 후 사용자에 의해 응용 프로그램을 실행시키기 위한 외부신호가 디바이스 구동부(130)를 통해 입력되는지를 판단(S370)한다.After performing the above-described process (S350), the control unit 120 of the test electronics 100 downloads the application program from the host system 200 (S360) and stores in the storage means 110. As described above, the control unit 120 of the test electronics 100 determines whether an external signal for executing the application by the user is input through the device driver 130 after the application is downloaded (S370). do.
판단 결과, 입력되는 외부신호가 존재하는 경우 제어부(120)는 저장수단(110)에 저장된 응용 프로그램을 순서에 따라 실행시킨다. 그리고, 제어부(120)는 롬(140)의 디버깅 코드를 읽어들여 내부 메모리에 저장하고, 일정한 순서에 따라 실행되는 응용 프로그램의 실행에 대해 내부 메모리의 디버깅 코드를 이용하여 디버깅한다.As a result of the determination, when there is an input external signal, the controller 120 executes the application programs stored in the storage means 110 in order. The controller 120 reads the debugging code of the ROM 140 and stores it in the internal memory, and debugs the debugging code of the internal memory for execution of an application program to be executed in a predetermined order.
그리고, 그 디버깅한 결과를 RS 232C 시리얼 통신라인을 통해 호스트 시스템(200)으로 전송(S380)하고, 호스트 시스템(200)의 모니터를 통해 전송된 결과를 사용자가 볼 수 있어 테스트용 전자제품(100)으로 다운로드 시킨 응용 프로그램을 쉽게 디버깅할 수 있다.Then, the debugged result is transmitted to the host system 200 through the RS 232C serial communication line (S380), and the user can see the result transmitted through the monitor of the host system 200 so that the test electronic product 100 You can easily debug the downloaded application.
한편, 상술한 과정(S380)을 수행한 후 사용자에 의해 입력되는 또다른 외부신호가 존재하는지를 판단(S390)하고, 판단 결과 존재하는 경우 상술한 과정(S380)으로 복귀하여 반복 수행한다.On the other hand, after performing the above-described process (S380), it is determined whether there is another external signal input by the user (S390), and if there is a determination result, returns to the above-described process (S380) and repeats.
상술한 모든 과정은 테스트용 전자제품(100)의 제어부(120)가 실시간 운영체제를 구비하고 있어야만 한다.In all the above-described processes, the control unit 120 of the test electronic product 100 must have a real-time operating system.
상술한 내용을 디지털 스틸 카메라에 한정하여 설명하고자 하는데, 디지털 스틸 카메라에 구비되는 기타 블록들은 생략하고, 디지털 스틸 카메라에 구비되는 다수의 응용 프로그램을 디버깅하기 위해서는 도 2에 도시된 블록들을 모두 갖게 되므로 별도의 도면 없이 동일한 도면부호를 인용하여 설명하면 다음과 같다.The above description will be limited to the digital still camera, but other blocks included in the digital still camera will be omitted, and in order to debug a plurality of application programs included in the digital still camera, all the blocks shown in FIG. 2 will be provided. When referring to the same reference numerals without separate drawings as follows.
먼저, 디지털 스틸 카메라에 구비된 제어부(120)는 다른 제어부의 기능 이외에 디지털 스틸 카메라를 구성하기 위해 필요한 CCD 인터페이스, 디스플레이 제어부, JPEG 제어부 등의 기능을 포함하고 있다.First, the control unit 120 included in the digital still camera includes functions such as a CCD interface, a display control unit, a JPEG control unit, etc. necessary to configure the digital still camera in addition to the functions of the other control unit.
그리고 실제적으로 디지털 스틸 카메라에 구비된 전체 프로그램은 첨부 도면 도 5에 도시된 바와 같이, 응용 프로그램(APPLICATION), 서브시스템(SUBSYSTEM), 디바이스 구동부(DEVICE DRIVER)의 3개의 영역으로 이루어져 있다.In fact, the entire program provided in the digital still camera is composed of three areas, as shown in FIG. 5, an application program, a subsystem SUBSYSTEM, and a device driver.
그러므로, 응용 프로그램 작성자는 실시간 운영체제에 등록된 디바이스 구동부의 정보만으로 충분히 프로그램이 가능하게 되었을 뿐만 아니라 기존의 다른 응용 프로그램을 쉽게 디지털 스틸 카메라에 적용시킬 수 있다.Therefore, the application programmer can not only be sufficiently programmed by the information of the device driver registered in the real-time operating system but also can easily apply other existing applications to the digital still camera.
상술한 바와 같이, 3개의 영역을 갖는 디지털 스틸 카메라는 첨부 도면 도 2에서와 같은 블록도들을 가지게 되고, 디지털 스틸 카메라가 가지고 있는 응용 프로그램의 실행과정을 디버깅하기 위해 롬(140)을 호스트 시스템(200)과 디지털 스틸 카메라의 제어부(120)에 연결되도록 디지털 스틸 카메라 회로 기판 상에 장착시킨다.As described above, the digital still camera having three areas will have the block diagrams as shown in FIG. 2, and the ROM 140 will be loaded with a host system (B) to debug the execution of the application program included in the digital still camera. 200 and mounted on the digital still camera circuit board so as to be connected to the control unit 120 of the digital still camera.
그리고, 사용자가 디지털 스틸 카메라에 구비된 셔트 키(SHOT KEY)를 눌러 촬영 개시신호를 입력하면 디지털 스틸 카메라에 구비된 디바이스 구동부(130)를 통해 제어부(120)가 입력받고, 제어부(120)는 저장수단(110)에 구비된 응용 프로그램을 읽어들여 디바이스 구동부(130)를 제어하여 정상적으로 피사체를 촬영하고, 촬영된 신호를 신호처리하여 이미지 저장수단에 저장하는지의 여부를 디버깅 코드를 이용하여 디버깅하고, 그 결과를 호스트 시스템(200)에 전송한다.When the user inputs a shooting start signal by pressing a shot key provided in the digital still camera, the controller 120 is input through the device driver 130 provided in the digital still camera, and the controller 120 Read the application program provided in the storage means 110 to control the device driver 130 to shoot the subject normally, and to debug whether or not to use the signal processing the signal stored in the image storage means using the debugging code The result is transmitted to the host system 200.
이때, 선택된 기능을 실행하기 위한 응용 프로그램 상에 에러가 없는 경우에는 순차적인 순서에 따라 진행되고 있는 과정을 호스트 시스템(200)의 모니터를 통해 출력함으로써 사용자가 디지털 스틸 카메라에 적용시킨 응용 프로그램이 정상적으로 실행되고 있음을 알 수 있다.In this case, when there is no error on the application program for executing the selected function, the application program applied to the digital still camera by the user is normally outputted by outputting the processes in the sequential order through the monitor of the host system 200. You can see that it is running.
한편, 순차적으로 진행되고 있는 도중 에러가 발생하는 경우 호스트 시스템의 모니터를 통해 에러가 발생한 지점에서 에러메시지를 출력하여 사용자가 이를 쉽게 알 수 있게 하고, 에러를 쉽게 해결할 수 있도록 한다.On the other hand, if an error occurs during the sequential process, an error message is output at the point where the error occurs through the monitor of the host system so that the user can easily recognize it and easily solve the error.
따라서, 상술한 바와 같이 본 발명에 있어 전자제품에 실시간 운영체제를 채용하게 되면 다음과 같은 효과를 얻을 수 있다.Therefore, as described above, when the real-time operating system is adopted in the electronic product, the following effects can be obtained.
첫째 전자제품이 가지고 있는 프로그램의 신뢰도가 향상되고, 둘째 프로그램의 처리량이 향상되고, 셋째 프로그램을 실행하는 경우 응답시간이 단축되고, 넷째 사용자가 하드웨어에 쉽게 접근할 수 있고, 다섯째 제한된 시스템 자원을 효율적으로 통제, 운영함으로써 보다 높은 성능을 발휘할 수 있고, 여섯째 개발기간의 단축 및 향후 유지관리 비용이 절감되며, 마지막으로 다중 프로그램이 가능하여 제어부의 효율을 극대화시킬 수 있다는 효과를 제공한다.First, the reliability of the program owned by the electronics is improved, the second program's throughput is improved, the third program runs, the response time is shortened, the fourth user has easy access to the hardware, and the fifth limited system resources By controlling and operating the system, higher performance can be achieved, the sixth development period can be shortened and future maintenance cost can be reduced, and finally, multiple programs are possible to maximize the efficiency of the control unit.
그러므로 상술한 실시간 운영체제를 갖는 전자제품의 응용 프로그램을 디버깅하는 경우 멀티태스킹이 가능하므로 미리 작성된 디버깅 코드를 이용하여 전자제품이 갖는 응용 프로그램을 변경, 또는 수정하는 경우 별도의 초기화 과정을 수행하지 않은 상태에서 변경, 또는 수정된 응용 프로그램의 디버깅을 빠른 시간에 수행할 수 있다는 효과가 있다.Therefore, when debugging the application program of the electronic product having the above-mentioned real-time operating system, multitasking is possible. Therefore, when changing or modifying the application program of the electronic product using the pre-written debugging code, a separate initialization process is not performed. The effect is that you can quickly debug a changed or modified application in.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019990015764A KR20000072844A (en) | 1999-05-01 | 1999-05-01 | System and method for debugging an application for electric/electronic products |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019990015764A KR20000072844A (en) | 1999-05-01 | 1999-05-01 | System and method for debugging an application for electric/electronic products |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20000072844A true KR20000072844A (en) | 2000-12-05 |
Family
ID=19583379
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019990015764A KR20000072844A (en) | 1999-05-01 | 1999-05-01 | System and method for debugging an application for electric/electronic products |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20000072844A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0628213A (en) * | 1992-07-10 | 1994-02-04 | Hudson Soft Co Ltd | Rom debugger device |
JPH06110725A (en) * | 1992-09-28 | 1994-04-22 | Nec Corp | Electronic exchange debugging device |
JPH0736730A (en) * | 1993-07-19 | 1995-02-07 | Nec Corp | Remote system test and diagnostic system |
JPH0784824A (en) * | 1993-09-14 | 1995-03-31 | Toshiba Corp | Program debugging device |
KR19990085492A (en) * | 1998-05-19 | 1999-12-06 | 김영환 | Debugging device for target board using HDC communication channel |
-
1999
- 1999-05-01 KR KR1019990015764A patent/KR20000072844A/en not_active Application Discontinuation
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0628213A (en) * | 1992-07-10 | 1994-02-04 | Hudson Soft Co Ltd | Rom debugger device |
JPH06110725A (en) * | 1992-09-28 | 1994-04-22 | Nec Corp | Electronic exchange debugging device |
JPH0736730A (en) * | 1993-07-19 | 1995-02-07 | Nec Corp | Remote system test and diagnostic system |
JPH0784824A (en) * | 1993-09-14 | 1995-03-31 | Toshiba Corp | Program debugging device |
KR19990085492A (en) * | 1998-05-19 | 1999-12-06 | 김영환 | Debugging device for target board using HDC communication channel |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7293165B1 (en) | BMC-hosted boot ROM interface | |
CN105653306A (en) | Method and device for displaying start Setup interface | |
JP7093979B2 (en) | Device proxy device and computer system including it | |
JP6362821B2 (en) | Control device, control method and instruction set | |
KR100762576B1 (en) | Method and system for dumping flash memory of embedded system | |
CN116627472A (en) | Firmware program upgrading method and server of high-speed peripheral component equipment | |
KR20000072844A (en) | System and method for debugging an application for electric/electronic products | |
KR200409311Y1 (en) | Apparatus of Downloading a FPGA in the Communication System | |
JP4024026B2 (en) | Semiconductor device and evaluation device | |
KR100303307B1 (en) | Downloading device and method for debugging operation in real time operating system | |
KR20020032256A (en) | Integrated Embedded System and Method for Realizing thereof | |
CN113703811B (en) | Method, device, equipment and storage medium for remotely downloading firmware by DSP | |
KR100463838B1 (en) | Method for downloading and supporting nfs for uia boot loader | |
KR100658564B1 (en) | The software development and operation method for the embedded system and mobile terminal using the method | |
CN106445571B (en) | Mainboard and starting method | |
CN117376229B (en) | FTP file system software cross debugging method and system based on embedded equipment | |
CN111176735B (en) | Method for accelerating startup of electrocardiograph | |
KR101019688B1 (en) | Embedded system based on high level programming language | |
KR100998565B1 (en) | Method for executing a robot application program and robot controller bootloader | |
KR101033591B1 (en) | Method of debugging in Embedded system | |
KR20040076915A (en) | Real-time debugging method of digital signal processor | |
KR920003279B1 (en) | Method for loading os & nos in data processing device | |
JP2004030075A (en) | Debugging system and debugging method | |
KR930004425B1 (en) | Computer system with debugging function and method therefor | |
CN117793697A (en) | Bluetooth patch downloading method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application |