KR100253233B1 - Debugging message display apparatus - Google Patents

Debugging message display apparatus Download PDF

Info

Publication number
KR100253233B1
KR100253233B1 KR1019970076830A KR19970076830A KR100253233B1 KR 100253233 B1 KR100253233 B1 KR 100253233B1 KR 1019970076830 A KR1019970076830 A KR 1019970076830A KR 19970076830 A KR19970076830 A KR 19970076830A KR 100253233 B1 KR100253233 B1 KR 100253233B1
Authority
KR
South Korea
Prior art keywords
latch
unit
data
decoder
flash rom
Prior art date
Application number
KR1019970076830A
Other languages
Korean (ko)
Other versions
KR19990056812A (en
Inventor
윤지성
Original Assignee
구자홍
엘지전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 구자홍, 엘지전자주식회사 filed Critical 구자홍
Priority to KR1019970076830A priority Critical patent/KR100253233B1/en
Publication of KR19990056812A publication Critical patent/KR19990056812A/en
Application granted granted Critical
Publication of KR100253233B1 publication Critical patent/KR100253233B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3648Software debugging using additional hardware
    • G06F11/3656Software debugging using additional hardware using a specific debug interface

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE: A device for displaying a debugging message is provided to display the current state of a system on an LCD window as characters or numerals when a program related to a PC is developed. CONSTITUTION: A decoder(21) decodes an address signal which is inputted through a system ISA address bus(S-ADDR) and outputs a latch signal to a latch unit(22) when a write signal is inputted as an active state. The latch unit(22) latches data loaded in a system ISA data bus(S-DATA) when a latch interrupt signal(LATCH-INT) is inputted from the decoder(21). A microprocessor(23B) decodes a specific address in the decoder(21). When a latch interrupt signal is inputted, the micro processor(23B) searches the corresponding code from a flash ROM(23C) and displays the contents on an LCD unit(23A) after a value latched in the latch unit(22) is read, and reads table data from the exterior and writes the data in the flash ROM(23C). A flash logic unit(23D) supplies an electric power for writing or reading the table data to the flash ROM(23C). An interface unit(RS232C driver)(23E) and a serial port(23F) perform a serial communication with the microprocessor(23B) and a PC. A switch(SW1) for selecting a watching of previous message is provided. A switch(SW2) for selecting a watching of the current message is provided.

Description

디버깅 메시지 표시장치Debugging message display

본 발명은 피씨(PC)의 프로그램 개발시 디버깅 메시지를 표시하는 기술에 관한 것으로, 특히 디버깅 메시지 표시장치를 새롭게 구현하여 그 표시장치에 문자 또는 숫자로 시스템의 상태를 표시할 수 있도록한 디버깅 메시지 표시장치에 관한 것이다.The present invention relates to a technique for displaying a debugging message when developing a program of a PC (PC), and in particular, a debugging message display that enables the display of the system status by letters or numbers on the display device by newly implementing a debugging message display device. Relates to a device.

도 1은 종래기술에 의한 디버깅 메시지 표시장의 블록도로서 이에 도시한 바와 같이, 시스템 ISA 어드레스 버스를 통해 입력되는 어드레스신호(ADDR)를 디코딩하고, 라이트신호(lOW*)가 액티브상태로 입력될 때 래치부(12)에 래치신호(LAT)를 출력하는 디코더(11)와; 상기 디코더(11)로 부터 래치신호(LAT)가 입력될 때 ISA 데이터버스에 실려있는 데이터(Data)를 래치하는 래치부(12)와; 다수의 엘이디(LED1-LED8)를 구비하여 상기 래치부(12)에서 래치된 데이터를 8진수 또는 16진수로 표시하는 표시부(13)로 로 구성된 것으로, 이의 작용을 설명하면 다음과 같다.1 is a block diagram of a display of a debugging message according to the prior art, as shown in FIG. 1, when decoding an address signal ADDR input through a system ISA address bus and a write signal lOW * is input in an active state. A decoder 11 for outputting a latch signal LAT to the latch unit 12; A latch unit 12 for latching data loaded on an ISA data bus when a latch signal LAT is input from the decoder 11; It is composed of a display unit 13 having a plurality of LEDs (LED1-LED8) to display the data latched in the latch unit 12 in octal or hexadecimal, the operation thereof is as follows.

피씨의 프로그램 개발시 디버깅 포트로서 80H 번지를 사용하게 되는데, 부팅시 프로그램은 현재의 시스템 상태를 80H 번지에 출력하고 이때, 라이트신호(lOW*)가 "로우"로 액티브된다.When developing the program of PC, the 80H address is used as the debugging port. At boot time, the program outputs the current system state to the 80H address. At this time, the write signal (lOW * ) is activated as "low".

디코더(11)는 시스템 ISA 어드레스 버스를 통해 입력되는 어드레스신호(ADDR)를 디코딩하고, 상기 라이트신호(lOW*)가 액티브상태로 입력될 때 래치부(12)에 래치신호(LAT)를 출력한다.The decoder 11 decodes the address signal ADDR input through the system ISA address bus and outputs the latch signal LAT to the latch unit 12 when the write signal LOW * is input in an active state. .

따라서, 상기 래치부(12)는 상기 래치신호(LAT)에 따라 ISA 데이터버스에 실려있는 데이터(Data)를 래치하게 되고, 이에 의해 표시부(13)의 엘이디(LED1-LED8)가 그 래치된 데이터에 상응되게 점등되어 시스템의 상태가 8진수 또는 16진수 형태로 나타난다.Accordingly, the latch unit 12 latches data Data on the ISA data bus according to the latch signal LAT, whereby the LEDs LED1-LED8 of the display unit 13 latch the data. Lights up correspondingly to indicate the system status in octal or hexadecimal form.

이후, 상기의 표시상태는 다음 80H에 대한 출력이 발생할때까지 그대로 유지된다.Thereafter, the display state is maintained until the output for the next 80H occurs.

그러나, 이와 같은 종래의 디버깅 메시지 표시기술에 있어서는 현재 시스템의 상태가 표시부의 엘이디 동작에 의해 8진수 또는 16진수로 표시되어 개발자가 그 내용을 인식하는데 어려움이 있었다.However, in the conventional debugging message display technology, the current system state is displayed in octal or hexadecimal by the LED operation of the display unit, which makes it difficult for the developer to recognize the contents.

따라서, 본 발명이 이루고자 하는 기술적 과제는 피씨의 프로그램 개발시 현재 시스템 상태를 엘씨디 창에 문자 또는 숫자로 자유롭게 표시하는 디버깅 메시지 표시장치를 제공함에 있다.Accordingly, the technical problem to be achieved by the present invention is to provide a debugging message display device for freely displaying the current system state in the LCD window in the form of letters or numbers in the development of the PC program.

도 1은 종래기술에 의한 디버깅 메시지 표시장의 블록도.1 is a block diagram of a debugging message display chapter according to the prior art.

도 2는 본 발명에 의한 디버깅 메시지 표시장치의 일실시 예시 블록도.Figure 2 is an exemplary block diagram of a debugging message display device according to the present invention.

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

21 : 디코더부 22 : 래치부21 decoder unit 22 latch unit

23 : 표시부 23A : 엘씨디부23: display unit 23A: LCD

23B : 마이크로프로세서 23C : 플래쉬 롬23B: Microprocessor 23C: Flash ROM

23D : 플래쉬 로직부 23E : 인터페이스부23D: flash logic section 23E: interface section

23F : 시리얼 포트 SW1, SW2 : 스위치23F: Serial port SW1, SW2: Switch

도 2는 본 발명의 목적을 달성하기 위한 디버깅 메시지 표시장치의 일실시 예시 블록도로서 이에 도시한 바와 같이, 시스템 ISA 어드레스 버스(S-ADDR)를 통해 입력되는 어드레스신호를 디코딩하고, 라이트신호(lOW*)가 액티브상태로 입력될 때 래치부(22)에 래치신호(LAT)를 출력하는 디코더(21)와; 상기 디코더(21)로 부터 래치인터럽트신호(LATCH-INT)가 입력될 때 시스템 ISA 데이터버스(S-DATA)에 실려있는 데이터를 래치하는 래치부(22)와; 상기 디코더(21)에서 특정 어드레스(80H)를 디코딩하여 이로부터 래치인터럽트신호(LATCH-INT)가 입력될 때, 상기 래치부(22)에 래치된 값을 읽어들인 후 플래쉬 롬(23C)에서 해당 코드를 찾아내고 그 내용을 엘씨디부(23A)에 디스플레이하고, 외부로 부터 테이블 데이터를 읽어들여 그 플래쉬 롬(23C)에 라이트하는 마이크로프로세서(23B)와; 상기 플래쉬 롬(23C)에 테이블 데이터를 라이트하거나 리드하기 위한 전원을 공급하는 플래쉬 로직부(23D)와; 상기 마이크로프로세서(23B)와 피씨와의 시리얼 통신을 위한 인터페이스부(RS232 DRIVER)(23E) 및 시리얼 포트(23F)와; 이전 메시지 보기를 선택하기 위한 스위치(SW1) 및 현재 메시지 보기를 선택하기 위한 스위치(SW2)로 구성한 것으로, 이와 같이 구성한 본 발명의 작용을 상세히 설명하면 다음과 같다.FIG. 2 is a block diagram illustrating an example of a debugging message display device for achieving an object of the present invention. As shown in FIG. 2, an address signal input through a system ISA address bus S-ADDR is decoded and a write signal ( a decoder 21 for outputting a latch signal LAT to the latch unit 22 when LOW * ) is input in an active state; A latch unit (22) for latching data loaded on a system ISA data bus (S-DATA) when a latch interrupt signal (LATCH-INT) is input from the decoder (21); When the decoder 21 decodes the specific address 80H and receives the latch interrupt signal LATCH-INT therefrom, the latch 21 reads the latched value and then the flash ROM 23C reads the latched value. A microprocessor 23B for finding the code and displaying the contents in the LCD unit 23A, reading table data from the outside, and writing the data to the flash ROM 23C; A flash logic section (23D) for supplying power to the flash ROM (23C) for writing or reading table data; An interface unit (RS232 DRIVER) 23E and a serial port 23F for serial communication between the microprocessor 23B and the PC; The switch SW1 for selecting the previous message view and the switch SW2 for selecting the current message view will be described in detail with reference to the operation of the present invention.

먼저, 디버깅 메시지를 엘씨디부(23A)에 디스플레이하는 과정을 설명하면 다음과 같다.First, a process of displaying a debugging message on the LCD unit 23A will be described.

피씨의 프로그램 개발시 디버깅 포트로서 80H 번지를 사용하게 되는데, 부팅시 프로그램은 현재의 시스템 상태를 80H 번지에 출력하고 이때, 디코더부(21)는 80H 번지를 디코딩하여 래치인터럽트신호(LATCH-INT)가 발생되고, 이 래치인터럽트신호(LATCH-INT)는 마이크로프로세서(23B) 및 래치부(22)에 전달된다.When developing a program of PC, 80H address is used as a debugging port. Upon booting, the program outputs the current system state to 80H address. At this time, the decoder 21 decodes 80H address and latches an interrupt signal (LATCH-INT). Is generated, and the latch interrupt signal LATCH-INT is transmitted to the microprocessor 23B and the latch unit 22.

이에 따라 래치부(22)는 상기 디코더(21)로 부터 래치인터럽트신호(LATCH-INT)가 입력될 때 시스템 ISA 데이터버스(S-DATA)에 실려있는 데이터를 래치한다.Accordingly, the latch unit 22 latches data loaded on the system ISA data bus S-DATA when the latch interrupt signal LATCH-INT is input from the decoder 21.

또한, 상기 마이크로프로세서(23B)는 상기 디코더부(21)로 부터 래치인터럽트신호(LATCH-INT)가 입력될 때 상기 래치부(22)에 래치아웃인에이블신호(L-OE*)를 출력하여 래치된 값을 읽어들인 후 플래쉬 롬(23C)에서 그 값에 상응되는 코드를 찾아내고 그 내용을 읽어내어 엘씨디부(23A)에 디스플레이하게 된다.In addition, the microprocessor 23B outputs a latch-out enable signal L-OE * to the latch unit 22 when a latch interrupt signal LATCH-INT is input from the decoder unit 21. After reading the latched value, the code corresponding to the value is found in the flash ROM 23C, the contents are read out, and displayed on the LCD unit 23A.

이때, 사용자가 스위치(SW1)를 누르면 상기 마이크로프로세세서(23B)가 이를 인식하여 상기 엘씨디부(23A)에 이전의 메시지를 디스플레이하고, 스위치(SW2)를 누르면 이를 인식하여 그 엘씨디부(23A)에 현재 메시지를 디스플레이한다.At this time, when the user presses the switch SW1, the microprocessor 23B recognizes this and displays the previous message on the LCD unit 23A. When the user presses the switch SW2, the microprocessor 23B recognizes this and then recognizes it. Display the current message.

한편, 상기 마이크로프로세서(23B)가 피씨와 인터페이싱하여 상기 플래쉬 롬(23C)에 데이블 데이터를 라이트하는 과정을 설명하면 다음과 같다.Meanwhile, the process of writing the table data in the flash ROM 23C by interfacing the PC with the microprocessor 23B will be described below.

상기 마이크로프로세서(23B)는 인터페이스부(23E) 및 시리얼포트(23F)를 통해 피씨와 인터페이싱하여 일정 포맷을 갖는 테이블 데이터를 읽어들여 플래쉬 롬(23C)에 라이트하게 되는데, 이때, 플래쉬 로직부(23D)에 인에이블신호(EN)를 "하이"로 액티브시켜 출력하여 그로부터 라이트에 필요한 전원을 공급받는다.The microprocessor 23B interfaces with the PC through the interface unit 23E and the serial port 23F, reads the table data having a predetermined format, and writes the data to the flash ROM 23C. In this case, the flash logic unit 23D is used. The enable signal EN is " high "

이때, 상기 디코더부(21)에서 출력되는 래치인터럽트신호(LATCH-INT)는 무시되며, 상기 플래쉬 롬(23C)을 대상으로 일련의 테이블 데이터 라이트과정이 종료되면 상기 인에이블신호(EN)를 "로우"로 인액티브시킨다.At this time, the latch interrupt signal LATCH-INT output from the decoder 21 is ignored, and when the series of data writing process is completed for the flash ROM 23C, the enable signal EN is set to " Low ".

이상에서 상세히 설명한 바와 같이, 본 발명은 피씨의 프로그램 개발시 현재 시스템 상태를 엘씨디 창에 문자 또는 숫자로 자유롭게 표시할 수 있게 표시부를 구현함으로써 프로그램 개발자에게 디버깅 메시지를 보다 확실하게 전달할 수 있는 효과가 있다.As described in detail above, the present invention has an effect that it is possible to deliver a debugging message to the program developer more reliably by implementing the display unit to freely display the current system state in the LCD window in the form of letters or numbers when developing the program of the PC. .

Claims (2)

마이크로프로세서(23B)로 부터 전달되는 디버깅 메시지를 디스플레이하는 엘씨디부(23A)와; 디코더(21)로 부터 래치인터럽트신호(LATCH-INT)가 입력될 때, 래치부(22)에 래치된 값을 읽어들인 후 플래쉬 롬(23C)에서 해당 코드를 찾아내고 그 내용을 엘씨디부(23A)측으로 출력하고, 외부로 부터 테이블 데이터를 읽어들여 그 플래쉬 롬(23C)에 라이트하는 마이크로프로세서(23B)와; 상기 플래쉬 롬(23C)에 테이블 데이터를 라이트하거나 리드하기 위한 전원을 공급하는 플래쉬 로직부(23D)와; 상기 마이크로프로세서(23B)와 피씨와의 시리얼 통신을 위한 인터페이스부(23E) 및 시리얼 포트(23F)를 포함하여 구성한 것을 특징으로 하는 디버깅 메시지 표시장치.An LCD unit 23A for displaying a debugging message transmitted from the microprocessor 23B; When the latch interrupt signal (LATCH-INT) is input from the decoder 21, the latched value is read from the latch unit 22, the corresponding code is found in the flash ROM 23C, and the contents thereof are read. A microprocessor 23B which outputs to the side), reads the table data from the outside, and writes the data to the flash ROM 23C; A flash logic section (23D) for supplying power to the flash ROM (23C) for writing or reading table data; And a serial port (23F) and an interface unit (23E) for serial communication between the microprocessor (23B) and the PC. 제1항에 있어서, 상기 엘씨디부(23A)에 디스플레이되는 디버깅 메시지중에서 이전 페이지의 열람을 선택하기 위한 스위치(SW1) 및 현재 페이지의 열람을 선택하기 위한 스위치(SW2)를 더 포함하여 구성한 것을 특징으로 하는 디버깅 메시지 표시장치.The method of claim 1, further comprising a switch SW1 for selecting a view of a previous page and a switch SW2 for selecting a view of a current page among debugging messages displayed on the LCD unit 23A. Debugging message display.
KR1019970076830A 1997-12-29 1997-12-29 Debugging message display apparatus KR100253233B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970076830A KR100253233B1 (en) 1997-12-29 1997-12-29 Debugging message display apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970076830A KR100253233B1 (en) 1997-12-29 1997-12-29 Debugging message display apparatus

Publications (2)

Publication Number Publication Date
KR19990056812A KR19990056812A (en) 1999-07-15
KR100253233B1 true KR100253233B1 (en) 2000-04-15

Family

ID=19529354

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970076830A KR100253233B1 (en) 1997-12-29 1997-12-29 Debugging message display apparatus

Country Status (1)

Country Link
KR (1) KR100253233B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105334777A (en) * 2015-11-26 2016-02-17 国网辽宁省电力有限公司大连供电公司 Serial port code message signal testing terminal strip

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105334777A (en) * 2015-11-26 2016-02-17 国网辽宁省电力有限公司大连供电公司 Serial port code message signal testing terminal strip

Also Published As

Publication number Publication date
KR19990056812A (en) 1999-07-15

Similar Documents

Publication Publication Date Title
KR970705119A (en) A display controller capable of accessing an external memory for gray scale modulation data (Display Controller Capable of Accessing an External Memory for Gray Scale Modulation Data)
KR950001418B1 (en) Pop up control system for portable computer having setup function and popup function
KR100253233B1 (en) Debugging message display apparatus
GB2242048A (en) Paging receiver capable of displaying repeat call and urgent call
KR100408289B1 (en) Plug and play system using input/output format code and method thereof
US7253806B2 (en) Computer keyboard
KR970003021B1 (en) Cdg included television controlling method and apparatus
KR19980035434A (en) Computer system with access control of built-in and extended VGA card
KR920004393B1 (en) Dual-mode using circuit for video card
KR930005846B1 (en) Video control circuit
KR940003624B1 (en) Apparatus for korean characters and chinese characters on vga system and method therefor
KR0150332B1 (en) Data control method of signboard
KR200175057Y1 (en) An apparatus for debugging an error of a computer
GB2246649A (en) Computer error code diagnostic apparatus and method
JPH03105384A (en) Display control system
KR100708080B1 (en) Apparatus for interfacing audio data
KR910010299A (en) Bit operation processing circuit of programmable controller
KR960042511A (en) Character display inversion control circuit of liquid crystal display
KR200334309Y1 (en) Bus Signal Generating Device Using Parallel Port
KR19990002003A (en) System operation status display
KR970028967A (en) Keyboard that switches to calculator mode by key operation only and how to operate it
KR19990025536A (en) LCD Graphics Driver with Embedded Fonts
JPS5968054A (en) Information processor
KR910013900A (en) Memory map display of channel memory
KR970050051A (en) Liquid crystal drive output circuit for driving liquid crystal display

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20061220

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee