KR20000001946A - Pattern generator using a computer - Google Patents

Pattern generator using a computer Download PDF

Info

Publication number
KR20000001946A
KR20000001946A KR1019980022433A KR19980022433A KR20000001946A KR 20000001946 A KR20000001946 A KR 20000001946A KR 1019980022433 A KR1019980022433 A KR 1019980022433A KR 19980022433 A KR19980022433 A KR 19980022433A KR 20000001946 A KR20000001946 A KR 20000001946A
Authority
KR
South Korea
Prior art keywords
computer
pattern generator
data
microcontroller
connector
Prior art date
Application number
KR1019980022433A
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 KR1019980022433A priority Critical patent/KR20000001946A/en
Publication of KR20000001946A publication Critical patent/KR20000001946A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/02Digital function generators
    • G06F1/022Waveform generators, i.e. devices for generating periodical functions of time, e.g. direct digital synthesizers

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE: A computer-aided pattern generator is provided to, upon developing a software for a microcontroller, eliminate the inconvenience of repeatedly erasing/writing updated software from/to the microcontroller. CONSTITUTION: The pattern generator includes a computer(100) for producing various patterns of waveform signals, a first connector(210) coupled to an output port(110) of the computer, a second connector(230) coupled to a plurality of prove pins, and a buffer circuit(220) coupled between the first and second connectors. In the pattern generator, a software is executed in the computer(100) instead of a microcontroller. The output port(110) of the computer is used like an input/output port of the microcontroller.

Description

컴퓨터를 이용한 파형 발생기(PATTERN GENERATOR USING COMPUTER)PATTERN GENERATOR USING COMPUTER

본 발명은 컴퓨터 시스템에 관한 것으로, 구체적으로는 컴퓨터의 패러럴 포트에 임의의 패턴을 발생하는 컴퓨터 시스템에 관한 것이다.TECHNICAL FIELD The present invention relates to a computer system, and more particularly, to a computer system that generates an arbitrary pattern on a parallel port of a computer.

마이크로프로세서(microprocessor)는 데이터의 처리를 위한 산술 논리 연산과 제어의 능력을 갖는 집적 회로로 대개 VLSI 칩 하나로 구성된다. 마이크로 프로세서는 컴퓨터, 특히 마이크로 컴퓨터의 CPU로 이용되는 경우가 많지만, 단말기, 프린터나 디스크 장치, 복사기나 팩시밀리, 세탁기나 냉장고와 같은 가전 제품, 비디오 게임기, 공장의 자동화된 기계 등의 처리장치로도 많이 사용된다. 마이크로프로세서는 제작 단계에서 메모리에 저장된 소프트웨어(software)에 따라 소정의 동작을 수행하도록 설계된다.A microprocessor is an integrated circuit that has the capability of arithmetic logic operations and control for processing data, usually consisting of one VLSI chip. Microprocessors are often used as CPUs in computers, especially microcomputers, but they can also be used as processing devices such as terminals, printers or disk units, copiers or facsimiles, household appliances such as washing machines or refrigerators, video game machines, and automated machines in factories. It is used a lot. The microprocessor is designed to perform certain operations in accordance with software stored in memory at the manufacturing stage.

시스템 계발 단계에 있어서, 마이크로프로세서의 메모리에 저장되는 소프트웨어는 잦은 수정 과정을 거치게 된다. 따라서, 소프트웨어 수정시 메모리에 저장된 데이터를 지우고 다시 기입해야 하는 과정을 반복하는 불편함이 있었다.In the system development stage, software stored in the microprocessor's memory is subject to frequent modification. Therefore, there is an inconvenience of repeating the process of deleting and rewriting the data stored in the memory when modifying the software.

따라서, 본 발명의 목적은 상술한 제반 문제점을 해결하기 위해 제안된 것으로, 컴퓨터에서 소프트웨어를 실행하여 마이크로컨트롤러의 입출력 포트와 같은 기능을 하는 장치를 제공하는데 있다.Accordingly, an object of the present invention is to solve the above-mentioned problems, and to provide an apparatus that functions as an input / output port of a microcontroller by executing software on a computer.

도 1은 본 발명의 바람직한 실시예에 따른 패턴 발생기의 어댑터 구조를 보여주는 도면;1 shows an adapter structure of a pattern generator according to a preferred embodiment of the present invention;

도 2는 도 1에 도시된 버퍼 회로의 상세 회로도; 그리도FIG. 2 is a detailed circuit diagram of the buffer circuit shown in FIG. 1; FIG. And

도 3은 본 발명의 바람직한 실시예에 따른 패턴 발생기의 출력 파형의 일 예를 도시한 파형도이다.3 is a waveform diagram illustrating an example of an output waveform of a pattern generator according to a preferred embodiment of the present invention.

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

100 : 컴퓨터 110 : 프린터 포트100: computer 110: printer port

200 : 어댑터 210 : 커넥터200: adapter 210: connector

220 : 버퍼 회로 300 : 프로브220: buffer circuit 300: probe

상술한 바와 같은 본 발명의 목적을 달성하기 위한 본 발명의 특징에 의하면, 파형 발생기는: 다양한 형태의 파형을 갖는 신호들을 출력하는 호스트와; 상기 호스트에 구비되는 출력 포트와 접속되는 커넥터와; 상기 커넥터의 입출력 신호들을 버퍼링하기 위한 복수 개의 버퍼들과; 상기 버퍼들의 일단에 접속되는 복수 개의 입출력 단자들을 포함한다.According to a feature of the present invention for achieving the object of the present invention as described above, the waveform generator comprises: a host for outputting signals having various types of waveforms; A connector connected to an output port provided in the host; A plurality of buffers for buffering input / output signals of the connector; It includes a plurality of input and output terminals connected to one end of the buffer.

(실시예)(Example)

이하 본 발명에 따른 실시예를 첨부된 도면 도 1 내지 도 3을 참조하여 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to FIGS. 1 to 3.

마이크로 프로세서의 데이터 전송 방법에는 시리얼(serial) 데이터 전송 방식과 패러럴(parallel) 데이터 전송 방식이 있다. 시리얼 전송 방식은 전송 속도는 다소 느리나 적은 수의 와이어(wire)를 이용하여 데이터를 전송할 수 있고, 패러럴 데이터 전송 방식은 다수의 와이어(wire)를 필요로하나 단시간에 다량의 데이터를 전송할 수 있어 전송 속도가 빠르다.The data transmission method of the microprocessor includes a serial data transmission method and a parallel data transmission method. The serial transmission method is a bit slow, but can transmit data using a small number of wires, and the parallel data transmission method requires a large number of wires, but a large amount of data can be transmitted in a short time. The transmission speed is fast.

도 1은 본 발명의 바람직한 실시예에 따른 패턴 발생기의 어댑터 구조를 보여주는 도면이다.1 is a view showing an adapter structure of a pattern generator according to a preferred embodiment of the present invention.

도 1을 참조하면, 어댑터(200)는 컴퓨터(100)의 프린터 포트(110)와 접속하기 위한 커넥터(connector)(210)와, 버퍼 회로(220) 및 프로브들(probe)(300_1, 300_1, 300_3, 300_n)과 접속되는 출력단자(230)로 구성된다. 컴퓨터에 저장된 소프트웨어는 컴퓨터의 패러럴 포트(프린터 포트)의 각각의 핀에 하이 또는 로우의 신호를 출력하도록 프로그램되어 있다. 프로그램에 대해서는 추후 상세히 설명한다.Referring to FIG. 1, an adapter 200 includes a connector 210 for connecting to a printer port 110 of a computer 100, a buffer circuit 220, and probes 300_1, 300_1, And an output terminal 230 connected to 300_3 and 300_n. The software stored in the computer is programmed to output a high or low signal on each pin of the computer's parallel port (printer port). The program will be described later in detail.

다시 도 1을 참조하면, 버퍼 회로(210)는 상기 커넥터(210)를 통해 입력된 신호를 프로브들(300_1, 300_1, 300_3, 300_n)로 전송하는 버스 역할과 상기 프로브들로부터 입력되는 신호를 컴퓨터에 전송하기 위한 버스 역할을 한다.Referring back to FIG. 1, the buffer circuit 210 serves as a bus that transmits a signal input through the connector 210 to the probes 300_1, 300_1, 300_3, and 300_n and a computer that receives a signal input from the probes. It serves as a bus for transmitting to.

도 2는 도 1에 도시된 버퍼 회로의 상세 회로도이다.FIG. 2 is a detailed circuit diagram of the buffer circuit shown in FIG. 1.

도 2를 참조하면, 버퍼 회로(220)는 버퍼들(BF1, BF2) 및 저항(R1)으로 구성된다. 상기 버퍼 BF1의 입력단에는 데이터 핀 a가 접속되고, 상기 버퍼 BF2의 입력단에는 데이터 핀 b가 접속되어 있다. 상기 버퍼 BF1의 출력단과 상기 버퍼 BF2의 입력단은 서로 접속되어 프로브와 연결된다. 또한, 상기 접속점에는 저항 R1이 접속되고, 저항 R1의 타단에는 전원(Vcc)이 접속된다. 상기 버퍼 BF1은 컴퓨터로부터 입력되는 신호를 프로브로 전송하기 위한 버퍼이고, 버퍼 BF2는 프로브에서 입력되는 신호를 컴퓨터로 전송하기 위한 버퍼이다.Referring to FIG. 2, the buffer circuit 220 includes buffers BF1 and BF2 and a resistor R1. The data pin a is connected to the input terminal of the buffer BF1, and the data pin b is connected to the input terminal of the buffer BF2. The output terminal of the buffer BF1 and the input terminal of the buffer BF2 are connected to each other and connected to the probe. In addition, a resistor R1 is connected to the connection point, and a power supply Vcc is connected to the other end of the resistor R1. The buffer BF1 is a buffer for transmitting a signal input from the computer to the probe, and the buffer BF2 is a buffer for transmitting a signal input from the probe to the computer.

도 3은 본 발명의 바람직한 실시예에 따른 패턴 발생기의 출력 파형의 일 예를 도시한 파형도이다.3 is a waveform diagram illustrating an example of an output waveform of a pattern generator according to a preferred embodiment of the present invention.

도 3의 파형도를 출력하기 위한 프로그램은 다음과 같다.A program for outputting the waveform diagram of FIG. 3 is as follows.

#define Data_Port1 0x378#define Data_Port1 0x378

#define Data_Port2 0x37A#define Data_Port2 0x37A

#define LOGIC_HIGH 0x04#define LOGIC_HIGH 0x04

#define LOGIC_LOW 0x0C#define LOGIC_LOW 0x0C

void GenSIGNAL(void){void GenSIGNAL (void) {

outportb(Data_Port1, LOGIC_HIGH);outportb (Data_Port1, LOGIC_HIGH);

outportb(Data_Port2, LOGIC_HIGH);outportb (Data_Port2, LOGIC_HIGH);

delay(3*T);delay (3 * T);

outportb(Data_Port1, LOGIC_LOW);outportb (Data_Port1, LOGIC_LOW);

delay(2*T);delay (2 * T);

outportb(Data_Port2, LOGIC_LOW);outportb (Data_Port2, LOGIC_LOW);

delay(4*T);delay (4 * T);

outportb(Data_Port1, LOGIC_HIGH);outportb (Data_Port1, LOGIC_HIGH);

outportb(Data_Port2, LOGIC_HIGH);outportb (Data_Port2, LOGIC_HIGH);

delay(3*T);delay (3 * T);

}}

상기 프로그램에서 outportb 서브루틴은 하이(LOGIC_HIGH) 또는 로우(LOGIC_LOW) 신호를 프린트 포트의 데이터 핀1(Data_Port1) 또는 데이터 핀2(Data_Port2)로 출력하도록 프로그램되어 있다. 상기 프로그램에는 나타내지 않았지만, inportb 라는 서브루틴을 프로그래밍하여 프로브의 신호를 컴퓨터로 입력할 수 있다. 즉, 프로브에 나타나는 신호를 모니터링할 수 있다.In the program, the outportb subroutine is programmed to output a high (LOGIC_HIGH) or a low (LOGIC_LOW) signal to data pin 1 (Data_Port1) or data pin 2 (Data_Port2) of the print port. Although not shown in the above program, a subroutine called inportb can be programmed to input a probe signal to a computer. That is, the signal appearing on the probe can be monitored.

이상과 같은 본 발명에 의하면, 컴퓨터에서 소프트웨어를 실행하여 마이크로컨트롤러의 입출력 포트와 같은 기능을 수행할 수 있다.According to the present invention as described above, it is possible to perform the same function as the input / output port of the microcontroller by executing software on a computer.

Claims (1)

다양한 형태의 파형을 갖는 신호들을 출력하는 호스트와;A host for outputting signals having various types of waveforms; 상기 호스트에 구비되는 출력 포트와 접속되는 커넥터와;A connector connected to an output port provided in the host; 상기 커넥터의 입출력 신호들을 버퍼링하기 위한 복수 개의 버퍼들과;A plurality of buffers for buffering input / output signals of the connector; 상기 버퍼들의 일단에 접속되는 복수 개의 입출력 단자들을 포함하는 것을 특징으로 하는 파형 발생기.And a plurality of input / output terminals connected to one end of the buffers.
KR1019980022433A 1998-06-15 1998-06-15 Pattern generator using a computer KR20000001946A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980022433A KR20000001946A (en) 1998-06-15 1998-06-15 Pattern generator using a computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980022433A KR20000001946A (en) 1998-06-15 1998-06-15 Pattern generator using a computer

Publications (1)

Publication Number Publication Date
KR20000001946A true KR20000001946A (en) 2000-01-15

Family

ID=19539576

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980022433A KR20000001946A (en) 1998-06-15 1998-06-15 Pattern generator using a computer

Country Status (1)

Country Link
KR (1) KR20000001946A (en)

Similar Documents

Publication Publication Date Title
JP3174617B2 (en) High-speed integrated circuit test using JTAG
US20020147939A1 (en) On-chip debug system with a data band selector
EP0165517A2 (en) Emulator for non-fixed instruction set VLSI devices
US20030110453A1 (en) Method and system for use of a field programmable function within a chip to enable configurable I/O signal timing characteristics
EP0654742A2 (en) Multiple bus interface
CN111045964B (en) PCIE interface-based high-speed transmission method, storage medium and terminal
KR20110124617A (en) System-on-chip and debugging method thereof
US20020162055A1 (en) Trace circuit
US5515530A (en) Method and apparatus for asynchronous, bi-directional communication between first and second logic elements having a fixed priority arbitrator
US7036046B2 (en) PLD debugging hub
US5287455A (en) ROM socket communication device for data transfer beween a host computer and a microprocessor based system
US20020069303A1 (en) Universal controller expansion module system, method & apparatus
EP1532534B1 (en) Universal approach for simulating, emulating, and testing a variety of serial bus types
KR20000001946A (en) Pattern generator using a computer
US6052746A (en) Integrated circuit having programmable pull device configured to enable/disable first function in favor of second function according to predetermined scheme before/after reset
JPH05257731A (en) Probe terminating device for incircuit emulator
CN105260335A (en) Data processing system and method for extending optical interface
US6549031B1 (en) Point to point alternating current (AC) impedance compensation for impedance mismatch
KR100205608B1 (en) Microcontroller developing system
KR200334309Y1 (en) Bus Signal Generating Device Using Parallel Port
JP3542027B2 (en) Semiconductor device provided with burn-in stress circuit and method for applying burn-in stress to semiconductor device
KR900003621Y1 (en) Data exchange apparatus among different processors
JP3074978B2 (en) Emulation device
CN117149690A (en) Port configuration method of electronic equipment and PCIE Switch chip
Girao et al. VXI instrumentation: message-based or register-based devices?

Legal Events

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