KR900006471B1 - Debugging system of teletext - Google Patents

Debugging system of teletext Download PDF

Info

Publication number
KR900006471B1
KR900006471B1 KR1019860011755A KR860011755A KR900006471B1 KR 900006471 B1 KR900006471 B1 KR 900006471B1 KR 1019860011755 A KR1019860011755 A KR 1019860011755A KR 860011755 A KR860011755 A KR 860011755A KR 900006471 B1 KR900006471 B1 KR 900006471B1
Authority
KR
South Korea
Prior art keywords
data
control
bus
processor
buffer
Prior art date
Application number
KR1019860011755A
Other languages
Korean (ko)
Other versions
KR880008641A (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 KR1019860011755A priority Critical patent/KR900006471B1/en
Publication of KR880008641A publication Critical patent/KR880008641A/en
Application granted granted Critical
Publication of KR900006471B1 publication Critical patent/KR900006471B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/278Subtitling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/08Systems for the simultaneous or sequential transmission of more than one television signal, e.g. additional information signals, the signals occupying wholly or partially the same frequency band, e.g. by time division

Abstract

The debug system is for testing the memory or microprocessor wiht RS- 23C port in failure state. The debugging program of the TTX decoder stored in a ROM (28) is loaded on a RAM (29) after turning on the power. A microprocessor (27) processes the program and provides the result to a second data buffer (34) sending the serial data to an user terminal (300) through the RS-232C. After selecting the mode by the user, the second data buffer provides the parallel input data to the processor. There are test modes for testing a colour video display generator, a RAM, a digital teletext processor, and a teletext data format in prefix processor.

Description

문자다중 방송 디코더의 디버그 시스템Debugging System for Teletext Decoder

제1도는 본 발명에 따른 개념도.1 is a conceptual diagram according to the present invention.

제2도는 본 발명에 따른 회로도.2 is a circuit diagram according to the present invention.

제3도는 본 발명에 따른 흐름도.3 is a flow chart according to the present invention.

(3a) 메인흐름도(3a) Main flow chart

(3b) 서브흐름도(3b) subflow chart

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

21 : 케이블 22 : 제1버퍼21 cable 22 first buffer

23 : 제2버퍼 24 : 어드레스 디코더23: second buffer 24: address decoder

25 : 딥스위치 26 : 스위치25: dip switch 26: switch

27 : 프로세서 28 : 롬27: processor 28: ROM

29 : 램 30 : 발진 및 분주회로29: RAM 30: Oscillation and Dispensing Circuit

31 : 보우레이트 선택부 32 : 분주기31: Baurate selection unit 32: Divider

33 : 클럭발생부 34 : 제2데이타 버퍼33: clock generator 34: second data buffer

35 : 선택 및 제어부 36 : 송신기35: selection and control 36: transmitter

37 : 수신기 100 : TTX디코더37: receiver 100: TTX decoder

200 : 디버그시스템 300 : 터미널200: debug system 300: terminal

본 발명은 문자다중 방송(Teletext) 디코더(Decoder)에 관한 것으로, 특히 문자다중 방송(이하 "TTX"라 칭함) 디코더의 조정 및 고장여부를 테스트할 수 있는 문자다중 방송 디코더의 디버그(DEBUG)시스템에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a teletext decoder (Decoder), and in particular, a debug system for a teletext decoder (DEBUG) that can test the coordination and failure of the teletext decoder (hereinafter referred to as "TTX"). It is about.

TV시청자가 문자다중 방송(TTX)을 시청하기 위해서는 방송국에서 송출되는 문자다중 방송 신호규격에맞게 설게되어 있는 TTX전용 수신장치(Teletext Decoder : 이하 "TTX디코더"라 칭함)가 필요하게 된다. 상기 TTX전용 수신장치는 TV안에 내장시키거나 별도의 어뎁터(Adapter) 형식으로 만들 수 있다.In order for a TV viewer to watch a text multicast (TTX), a TTX dedicated receiver (hereinafter referred to as a "TTX decoder"), which is designed to meet the text multicast signal standard transmitted from a broadcasting station, is required. The TTX dedicated receiver may be embedded in a TV or made into a separate adapter format.

상기 TTX디코더는 편집 또는 데이타 송출장치와는 달리 대량으로 보급될 수 있으므로 가격문제가 고려되어야 하고, 이와 반면에 서어비스 측면에서 보다 다양한 기능을 가지고 있어야 하므로 사용자에게 여러모로 편의를 제공해야 한다.Since the TTX decoder can be distributed in large quantities unlike an editing or data transmission device, a price problem should be considered, and on the other hand, the TTX decoder should have various functions in terms of service, and thus should provide convenience to users.

상기한 양면성을 충족시키기 위해 현재 외국의 문자다중 방송을 시행하는 나라에서는 전용의 집적회로(IC)를 개발하여 사용하고 있다.In order to satisfy the above-mentioned double-sided property, a country that implements foreign character multiplexing broadcasting is developing and using a dedicated integrated circuit (IC).

국내업계에서도 앞으로의 문자다중 방송 국내시행에 대비하여 TTX디코더에 대한 연구실험을 계속하고있다.The domestic industry continues to conduct research experiments on the TTX decoder in preparation for the future implementation of multi-text broadcasting.

그런데 우리나라의 문자다중 방송 화면의 구성은 대부분 한글로 이루어져야 하므로 한글처리에 대한 문제가 신중히 고려되고 있는데, KBS에서는 각국의 문자다중 방송방식을 검토한 결과 북미의 NABTS(North American Broadcast teletext standard) 방식으로 기능이 다양하고 한글을 수용하기 용이한 이 방식에 관해서 계속 연구검토되고 있으며, 상기 NABTS방식을 사용하여 TTX디코더를 개발하였더라도 우선 TTX디코더가 문자방송 사용이나 규격에 맞는 것인지 테스트 할 수 있는 장비가 요구되고 사용자에게 보급되더라도 TTX디코더의 고장이 발생하면 아직 이에 대한 기술적인 뿐만아니라 수시로 TTX디코더를 테스트할수 있는 장비가 요구하게 된다.However, most of the text multicast screens in Korea should be composed of Korean characters. Therefore, the issue of Hangul processing is considered carefully. In KBS, the character multicasting system of each country was examined. As a result, North American NABTS (North American Broadcast teletext standard) method was used. This method, which has various functions and is easy to accept Hangul, is continuously researched and reviewed. Even if the TTX decoder was developed using the NABTS method, first, a device that can test whether the TTX decoder meets the character broadcasting use or specification is required. Even if it is distributed to the user, if a failure of the TTX decoder occurs, there is a need for a device that can test the TTX decoder as well as technically about this.

따라서 본 발명의 목적은 마이크로프로세서를 사용하는 TTX디코더에서 이상이 발생했을 시 디버그 시스템을 이용하여 메모리 및 그밖의 다른 프로세서의 이상 유무를 쉽게 테스트할 수 있는 시스템을 제공함에있다.Accordingly, an object of the present invention is to provide a system that can easily test the abnormality of the memory and other processors using the debug system when the TTX decoder using the microprocessor occurs.

본 발명의 다른 목적은 RS-232C 연결방식의 입출력포토를 터미날과 연결하여 사용자와 직접 커뮤니케이션 하게 되어 테스트의 편리함을 줄 수 있는 시스템을 제공함에 있다.Another object of the present invention is to provide a system that can directly communicate with the user by connecting the input and output port of the RS-232C connection method with the terminal to give the convenience of the test.

이하 본 발명을 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

제1도는 본 발명에 따른 TTX디코더의 디버깅 개념도로, TTX전용 수신장치인 TTX디코더(100)와 사용자의 터미널(300)의 사이에 본 발명의 TTX디코더(100)의 디버그 시스템(200)를 설치하여 사용자가 TTX디코더(100)에서 사용하는 램 (RAM), CRTC(CRT controller), DTP(Digita1 Teletext Procesor) 디버그 및 상태를 테스트할 수 있도록 한 것이다.1 is a conceptual diagram of the debugging of the TTX decoder according to the present invention, and installs the debug system 200 of the TTX decoder 100 of the present invention between the TTX decoder 100 which is a TTX dedicated receiver and the user's terminal 300. Thus, the user can test RAM (RAM), CRTC (CRT controller), and DTP (Digita1 Teletext Procesor) debug and state used in the TTX decoder 100.

제2도는 본 발명에 따른 제1도의 디버그 시스템(200)의 구체회로도로써, 40핀의 케이블을 TTX디코더(100)의 호스트 프로세서와 연결하여 TTX디코더(100)와 제2의 전체에 대응하는 디버그 시스템(200)을 연결하도록 한 케이블(21)과, 상기 케이블(21)의 어드레스 라인(Ad0-Ad7) 및 데이타 라인(D0-D7)에 연결되어 상기 TTX디코더(100)와의 송수신데이타를 양방향으로 버퍼링하는 제1버퍼(22) 및 제2버퍼(23)와, 상기 TTX디코더(100)와의 상기 케이블(21)로 연결되어 상기 케이블(21)을 통한 제어버스(P0-Pn)의 출력신호로 부터 리드 제어신호를 받아 TTX디코더(100)를 디버깅하기 위한 디버그용 프로그램 데이타를 리드하며 상기 디버깅 프로그램 치 시스템 운용 프로그램 데이타를 저장하고 있는 롬(28)와, 상기 제2버퍼(22,23) 및 상기 롬(28)과 어드레스버스(Ad0-Ad7) 및 데이타버스(D0-D7)와 연결되어 상기 제어버스(P0-P7)를 통한 제어신호에 의해 상기 롬(28)으로 프로그램을 받아 랜덤으로 저장하고 있으며 TTX디코더(100)의 상태 데이타 및 디버깅에 따른 테스트 데이다를 일시 저장하는 램(29)와, 상기 제어버스(P0-Pn)로 부터 발생되는 제어신호에 따라 상기 제2데이타버퍼(34)에서 데이타 송수신기 RS-232C 입출력 방식의 데이타 흐름에 따라 병렬 데이타를 직렬 데이타로 혹은 그 역으로 보내거나 받도록 제어신호를 발생하는 선택 및 제어부(35)와, 상기 상기 케이블(21) 및 후술하는 프로세서(27)의 제어버스(P0-Pn)와 연결되어 상기 TTX디코더(100)의 메인 프로세서와 디버그 시스템(200)의 프로세서와 인에이블 또는 디스에이블 하도록 사용자의 선택 신호가 인가되는 딥(Dip) 스위치(25)와, 상기 디버그 시스템(200)의 프로세서로써 상기 롬(28), 램(29) 및 제1,2버퍼(22,23)와 어드레스버스(Ad0-Ad7) 및 데이타버스(D0-D7)간 연결되고 상기 딥스위치(25)간에 제어버스(P0-Pn)가 연결되어 전체 시스템을 제어하며 상기 딥스위치(25)로부터 외부에서 가해준 신호에 의해 TTX디코더(100)의 디버깅을 위한 프로그램 데이타를 받아 처리하여 제어신호 및 디버깅 처리결과를 데이타로 출력하는 프로세서(27)와, 상기 상기 제1버퍼(22)의 입출력단(D0--D7)및 롬(28), 램(29), 프로세서(27)의 어드레스버스(Ad0-Ad7)와 연결되어 상기 어드레스버스(Ad0-Ad7)를 통한 어드레스 신호에 따라 상기 롬(28), 램(29)과 선택 및 제어부(35)를 선택하기 위한 칩실렉터단

Figure kpo00001
의 제어신호를 발생하는 어드레스 디코더(24)와, 사용자에 의해 조작되는 것으로 터미널과 데이타 전송에 필요한 보우레이트(전송속도 : 9600bps, 4800bps, 120-bps, 300bps)를 선택할 수 있는 스위치(26)와, 상기 제어버스(P0-Pn)와 연결되어 디버그 시스템(200)의 구동에 필요한 기본 클럭을 제공하는 발진 및 분주회로(30)와, 상기 발진 및 분주회로(30) 및 스위치(26)간에 상기 제어버스(P0-Pn)와 연결되어 상기 스위치(26)의 선택에 따라 상기 발진 및 분주회로(30)에서 출력하는 발진주파수의 선택으로 전송속도를 선택하는 보우레이터 선택부(31)와, 상기 제어버스(P0-Pn)와 연결되어 제어버스(P0-Pn)를 통해 입력되는 신호로 부터 상기 보우레이터 선택부(31)에서 선택되는 전송속도에 맞는 보우레이트 주파수를 소정으로 분배하는 분주기(32)와, 상기 제1버퍼(23), 프로세서(27), 롬(28) 및 램(29)의 데이타버스(D0-D7)와 연결되어 사용자 측의 입출력 데이타를 선택 및 제어부(35)의 제어에 따라 버퍼링하는 제2데이다 버퍼(34)와, 상기 제2데이타버퍼(34)와 연결되어 출력되는 병렬데이타를 직렬로 변환하여 RS-232C 연결방식의 라인을 통해 사용자측 터미널(300)측으로 전송하는 송신기(36)와, 상기 사용자측 터미널(300)의 RS-232C 연결방식라인을 통해 입력된 직렬데이타를 병렬데이타로 변환하여 디버그 시스템(200)의 제2데이타버퍼(34)에 입력하는 수신기(37)와, 상기 분주기(32)에서 분주된 클럭신호를 받아 상기 제2데이타 버퍼(34)에서 요구되는 데이타의 직렬전송 및 수신데이타의 속도와 동기시키기 위한 클럭을 발생하는 클럭발생부(33)로 구성된다.FIG. 2 is a detailed circuit diagram of the debug system 200 of FIG. 1 according to the present invention. A 40-pin cable is connected to a host processor of the TTX decoder 100 to debug the TTX decoder 100 and the second whole. A cable 21 connected to the system 200 and an address line Ad0-Ad7 and a data line D0-D7 of the cable 21 are connected to each other to transmit / receive data to / from the TTX decoder 100 in both directions. The first buffer 22 and the second buffer 23 to be buffered, and the cable 21 of the TTX decoder 100 is connected to the output signal of the control bus (P0-Pn) through the cable 21 A ROM 28 which reads the program data for debugging the TTX decoder 100 by receiving a read control signal from the ROM 28 and stores the debugging program value system operating program data, the second buffers 22 and 23 and The ROM 28, the address bus (Ad0-Ad7) and the data bus (D0-D7) Therefore, a RAM is received and stored randomly by the control signal through the control buses P0-P7 and temporarily stores the test data according to the state data and debugging of the TTX decoder 100 ( 29) and parallel data as serial data or vice versa in accordance with the data flow of the data transceiver RS-232C input / output in the second data buffer 34 in accordance with a control signal generated from the control buses P0-Pn. Selected and the control unit 35 for generating a control signal to send or receive to the control, and the control bus (P0-Pn) of the cable 21 and the processor 27 to be described later is connected to the main processor of the TTX decoder 100 And a dip switch 25 to which a user's selection signal is applied to enable or disable the processor of the debug system 200, and the ROM 28 and the RAM 29 as processors of the debug system 200. ) And 1,2 It is connected between the fur (22, 23) and the address bus (Ad0-Ad7) and data bus (D0-D7), and the control bus (P0-Pn) is connected between the dip switch 25 to control the entire system and the dip switch A processor 27 for receiving and processing program data for debugging the TTX decoder 100 according to an externally applied signal from the processor 25 and outputting control signals and debugging processing results as data; and the first buffer 22 Is connected to the input / output terminals D0--D7 and the ROM 28, the RAM 29, and the address bus Ad0-Ad7 of the processor 27 in accordance with the address signal through the address bus Ad0-Ad7. Chip selector stage for selecting the ROM 28, RAM 29 and the selection and control unit 35
Figure kpo00001
An address decoder 24 for generating a control signal of the switch; a switch 26 for selecting a baud rate (transmission rate: 9600bps, 4800bps, 120-bps, 300bps) required for data transmission from the terminal by a user; And an oscillation and division circuit 30 connected to the control bus P0-Pn to provide a basic clock for driving the debug system 200, and between the oscillation and division circuit 30 and the switch 26. A bower selector 31 connected to a control bus P0-Pn for selecting a transmission speed by selecting an oscillation frequency output from the oscillation and frequency division circuit 30 according to the selection of the switch 26; The frequency divider divides the baudrate frequency corresponding to the transmission speed selected by the bower selector 31 from the signal inputted through the control bus P0-Pn and connected to the control bus P0-Pn. 32, the first buffer 23, the processor 27, A second dade buffer 34 connected to the data buses D0-D7 of the RAM 29 and buffering the input / output data of the user side under the control of the selection and control of the controller 35; Transmitter 36 and RS-232C of the user terminal 300 to convert the parallel data output and connected to the data buffer 34 in series and to transmit to the user terminal 300 side through a line of RS-232C connection method The receiver 37 converts the serial data input through the connection method line into parallel data and inputs it to the second data buffer 34 of the debug system 200, and receives the clock signal divided by the divider 32. And a clock generator 33 for generating a clock for synchronizing with the speed of serial transmission and reception of data required by the second data buffer 34.

제3도는 본 발명에 따른 흐름도로써, (3a)는 본 발명에 따른 메인흐름도이고, (3b)는 상기 (3a)의 (3d)과정의 CVDG데스트 단계를 구체적으로 도시한 서브흐름도이다.3 is a flowchart according to the present invention, where (3a) is a main flow chart according to the present invention, and (3b) is a subflow chart specifically showing the CVDG test step of step (3d) of (3a).

시스템의 각부를 초기화하고 CVDG(Color Video Display Generatar), 램(RAM : Random Access Memory), DTP(Digital Teletext Preccssor), TTX데이타 포맷인 프리픽스(Prifix)프로세서를 테스트하기 위해 사용자가 선택하도록 메뉴(Menu) 방식으로 디스플레이하여 선택키(A-D)입력을 체킹하는 제1과정과, 상기 제1과정에서 지정된 선택키(A-D)입력이 있을시 상기 해당 테스트 프로그램에 따라 처리하는 제2과정과, 상기 제2과정에서 "ESC"키 입력이 없을시 상기 테스트 메뉴를 다시하여 해당 테스트 모드에따라 테스트를 하고 "ESC"키 입력이 있을시 테스트를 완료하는 제3과정으로 이루어진다.Menus to be selected by the user to initialize parts of the system and to test Prefix processors, which are Color Video Display Generatar (CVDG), Random Access Memory (RAM), Digital Teletext Preccssor (DTP), and TTX data formats. A first process of checking the selection key (AD) input by displaying the method; and a second process of processing according to the corresponding test program when the selection key (AD) input specified in the first process is present; In the process, when there is no "ESC" key input, the test menu is repeated to perform a test according to the corresponding test mode, and when there is an "ESC" key input, a third process is completed.

(3b)는 상기 제3도(3a)에서 제2과정의 테스트 모드 중 "A"선택키 입력에 의한 CVDG테스트 과정의 구체흐름도로서, CVDG테스트 모드에서 "1" 또는 "2"키 입력에 따라 인터페이스 토글(Interlace Toggle)및 세트 스크롤 테스트(Set Scroll Test)모드 선택 키입력을 검색하는 제1단계와, 상기 제1단계의 "1"번키 입력일시 소정 3번 레지스트의 값을 스위치 레지스터로 전송하여 상기 스위치 레지스터의 6번째 비트(DR6)의 값과 7, 5, 4, 3번째 비트(DR4, DR3)의 값을 "1"로 하고 그외 비트(DR2-DRψ)의 값을 무관조전(Don't care)으로 한후 캐리지 리턴키(ENTER) 입력이 있는가를 체킹하는 제2단계와, 상기 제2단계에서 캐리지 리턴키 입력이 있을시 상기 6번째 비트(DR6)을 단전시키고 상기 캐리지 리턴키 입력이 없으면"ESC"키 입력이 있는가를 체킹하는 제3단계와, 상기 제1단계에서 1번키가 아니고 2번키 일시 상기 소정(3번)레지스터 값을 Y스크롤 레지스트로 전송하고 "ENTER SCROLL OFFSET[XX]"를 표시하도록 데이타를 출력한 후 키입력이 00에서 262내에 있는 값인가를 검색하는 제4단계와, 상기 제4단계에서 00에서 262내의 값이 아닐 때 상기 "ENTER SCROLL OFFSET[XX]"을 계속 디스플레이 하고 00에서 262대의 값일 때 스크린을 스크롤 한 후 캐리지 리턴 키입력을 기다리는 제5단계 키로 이루어진다.(3b) is a detailed flowchart of the CVDG test process by inputting the "A" selection key in the test mode of the second process in FIG. 3A, and according to the "1" or "2" key input in the CVDG test mode. The first step of searching for interface toggle and set scroll test mode selection keystrokes, and transfers a value of a predetermined number of three times of " 1 " The value of the sixth bit DR6 and the seventh, fifth, fourth, and third bit DR4 and DR3 of the switch register is set to "1", and the values of the other bits DR2-DRψ are unrelated. t care) and check whether there is a carriage return key (ENTER) input, and if there is a carriage return key input in the second step, the sixth bit (DR6) is disconnected and the carriage return key input is absent. A third step of checking whether there is an " ESC " key input; The fourth step of transferring the predetermined (number 3) register value to the Y scroll register and outputting data to display "ENTER SCROLL OFFSET [XX]", and then searching whether the key input is a value within 00 to 262. In the fourth step, when the value is not within 00 to 262, the "ENTER SCROLL OFFSET [XX]" is continuously displayed, and when the value is 00 to 262, the fifth step key scrolls the screen and waits for a carriage return key input.

따라서 본 발명의 일실시예를 상술한 제1도-제3도를 참조하여 상세히 설명하면, 시스템을 온함과 동시에 딥스위치(25)를 사용자가 외부에서 조작하면, 프로세서(27)에서 제어버스(P0-Pn)를 통해 딥스위치(25)의 조작된 입력을 받아 (3a)과정에서 프로세서(27)는 시스템 각부를 리세트하여 처음의 초기 상태로 한다.Therefore, an embodiment of the present invention will be described in detail with reference to FIGS. 1 to 3 described above. When the user operates the dip switch 25 from the outside while the system is turned on, the processor 27 controls the control bus ( In response to the manipulated input of the dip switch 25 through P0-Pn, the processor 27 resets each part of the system to the initial state in step 3a.

상기 프로세서(27)가 초기화 과정을 수행하기 위해 프로세서(27)가 어드레스버스(Ad0- Ad7)을 통해 소정의 어드레스 신호를 출력하여 어드레스디코더(24)에서 디코딩하면 출력단(Q1-Q2)으로 선택 및 제어부(35), 롬(28), 램(29)을 칩실렉팅하기 위한 제어신호가 출력된다.In order for the processor 27 to perform an initialization process, the processor 27 outputs a predetermined address signal through the address bus Ad0-Ad7 and decodes the address decoder 24 to select the output terminals Q1-Q2. A control signal for chip-selecting the controller 35, the ROM 28, and the RAM 29 is output.

그리고 프로세서(27)의 제어버스(P0-Pn)를 통해 리드/라이트 제어신호와 어드레스버스(Ad0-Ad7)을통한 어드레스 신호를 롬(28)에 입력하여 롬(28)에 내장된 TTX디코더(100)의 디버깅용 프로그램을 램(29)으로 옮겨 저장한다.Then, the read / write control signal and the address signal through the address bus Ad0-Ad7 are inputted to the ROM 28 through the control bus P0-Pn of the processor 27, and the TTX decoder built in the ROM 28 ( The debugging program of 100) is moved to RAM 29 and stored.

또한 상기 램(29)은 프로세서(27)에서 어드레스버스(Ad0-Ad7) 및 데이타버스(D0-D7)를 통해 발생하는 어드레스 및 데이타 신호와 제어버스(P0-Pn)를 통해 출력되는 라이트 제어신호에 의해 상기 롬(28)의 프로그램 데이타를 램(29)에 일시 보관한다.In addition, the RAM 29 is an address and data signal generated through the address bus Ad0-Ad7 and the data bus D0-D7 in the processor 27 and a write control signal output through the control bus P0-Pn. This temporarily stores the program data of the ROM 28 in the RAM 29.

그리고 프로세서(27)에서 발생하는 제어버스(P0-Pn)의 제어신호에 의해 제2버퍼(22, 23)를 제어하여 TTX디코더(100)로 부터 발생된 각종 정보를 케이블(21)과 연결된 데이타/어드레스 버스(D0-D7, Ad0-Ad7)를 통해 제1, 제2버퍼(22, 23)에서 버퍼링된 후 어드레스 디코더(24)의 디코딩에 따라 램(29)을 칩실렉팅하고 프로세서(27)의 제어에 의해 램(29)으로 상기 TTX디코더(100)의 디버깅용 프로그램이 내장된 다른 영역에 저장시킨다.Then, the second buffers 22 and 23 are controlled by the control signals of the control buses P0-Pn generated by the processor 27 to connect various types of information generated from the TTX decoder 100 to the cable 21. Buffered in the first and second buffers 22 and 23 via the address buses D0-D7 and Ad0-Ad7, and then chip-selecting the RAM 29 according to the decoding of the address decoder 24 and the processor 27. Under the control of the RAM 29, the TTX decoder 100 is stored in another area in which the debugging program is embedded.

그리고 (3b)과정에서 프로세서(27)는 제어에 의해 램(29)으로 부터 TTX디코더(100)의 디버깅용 프로그램을 읽어 처리한다. 그리고 여기서 처리한 결과 데이타를 제2데이타 버퍼(34)에 입력한다.In the process (3b), the processor 27 reads and processes the debugging program of the TTX decoder 100 from the RAM 29 under control. The resultant data is then input to the second data buffer 34.

상기 제2데이타버퍼(34)는 클럭발생부(33)로 부터 송신부(30)를 통해 상기 터미널(300)로 전송할 송신용 병렬데이타를 직렬로 변환하도록 클럭을 받고, 선택 및 제어부(36)로 부터 상기 송신데이타를 병렬로 변환시키기 위한 제어신호를 받아 처리된다.The second data buffer 34 receives a clock from the clock generator 33 to serially convert the parallel data for transmission to be transmitted to the terminal 300 through the transmitter 30, and then selects and selects the controller 36. Is processed by receiving a control signal for converting the transmission data in parallel.

상기 제2데이타버퍼(34)에서 직렬로 변환된 데이타는 송신부(31)를 통해 RS-232C 라인으로 연결된 사용자 터이널(300)로 입력되어 사용자가 A ; CVDG테스트, B, RAM테스트, D ; DTP테스트, D ; 프리픽스 프로세스 테스트 중 한 테스트 모드를 A-D키 입력에 의해 선택하도록 터미널(300)의 모니터 상에 디스플레이 시킨다.The data converted in series from the second data buffer 34 is input to the user terminal 300 connected to the RS-232C line through the transmitter 31 so that the user A; CVDG test, B, RAM test, D; DTP test, D; One test mode during the prefix process test is displayed on the monitor of terminal 300 for selection by A-D key input.

터미널(300)에서 사용자가 키보드를 통해 A-D중 하나의 키를 입력하면 수신기(37)를 통해 제2데이타버스(34)에 입력하고 이때 선택 및 제어부(35)의 제어에 의해 상기 제2데이타버스(34)의 입력데이타를 병렬로 변환하여 프로세서(27)로 입력한다.When the user inputs one of the AD keys through the keyboard at the terminal 300, the user inputs the second data bus 34 through the receiver 37, and at this time, the second data bus is controlled by the selection and control of the controller 35. The input data of (34) is converted into parallel and input to the processor 27.

이때 프로세서(27)는 데이타버스(D0-D7)를 통해 상기 제2데이타버퍼(34)의 출력데이타를 (2c), (3e), (3i)과정과 같이 A-D키인지를 체킹한다.At this time, the processor 27 checks whether the output data of the second data buffer 34 is the A-D key through the data buses D0-D7 as shown in (2c), (3e) and (3i).

예를 들어 터이널(300)에서 사용자 "A"를 키입력했을 경우 프로세서(27)는 (3d)과정에서 CVDG테스트를 실행한다.For example, when the user 300 inputs the user "A" in the terminal 300, the processor 27 executes the CVDG test in step 3d.

상기 (3d)과정의 CVDG테스트를 제3도(3b)를 참조하여 상세히 설명한다.The CVDG test of step (3d) will be described in detail with reference to FIG. 3 (b).

CVDG테스트시 사용자가 1 : 인터페이스 코글, 2 : 세트 스크롤 테스트를 선택할 수 있도록 프로세서(27)에서 상기 데이타를 제2데이타버퍼(34)에 입력한다.In the CVDG test, the processor 27 inputs the data into the second data buffer 34 so that the user can select 1: interface coggle and 2: set scroll test.

상기 제2데이타버퍼(34)는 선택 및 제어부(35)에서 출력되는 제어신호에 의해 입력되는 병렬데이타를 직렬로 변환하여 송신부(36)를 통해 RS-232C 라인을 지나 터미널(300)로 입력하여 모니터에 디스플레이시킨다.The second data buffer 34 converts the parallel data input by the control signal output from the selection and control unit 35 into serial and inputs the terminal 300 through the RS-232C line through the transmission unit 36. Display on the monitor.

사용자가 터미널(300)의 모니터를 보고 "1" 또는 "2"번 키를 입력할 수 있게 되는데 예를 들어 하면 인터페이스 토글이 되고, "2"를 입력하고 세트스크롤 테스트 모드가 선택된다.The user can view the monitor of the terminal 300 and input the "1" or "2" key. For example, the interface is toggled, the "2" is entered, and the set scroll test mode is selected.

상기 선택된 "1" 또는 "2" 입력데이타가 제2데이타버퍼(34)에 입력할 시 선택 및 제어부(35)의 제어에 따라 제2데이타버퍼(34)에 입력된 데이타는 병렬로 변환되어 프로세서(27)로 입력된다. 이때 프로세서(27)는 (3n)과 (3o)과정에서 터미널(300)로 부터 "1" 또는 "2"버퍼 키가 입력되었는지를 체킹한다.When the selected " 1 " or " 2 " input data is input to the second data buffer 34, the data input to the second data buffer 34 is converted in parallel according to the selection and the control of the controller 35. It is inputted by (27). At this time, the processor 27 checks whether the "1" or "2" buffer key is input from the terminal 300 in steps 3n and 3o.

상기 (3n)과정에서 "1"에 키일때 프로세서(27)는 램(29)을 제어하여 TTX디코더(100)로 부터 받은 값을 저장하고 있는 3번째 레지스터 대용을 읽어 스위치 레지스터로 전송하고 (39)과정에서 상기 스위치 레지스터로 전송 데이타를 6번째 비트(DR6)의 값을 "1"로 하고 (3r)과정에서 7비트(DR7), 5비트(DR5), 4비트(DR4), 3비트(DR3)의 값은 "1"로 하고 2비트-0비트(DR2-DR0)의 값을 무관 조건으로 취급한다.In the process (3n), when the key is "1", the processor 27 controls the RAM 29 to read the third register substitute, which stores the value received from the TTX decoder 100, and transmit the read to the switch register (39). In the process, the 6th bit (DR6) is transferred to the switch register, and the value of the 6th bit (DR6) is set to "1". The value of DR3) is set to "1" and the value of 2 bits-0 bits (DR2-DR0) is treated as an unrelated condition.

그리고 프로세서(27)는 터미널(300)에서 입력되는 키데이타가 캐리지 리턴키인지 "ESC"키인지를 제2데이타버파(34)를 통해 입력하여 (3S)와 (3E)과정에서 검색한다.Then, the processor 27 inputs whether the key data inputted from the terminal 300 is a carriage return key or an "ESC" key through the second data wave 34 to search in steps 3S and 3E.

상기 (3S)과정에서 캐리지 리턴키의 입력에 확인되었으면 (3t)과정에서 상기 6비트(DR6)의 값을 반전( )시킨 후 상기 (3r)과정부터 다시 실행하고 "ESC"가 입력되었으면 처리를 끝낸다.If it is confirmed by input of the carriage return key in step (3S), invert () the value of the 6 bit (DR6) in step (3t), and execute again from step (3r), and if "ESC" is input, the process is performed. To finish.

그러나 프로세서(27)가 (30)과정에서 "2"번키 입력이 있으면 램(29)을 제어하여 TTX디코더(100)의 상태값이 저장된 영역인 3번키 레지스터를 Y스크롤 레지스터로 (3u)과정에서 전송하고 (3v)과정에서 프로세서(27)는 ''ENTER SCROLL OFF SET[XX]"의 디스플레이용 데이타를 출력하여 터미널(300)의 모니터에서 상기 상태를 디스플레이 시키기 위해 이에 대한 데이타를 제2데이타버퍼(34)에 입력한다.However, if the processor 27 has a "2" key input in the process (30), it controls the RAM 29 to convert the key register 3, which is the area where the state value of the TTX decoder 100 is stored, into the Y scroll register (3u). In step (3v), the processor 27 outputs data for display of 'ENTER SCROLL OFF SET [XX]' and displays the data for the second data buffer to display the state on the monitor of the terminal 300. Enter in (34).

상기 제2데이타 버퍼(34)는 상술한 바와 같이 선택 및 제어부(35)의 제어에 따라 병렬데이타를 직렬로 변환하여 송신부(3b)를 통해 터미널(300)에 입력시켜 디스플레이 되도록 한다.As described above, the second data buffer 34 converts the parallel data into a serial unit under the selection and the control of the control unit 35 so as to be input to the terminal 300 through the transmitter 3b for display.

그리고 프로세서(27)는 (3w)과정에서 송신부(3b) 및 제2데이타버퍼(34)를 통해 터미널(300)의 키보들 통해 입력되는 키입력되는 데이타를 기다린다.The processor 27 waits for keyed data input through the keyboards of the terminal 300 through the transmitter 3b and the second data buffer 34 in step 3w.

키입력값이 점프 주사에 대한 0-262라인에 대한 값인가를 체킹한다.Check if the key input value is for the 0-262 line for jump scan.

상기 (3w)과정에서 0-262라인에 대한 선택 키입력이 있을 때 (3x)과정에서 터미널(300)의 모니터로 크롤하도록 스크롤 스크린 제어데이타를 제2데이타버퍼(34) 및 송신부(36)를 통해 출력하여 터미널(300)의 모니터의 상태를 262라인까지 스크롤한다.In step (3w), when there is a selection key input for 0-262 lines, scroll screen control data is sent to the monitor of the terminal 300 in step (3x). It outputs through and scrolls the state of the monitor of the terminal 300 to 262 lines.

그리고 프로세서(27)는 상기한 바와 같이 (3y)과정에서 캐리지 리턴에 따른 입력을 기다려 캐리지 리턴키 입력이 있으면 리턴되어 (3k)과정에서 "ESC"키 입력이 있으면 처리를 끝낸다.As described above, the processor 27 waits for an input corresponding to a carriage return in step 3y, and returns when there is a carriage return key input. In step 3k, the processor 27 ends the processing.

상술한 바와 같이 디버그 시스템을 이용하여 TTX디코더의 프로세서 및 램이나 롬 그밖의 다른 프로세서의 이상 유무를 쉽게 찾아낼 수 있는 장점과 또한 RS-232C 입출력 라인을 통하여 터미널과 연결하므로써 사용자와 직접 통신을 할 수 있는 이점이 있다.As described above, it is easy to find out the abnormality of TTX decoder processor and RAM or other processor by using debug system, and it is possible to directly communicate with user by connecting to terminal through RS-232C input / output line. There is an advantage to this.

Claims (1)

텔리텍스트(TTX)시스템 디버깅 시스템에 있어서, 40핀의 케이블을 TTX디코더(100)의 호스트 프로세서와 연결하여 TTX디코더(100)와 디버그 시스템(200)을 연결하도록 한 케이블(21)과, 상기 케이블(21)의 어드레스 라인(Ad0-Ad7) 및 데이타 라인(D0-D7)에 연결되어 상기 TTX디코더(100)와의 송수신데이타를 양방향으로 버퍼링하는 제1버퍼(22) 및 제2버퍼(23)와, 상기 TTX디코더(100)와의 상기 케이블(21)로 연결되어 케이블(21)을 통한 제어버스(P0-Pn)의 출력신호로 부터 리드 제어신호를 받아 상기 TTX디코더(100)를 디버깅하기 위한 디버그용 프로그램 데이타를 리드하며 상기 디버깅 프로그램 및 시스템 운용프로그램 데이타를 저장하고 있는 롬(28)와, 상기 제2버퍼(22,23) 및 상기 롬(28)과 어드레스버스(Ad0-Ad7) 및 데이타버스(D0-D7)와 연결되어 상기 제어버스(P0-Pn)를 통한 제어신호에 의해 상기 롬(28)으로 프로그램을 받아 랜덤으로 저장하고 있으며 상기 TTX디코더(100)의 상태 데이타 및 디버깅에 따른 테스트 데이타를 일시 저장하는 램(29)와, 상기 제어버스(P0-Pn)로 부터 발생되는 제어신호에 따라 상기 제2데이타버퍼(34)에서 데이타 송수신시 RS-232C입출력 방식의 데이타 흐름에 따라 병렬 데이타를 직렬데이타로 혹은 그 역으로 보내거나 받도록 제어신호를 발생하는 선택 및 제어부(35)와, 상기 제어버스(P0-Pn)와 연결되어 상기 TTX디코더(100)의 메인프로세서와 디버그 시스템(200)의 프로세서와 인에이블 또는 디스에이블 하도록 사용자의 선택 신호가 인가되는 딥(Dip)스위치(25)와, 상기 디버그 시스템(200)의 프로세서로써 상기 롬(28), 램(29) 및 제1, 2버퍼(22, 23)와 어드레스버스(Ad0-Ad7) 및 데이타버스(D0-D7)간 연결되고 상기 딥스위치(25)간에 제어버스(P0-Pn)가 연결되어 전체 시스템을 제어하며 상기 딥스위치(25)로 부터 외부에서 가해 준 신호에 의해 TTX디코더(100)의 디버깅을 위한 프로그램 데이터를 받아 처리하여 제어신호 및 디버깅 처리결과를 데이타로 출력하는 프로세서(27)와, 상기 제1버퍼(22)의 입출력단(D0-D7) 및 롬(28), 램(29), 프로세서(27)의 어드레스버스(Ad0-Ad7)와 연결되어 상기 어드레스버스(Ad0-AD7)를 통한 어드레스 신호에 따라 롬(28), 램(29)과 선택 및 제어부(35)를 선택하기 위한 칩실렉터단(CS)의 제어신호를 발생하는 어드레스 디코너(24)와, 사용자에 의해 조작되는 것으로 터미널과 데이타 전송에 필요한 보우레이트를 선택할 수 있는 스위치(26)와, 상기 제어버스(P0-Pn)와 연결되어 디버그 시스템(200)의 구동에 필요한 기본 클럭을 제공하는 발진 및 분주회로(30)와, 상기 발진 및 분주회로(30) 및 스위치(26)간에 상기 제어버스(P0-Pn)와 연결되어 상기 스위치(26)의 선택에 따라 상기 발진 및 분주회로(30)에서 출력하는 발진주파수의 선택으로 전송속도를 선택하는 보우레이터 선택부(31)와, 상기 제어버스(P0-Pn)와 연결되어 제어버스(P0-Pn)를 통해 입력되는 신호로부터 상기 보우레이터 선택부(31)에 선택되는 전송속도에 맞는 보우레이트 주파수를 소정으로 분배하는 분주기(32)와, 상기 제1버퍼(23), 프로세서(27), 롬(28) 및 램(29)의 데이다버스(D0-D7)와 연결되어 사용자 측의 입출력 데이타를 선택 및 제어부(35)의 제어에 따라 버퍼링하는 제2데이타 버퍼(34)와, 상기 제2데이타버퍼(34)와 연결되어 출력되는 병렬데이타를 직렬로 변환하여 RS-232C 연결방식의 라인을 통해 사용자측 터미널(300)측으로 전송하는 송신기(36)와, 상기 사용자측 터미널(300)의 RS-232C 연결방식 라인을 통해 입력된 직렬데이타를 병렬데이타로 변환하여 상기 디버그 시스템(200)의 제2데이타버퍼(34)에 입력하는 수신기(37)와, 상기 분주기(32)에서 분주된 클럭신호를 받아 상기 제2데이타버퍼(34)에서 요구되는 데이타의 직렬전송 및 수신데이타의 속도와 동기시키기 위한 클럭을 발생하는 클럭발생부(33)로 구성함을 특징으로 하는 문자다중 방송 디코더의 디버그 시스템.In the teletext (TTX) system debugging system, a cable 21 for connecting a 40-pin cable to the host processor of the TTX decoder 100 to connect the TTX decoder 100 and the debug system 200, and the cable A first buffer 22 and a second buffer 23 which are connected to the address line Ad 0 -Ad 7 and the data line D 0 -D 7 of 21 to buffer the transmission / reception data with the TTX decoder 100 in both directions; Debugging for debugging the TTX decoder 100 by receiving a read control signal from an output signal of a control bus P0-Pn through a cable 21 connected to the cable 21 with the TTX decoder 100. ROM 28, which reads the program data and stores the debugging program and system operating program data, and the second buffers 22 and 23, the ROM 28, the address buses (Ad0-Ad7), and the data bus. Control signal connected to the (D0-D7) through the control bus (P0-Pn) RAM 29 that receives the program into the ROM 28 and randomly stores therein the RAM 29 temporarily storing the state data of the TTX decoder 100 and the test data according to the debugging, and from the control bus P0-Pn. Selection and control unit for generating a control signal to send or receive parallel data in serial data or vice versa in accordance with the data flow of the RS-232C input / output method when transmitting and receiving data in the second data buffer 34 according to the generated control signal ( 35) and a dip connected to the control bus P0-Pn to which a user's selection signal is applied to enable or disable the main processor of the TTX decoder 100 and the processor of the debug system 200. The switch 25, the ROM 28, the RAM 29, and the first and second buffers 22 and 23, the address bus Ad0-Ad7 and the data bus D0- as processors of the debug system 200. D7) is connected between the dip switch (25) The control bus (P0-Pn) is connected to control the entire system and receive and process the program data for debugging of the TTX decoder 100 by a signal applied from the outside from the dip switch 25 to control signals and debugging A processor 27 for outputting the result as data, and an input / output terminal D0-D7 of the first buffer 22 and an address bus (Ad0-Ad7) of the ROM 28, the RAM 29, and the processor 27. Is connected to the address to generate a control signal of the chip selector stage CS for selecting the ROM 28, the RAM 29 and the selection and the control unit 35 according to the address signal through the address bus Ad0-AD7. It is connected with the control bus (P0-Pn) and the switch (26) which selects the baud rate required for the terminal and data transmission by the de-corner (24), and is operated by a user, and is used to drive the debug system (200). An oscillation and division circuit 30 which provides the necessary basic clock; The transmission speed is selected by selecting the oscillation frequency output from the oscillation and division circuit 30 according to the selection of the switch 26 by being connected to the control bus P0-Pn between the circuit 30 and the switch 26. A bow that is connected to the bow selector 31 and the control bus P0-Pn and that is adapted to the baud rate selected by the bowator selector 31 from a signal input through the control bus P0-Pn. A divider 32 that distributes a predetermined rate frequency, and connected to the first bus 23, the processor 27, the ROM 28, and the dada buses D0-D7 of the RAM 29 are connected to the user. RS-232C connection method by converting the second data buffer 34 which buffers the input / output data of the input / output data according to the control of the controller 35 and the parallel data which is connected to the second data buffer 34 and outputted in series. Transmitter 36 and the user terminal 300 to transmit to the user terminal 300 side through the line of The receiver 37 converts the serial data input through the RS-232C connection type line into parallel data and inputs it to the second data buffer 34 of the debug system 200, and is divided by the divider 32. And a clock generator 33 for receiving a clock signal and generating a clock for synchronizing with the speed of serial transmission and reception of data required by the second data buffer 34. Debug system.
KR1019860011755A 1986-12-31 1986-12-31 Debugging system of teletext KR900006471B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019860011755A KR900006471B1 (en) 1986-12-31 1986-12-31 Debugging system of teletext

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019860011755A KR900006471B1 (en) 1986-12-31 1986-12-31 Debugging system of teletext

Publications (2)

Publication Number Publication Date
KR880008641A KR880008641A (en) 1988-08-31
KR900006471B1 true KR900006471B1 (en) 1990-08-31

Family

ID=19254745

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019860011755A KR900006471B1 (en) 1986-12-31 1986-12-31 Debugging system of teletext

Country Status (1)

Country Link
KR (1) KR900006471B1 (en)

Also Published As

Publication number Publication date
KR880008641A (en) 1988-08-31

Similar Documents

Publication Publication Date Title
US4964124A (en) Computer peripheral tester
US5640545A (en) Frame buffer interface logic for conversion of pixel data in response to data format and bus endian-ness
KR900006471B1 (en) Debugging system of teletext
US4803551A (en) Module for use in receiving teletext signal
US5752184A (en) Remote control signal receiving circuit capable of processing a signal from a plurality of kinds of remote control transmitter
US5892459A (en) Processing circuit for input signal from key or remote-controller
KR101379762B1 (en) Display apparatus and image display method thereof
US6625207B1 (en) Low power consumption data transmission circuit and method, and liquid crystal display apparatus using the same
US6104728A (en) Device for selecting address words by demultiplex decoding
JPH11327867A (en) Personal computer control unit using set top box
KR970008525B1 (en) Data communication of a plural micom
KR100524020B1 (en) Wireless display and a method for displaying alnalog image signal
CN212570348U (en) Multi-screen display detection device
KR860002186B1 (en) Teletext receiver module
JP4065471B2 (en) Display control apparatus, display control method, and storage medium
KR100475862B1 (en) A computer momitor which can be used as a web terminal
KR0178248B1 (en) Apparatus for testing system using hdlc in the full electronic switching system
KR20040022640A (en) computer system and method for transmitting data thereof
JP3818617B2 (en) Transmission unit, image display device, image input device and image input / output system
JPH08237414A (en) Facsimile transmission and reception method using bus for common use and its device
KR930000995B1 (en) Graphic processing apparatus
KR100244877B1 (en) Integrated interface module
KR960005441B1 (en) Method for monitoring computer picture for teacher in classroom
KR20060134654A (en) Apparatus for implementing osd of multiple image processors adopting display and method thereof
JPH0396058A (en) Facsimile connecting device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 19970829

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee