KR20070094397A - Apparatus and method for transmitting of data - Google Patents

Apparatus and method for transmitting of data Download PDF

Info

Publication number
KR20070094397A
KR20070094397A KR1020060025027A KR20060025027A KR20070094397A KR 20070094397 A KR20070094397 A KR 20070094397A KR 1020060025027 A KR1020060025027 A KR 1020060025027A KR 20060025027 A KR20060025027 A KR 20060025027A KR 20070094397 A KR20070094397 A KR 20070094397A
Authority
KR
South Korea
Prior art keywords
interface
data
jtag
data transmission
transmitting
Prior art date
Application number
KR1020060025027A
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 KR1020060025027A priority Critical patent/KR20070094397A/en
Priority to PCT/KR2007/001177 priority patent/WO2007108596A1/en
Publication of KR20070094397A publication Critical patent/KR20070094397A/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B63SHIPS OR OTHER WATERBORNE VESSELS; RELATED EQUIPMENT
    • B63CLAUNCHING, HAULING-OUT, OR DRY-DOCKING OF VESSELS; LIFE-SAVING IN WATER; EQUIPMENT FOR DWELLING OR WORKING UNDER WATER; MEANS FOR SALVAGING OR SEARCHING FOR UNDERWATER OBJECTS
    • B63C9/00Life-saving in water
    • B63C9/08Life-buoys, e.g. rings; Life-belts, jackets, suits, or the like
    • B63C9/20Life-buoys, e.g. rings; Life-belts, jackets, suits, or the like characterised by signalling means, e.g. lights
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/387Information transfer, e.g. on bus using universal interface adapter for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B63SHIPS OR OTHER WATERBORNE VESSELS; RELATED EQUIPMENT
    • B63CLAUNCHING, HAULING-OUT, OR DRY-DOCKING OF VESSELS; LIFE-SAVING IN WATER; EQUIPMENT FOR DWELLING OR WORKING UNDER WATER; MEANS FOR SALVAGING OR SEARCHING FOR UNDERWATER OBJECTS
    • B63C9/00Life-saving in water
    • B63C9/08Life-buoys, e.g. rings; Life-belts, jackets, suits, or the like
    • B63C9/082Annular or U-shaped life-buoys intended to be thrown to persons
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F21LIGHTING
    • F21SNON-PORTABLE LIGHTING DEVICES; SYSTEMS THEREOF; VEHICLE LIGHTING DEVICES SPECIALLY ADAPTED FOR VEHICLE EXTERIORS
    • F21S9/00Lighting devices with a built-in power supply; Systems employing lighting devices with a built-in power supply
    • F21S9/02Lighting devices with a built-in power supply; Systems employing lighting devices with a built-in power supply the power supply being a battery or accumulator
    • F21S9/03Lighting devices with a built-in power supply; Systems employing lighting devices with a built-in power supply the power supply being a battery or accumulator rechargeable by exposure to light
    • F21S9/037Lighting devices with a built-in power supply; Systems employing lighting devices with a built-in power supply the power supply being a battery or accumulator rechargeable by exposure to light the solar unit and the lighting unit being located within or on the same housing

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Ocean & Marine Engineering (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Sustainable Development (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

An apparatus and a method for transmitting data are provided to save time used in data communication, be easy to use, and reduce cost by enabling a user to transmit the data to a device through a USB(Universal Serial Bus) communication method in a user's PC(Personal Computer) and enabling a device terminal to selectively use a desired interfacing method. An apparatus for transmitting data(20) comprises the followings: a USB(Universal Serial Bus) communication interface unit(21) which performs USB communication with a PC(Personal Computer); a code extractor(23) which extracts an interface identification code included in inputted data; a first converter(24) which converts the data to transmit and receive the data to a first interface; a second converter(25) which converts the data to transmit and receive the data to a second interface; and a control unit(22) which controls to transmit and receive the data to an interface corresponding to the extracted identification code.

Description

데이터 전송장치 및 그 방법{Apparatus and method for transmitting of data} Apparatus and method for transmitting of data

도 1은 본 발명의 데이터전송장치의 개념을 설명하기 위한 블록도, 1 is a block diagram illustrating the concept of a data transmission apparatus of the present invention;

도 2는 도 1의 디바이스의 상세구성을 포함하는 블록도, 2 is a block diagram including the detailed configuration of the device of FIG.

도 3은 도 1의 데이터전송장치의 상세블럭도, 3 is a detailed block diagram of the data transmission apparatus of FIG. 1;

도 4는 본 발명의 일실시예에 따른 데이터전송장치를 포함하는 디바이스의 블록도, 4 is a block diagram of a device including a data transmission apparatus according to an embodiment of the present invention;

도 5는 본 발명의 일실시예에 따른 데이터전송방법을 설명하기 위한 흐름도.5 is a flowchart illustrating a data transmission method according to an embodiment of the present invention.

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

10 : PC 11 : 코드삽입부10: PC 11: code insertion unit

20 : 데이터전송장치 21 : USB인터페이스부 20: data transmission device 21: USB interface unit

22 : 제어부 23 : 코드추출부22: control unit 23: code extraction unit

24 : 제 1컨버터 25 : 제 2컨버터24: first converter 25: second converter

30 : 디바이스 31 : CPU30: device 31: CPU

311 : JTAG컨트롤러 32 : SRAM311: JTAG controller 32: SRAM

33 : ROM 33: ROM

본 발명은 PC와 디바이스간의 데이터를 송수신하기 위한 데이터 전송장치 및 그 방법에 관한 것이다. The present invention relates to a data transmission apparatus and method for transmitting and receiving data between a PC and a device.

일반적으로, 최근 멀티미디어 PC, 홈 네트워크(Home network) 등과 같은 새로운 형태의 PC 환경과 PC를 중심으로 한 통신환경이 대두되면서 PC가 제어하게 되는 주변기기가 급속히 증가하게 되었다.In general, as a new type of PC environment, such as a multimedia PC, a home network, and a communication environment centering on the PC, a peripheral device controlled by the PC is rapidly increasing.

이에 따라 현재와 같은 PC와 주변기기의 1:1 접속방법으로는 주변기기의 확장성이라는 측면에서 포화상태에 다다랐다는 판단하에 PC와 전화관련 업체 및 모니터 업체가 주도가 되어 새로운 개념의 PC와 주변기기의 접속방안을 강구하게 되었다.       As a result, the current 1: 1 connection between PCs and peripheral devices has reached saturation in terms of scalability of peripheral devices. I came up with a connection plan.

그 결과, 중저속 데이터 전송용의 USB(Universal serial bus)가 PC를 중심으로다양한 디바이스들과의 통신 프로토콜(Protocol)로 사용된다.   As a result, a universal serial bus (USB) for low and medium speed data transfer is used as a protocol for communication with various devices centering on a PC.

즉, USB는 각종 모뎀, 프린터, 조이스틱, 마우스, 키보드, 스캐너 등과 같은 데이터 전송 속도가 12[Mbps]이하의 중저속인 디바이스에 적용된다.       That is, USB is applied to devices with low to medium speeds of 12 [Mbps] or less such as various modems, printers, joysticks, mice, keyboards, scanners, and the like.

이러한 다양한 디바이스와 통신하기 위한 USB통신이외에 JTAG통신을 사용하게 되는데 원래 JTAG이란, Joint test access group라는 단체에서 제안한 복잡한 회로를 가진 칩들의 내부 하드웨어를 테스트하기 위한 포트였다.       JTAG communication is used in addition to USB communication to communicate with these various devices. Originally, JTAG was a port for testing internal hardware of chips having complex circuits proposed by a group called Joint Test Access Group.

이러한 부품 및 회로의 정상작동 여부를 용이하게 테스트하기 위해 하드웨어를 디버깅(debugging)하는 전용 에뮬레이터(Emulator)가 도입되었으며, 최근에는 JTAG방식의 에뮬레이터가 널리 사용되고 있다.       In order to easily test the normal operation of such components and circuits, a dedicated emulator for debugging hardware has been introduced. Recently, a JTAG emulator has been widely used.

이러한 JTAG방식은 CPLD(Complex Programmable Logic Device)와 같은 대규모 LSI(Large Scale Integratedcircuit)에 테스트 전용의 표준화된 로직 및 테스트핀을 내장해 디버깅에 활용한다. JTAG방식의 인터페이스는 기본적으로 TDI, TMS, TCK, TRST 및 TDO의 5개의 핀에 의해 제어되며, 테스트 핀들을 단말기의 부품이나 회로에 연결된 FPCB(Flexible Printed Circuit Board)와 일대일로 연결시켜 단말기내의 제어부(예를 들면, MSM)를 통해 하드웨어 검사나 연결상태 등의 모든 테스트를 위해 사용한다.       This JTAG method is used for debugging by embedding standardized logic and test pins dedicated to the test in a large large scale integrated circuit (LSI) such as a complex programmable logic device (CPLD). JTAG type interface is basically controlled by 5 pins of TDI, TMS, TCK, TRST and TDO, and the test pins are connected one-to-one with FPCB (Flexible Printed Circuit Board) connected to the parts or circuit of the terminal to control the terminals (For example, MSM) is used for all tests, such as hardware checks and connections.

기존의 PC와 연결되어 통신을 수행하는 디바이스는 USB와 JTAG통신방법을 갖추고 있으면서 USB를 통해 PC와 통신하거나 JTAG을 통해서 PC와 통신한다.        A device that communicates with an existing PC has USB and JTAG communication methods and communicates with a PC through USB or with a PC through JTAG.

그러나, 이러한 USB방식과 JTAG방식을 통해 디바이스를 사용하기 위해서는 USB인터페이스와 JTAG 인터페이스를 위한 별도의 공간이 디바이스에 할당되어야 하고 디바이스가 정상동작을 하기 위한 전원을 '온'한 후에 필요한 소프트웨어를 다운로드하거나 소프트웨어를 변경할 경우 JTAG을 사용하여 소프트웨어를 다운로드해야 한다.        However, in order to use the device through the USB method and the JTAG method, separate spaces for the USB interface and the JTAG interface must be allocated to the device, and the necessary software must be downloaded after the device is 'on' for normal operation. If you change the software, you must download the software using JTAG.

따라서, 상황에 따라 서로 다른 방법으로 데이터를 전송해야 하기 때문에 번거롭고 각각 별도의 장치를 갖추어야 하는 문제점이 있었다.        Therefore, there is a problem in that it is cumbersome and has to have separate devices because data must be transmitted in different ways depending on the situation.

따라서, 본 발명의 목적은 전술한 문제점을 해결할 수 있도록 PC와 디바이스간에 USB통신을 채택하고 디바이스내의 데이터전송을 위한 인터페이스를 선택적으로 사용할 수 있어 두 가지 인터페이싱방식을 하나의 디바이스에서 모두 사용가능하도록 하여 데이터를 전송할 수 있는 데이터전송장치 및 그 방법을 제공함에 있다. Accordingly, an object of the present invention is to adopt the USB communication between the PC and the device and to selectively use the interface for data transmission in the device to solve the above problems, so that both interfacing methods can be used in one device. A data transmission apparatus capable of transmitting data and a method thereof are provided.

이와 같은 목적을 달성하기 위한 본 발명에 따른 데이터전송장치는 PC 및 PC와 USB통신방식으로 연결되어 제 1인터페이스와 제 2인터페이스를 통해 데이터를 송수신하는 디바이스 간의 데이터를 전송하기 위한 데이터전송장치에 있어서, PC와 USB통신을 수행하기 위한 USB통신인터페이스부; 입력된 데이터 중에 포함된 인터페이스 식별코드를 추출하기 위한 코드추출부; 제 1인터페이스로 데이터를 송수신하도록 변환하는 제 1컨버터; 제 2인터페이스로 데이터를 송수신하도록 변환하는 제 2컨버터; 및 추출된 식별코드에 해당하는 인터페이스로 데이터를 송수신하도록 제어하는 제어부를 포함하는 것을 특징으로 한다. The data transmission apparatus according to the present invention for achieving the above object is a data transmission apparatus for transmitting data between a PC and a device connected to the PC via a USB communication method and transmitting and receiving data through the first interface and the second interface; USB communication interface unit for performing USB communication with the PC; A code extracting unit for extracting an interface identification code included in the input data; A first converter for converting data to be transmitted and received with a first interface; A second converter converting data to be transmitted and received through a second interface; And a control unit for controlling to transmit and receive data through the interface corresponding to the extracted identification code.

또한 본 발명에 따르면, 제 1인터페이스는 마이크로프로세서 인터페이스인 것을 특징으로 한다. In addition, according to the present invention, the first interface is characterized in that the microprocessor interface.

또한 본 발명에 따르면, 제 2인터페이스는 JTAG인터페이스인 것을 특징으로 한다. In addition, according to the present invention, the second interface is characterized in that the JTAG interface.

또한 본 발명에 따르면, 제 2컨버터는 JTAG호스트인 것을 특징으로 한다. In addition, according to the present invention, the second converter is characterized in that the JTAG host.

본 발명에 따른 데이터전송방법은 PC 및 PC와 USB통신방식으로 연결되어 제 1인터페이스와 제 2인터페이스를 통해 데이터를 송수신하는 디바이스 간의 데이터를 전송하기 위한 데이터전송방법에 있어서, PC로부터 수신된 데이터 중에 포함된 인터페이스 식별코드를 추출하는 제 1단계; 추출된 식별코드에 해당하는 인터페이스모드로 전환하는 제 2단계; 및 전환된 인터페이스가 상기 제 1인터페이스인 경우 제 1인터페이스를 통해, 제 2인터페이스인 경우 제 2인터페이스를 통해 데이터를 전송하는 제 3단계를 포함하는 것을 특징으로 한다. A data transmission method according to the present invention is a data transmission method for transmitting data between a PC and a device connected to a PC via a USB communication method and transmitting and receiving data through a first interface and a second interface, the data being transmitted from a PC. Extracting the included interface identification code; A second step of switching to an interface mode corresponding to the extracted identification code; And a third step of transmitting data through the first interface when the converted interface is the first interface and through the second interface when the second interface is the second interface.

또한 본 발명에 따르면, 제 1인터페이스는 마이크로프로세서인터페이스인 것을 특징으로 한다. In addition, according to the present invention, the first interface is characterized in that the microprocessor interface.

또한 본 발명에 따르면, 제 2인터페이스는 JTAG인터페이스인 것을 특징으로 한다. In addition, according to the present invention, the second interface is characterized in that the JTAG interface.

이하, 첨부한 도 1 내지 도 5를 참조하여 본 발명의 바람직한 실시예를 상세히 기술하기로 한다. Hereinafter, with reference to the accompanying Figures 1 to 5 will be described in detail a preferred embodiment of the present invention.

도 1은 본 발명의 데이터전송장치의 개념을 설명하기 위한 블록도이다. 1 is a block diagram illustrating the concept of a data transmission apparatus of the present invention.

도 1을 참고하면, USB통신을 수행하는 PC(10)와 마이크로프로세서인터페이스와 JTAG인터페이스를 수행하는 디바이스(30), 및 PC(10)와 디바이스(30)의 사이에 존재하는 데이터전송장치(20)를 포함한다. 데이터전송장치(20)는 PC(10)와 USB통 신을 하고 디바이스(30)가 두 가지 인터페이스로 인터페이싱하여 PC(10)와 디바이스(30)간의 데이터를 송수신하도록 한다. PC(10)와 디바이스(30)사이에 데이터전송장치(20)는 PC(10)로부터는 USB통신을 통해 데이터를 수신 받아 디바이스(30)단에 전달할 때는 두 가지 인터페이스중 하나를 선택하여 데이터를 전송할 수 있다. 즉, 이를 위해 PC(10)의 코드삽입부(11)는 디바이스(30)단의 인터페이스를 선택하기 위한 커맨드(command)를 전송하고자하는 데이터에 식별코드로 삽입한다. 데이터전송장치(20)는 PC(10)로부터 전송하고자하는 데이터에 삽입된 식별코드를 디코딩하여 어떤 인터페이스로의 데이터전송인지를 판단하여 해당 인터페이스를 통해 데이터를 전송하도록 한다. Referring to FIG. 1, a PC 10 performing USB communication, a device 30 performing a microprocessor interface and a JTAG interface, and a data transmission device 20 existing between the PC 10 and the device 30. ). The data transmission device 20 communicates with the PC 10 via USB and the device 30 interfaces with two interfaces to transmit and receive data between the PC 10 and the device 30. The data transmission device 20 between the PC 10 and the device 30 receives data from the PC 10 via USB communication and transmits the data to the device 30 by selecting one of two interfaces. Can transmit That is, for this purpose, the code insertion unit 11 of the PC 10 inserts a command for selecting an interface of the device 30 into the data to be transmitted as an identification code. The data transmission device 20 decodes the identification code inserted into the data to be transmitted from the PC 10 to determine the data transmission to which interface to transmit the data through the corresponding interface.

여기서 두 가지의 인터페이스를 가지고 데이터를 송수신하기 위한 디바이스(30)의 구성은 도 2를 참고하여 설명한다. Here, the configuration of the device 30 for transmitting and receiving data with two interfaces will be described with reference to FIG. 2.

도 2는 도 1의 디바이스의 상세구성을 포함하는 블록도이다. 2 is a block diagram including the detailed configuration of the device of FIG.

도 2를 참고하면, 디바이스(30)는 JTAG인터페이스를 위한 JTAG콘트롤러(311)를 포함하며 각 구성을 제어하여 해당 데이터를 송수신하기 위한 CPU(31)와, 마이크로프로세서인터페이싱을 위한 마이크로프로세서인터페이스를 통해 데이터를 송수신하기 위한 저장수단인 SRAM(32), 및 JTAG컨트롤러(311)에 의해 JTAG인터페이스를 통해 데이터를 송수신하기 위한 저장수단인 ROM(33)을 포함한다. CPU(31)는 마이크로프로세서 인터페이스를 통해 데이터가 수신되는 경우는 SRAM(32)쪽으로 마이크로프로세서인터페이스를 통해 데이터를 송신한다. 이후는 개설된 마이크로프로세서인터페이스를 통해 PC(10)로부터의 데이터가 SRAM(32)에 바로 저장된다. Referring to FIG. 2, the device 30 includes a JTAG controller 311 for a JTAG interface and controls each component through a CPU 31 for transmitting and receiving data and a microprocessor interface for microprocessor interface. SRAM 32, which is a storage means for transmitting and receiving data, and ROM 33, which is a storage means for transmitting and receiving data through the JTAG interface by the JTAG controller 311. The CPU 31 transmits data through the microprocessor interface to the SRAM 32 when data is received through the microprocessor interface. Thereafter, data from the PC 10 is directly stored in the SRAM 32 through the opened microprocessor interface.

그리고, CPU(31)는 JTAG인터페이스를 통해 데이터가 수신되는 경우는 JTAG컨트롤러(311)를 활성화시켜 ROM(33)쪽으로 JTAG인터페이스를 통해 데이터를 송신한다. 마찬가지로 JTAG인터페이스를 통해 PC(10)로부터의 데이터가 ROM(33)에 바로 저장된다. When data is received through the JTAG interface, the CPU 31 activates the JTAG controller 311 and transmits the data to the ROM 33 via the JTAG interface. Similarly, data from the PC 10 is directly stored in the ROM 33 via the JTAG interface.

따라서, JTAG인터페이스를 통해 데이터를 전송해야하는 기능이 필요한 디바이스(30)에 적용하면, 필요에 따라 마이크로프로세서인터페이스와 선택적으로 사용할 수 있으며, 평상시에는 마이크로프로세서인터페이스를 통해 데이터를 송수신할 수 있다. Therefore, when applied to the device 30 that requires the function to transfer data through the JTAG interface, it can be selectively used with the microprocessor interface as needed, and can normally transmit and receive data through the microprocessor interface.

이러한 도 2의 디바이스(30)를 하기의 도 3의 데이터전송장치(20)의 상세블록도를 참고하여 좀 더 상세히 설명한다. The device 30 of FIG. 2 will be described in more detail with reference to the detailed block diagram of the data transmission apparatus 20 of FIG. 3.

도 3은 도 1의 데이터전송장치의 상세블럭도이다. 3 is a detailed block diagram of the data transmission apparatus of FIG. 1.

도 3을 참고하면, 데이터전송장치(20)는 PC(10)와 USB통신을 수행하기 위한 USB인터페이스부(21)와, 입력된 데이터중에 포함된 인터페이스 식별코드를 추출하기 위한 코드추출부(23)와, 상기 추출된 코드에 커맨드에 따라 인터페이싱방법을 선택하여 해당 인터페이스로 데이터를 송수신하도록 제어하는 제어부(22)와, 마이크로프로세서인터페이스로 데이터를 송수신하도록 변환하는 제 1컨버터(24), 및 JTAG인터페이스로 데이터를 송수신하도록 변환하는 제 2컨버터(25)를 포함한다. Referring to FIG. 3, the data transmission device 20 may include a USB interface unit 21 for performing USB communication with the PC 10, and a code extraction unit 23 for extracting an interface identification code included in the input data. And a control unit 22 for selecting an interfacing method according to a command to the extracted code to control data transmission and reception through a corresponding interface, a first converter 24 for converting data to be transmitted and received through a microprocessor interface, and a JTAG. And a second converter 25 that converts data to and from the interface.

도 3에서, USB인터페이스부(21)는 PC(10)와 USB통신라인으로 연결되어 PC(10)로부터 데이터를 송수신할 수 있으며 수신된 데이터를 제어부(22)로 출력한다. 제어부(22)는 수신되는 데이터를 코드추출부(23)로 전송하여 인터페이싱방법 을 선택하기 위한 커맨드신호가 코드추출부(23)로부터 추출되면, 이를 입력받아 제 1 및 제 2컨버터(24, 25)를 제어한다.In FIG. 3, the USB interface unit 21 is connected to the PC 10 via a USB communication line to transmit and receive data from the PC 10 and output the received data to the controller 22. The control unit 22 transmits the received data to the code extracting unit 23, and when the command signal for selecting the interfacing method is extracted from the code extracting unit 23, the control unit 22 receives the first and second converters 24 and 25. ).

여기서, 식별코트추출결과 마이크로프로세서인터페이스의 커맨드신호일 경우, 제 1컨버터(24)는 마이크로프로세서인터페이스를 통해 데이터를 SRAM(32)으로 전송하기 위해 PC(10)로부터 수신된 데이터 중 SRAM(32)에 저장될 데이터만을 추출하여 CPU(31)로 전송한다. 그러면, CPU(31)는 전송된 데이터를 SRAM(32)에 저장하고 이후에는 계속적으로 동일한 마이크로프로세서인터페이스를 통해서 데이터가 전송된다. 따라서 고속의 데이터전송이 가능하다. Here, when the identification coat extraction result is a command signal of the microprocessor interface, the first converter 24 transmits to the SRAM 32 of the data received from the PC 10 to transmit the data to the SRAM 32 through the microprocessor interface. Only data to be stored is extracted and transmitted to the CPU 31. The CPU 31 then stores the transferred data in the SRAM 32 and subsequently transfers the data through the same microprocessor interface. Therefore, high speed data transmission is possible.

한편, 식별코드추출결과 JTAG인터페이스의 커맨드신호일 경우, 제 2컨버터(25)는 JTAG인터페이스를 통해 데이터를 ROM(33)으로 전송하기 위해 JTAG호스트의 역할을 수행하고 CPU(31)의 JTAG콘트롤러(311)에게 통신요청을 하게 된다. 그에 따라 JTAG콘트롤러(311)로부터의 통신응답이 있으면 JTAG인터페이스를 통해 계속적으로 데이터가 전송된다. On the other hand, when the identification code extraction result is a command signal of the JTAG interface, the second converter 25 serves as a JTAG host to transfer data to the ROM 33 through the JTAG interface and the JTAG controller 311 of the CPU 31. Will send a communication request. Accordingly, if there is a communication response from the JTAG controller 311, data is continuously transmitted through the JTAG interface.

도 4는 본 발명의 일실시예에 따른 데이터전송장치를 포함하는 디바이스의 블록도이다. 4 is a block diagram of a device including a data transmission apparatus according to an embodiment of the present invention.

도 4를 참고하면, 데이터전송장치(20)는 PC(10)와 디바이스(30) 사이에 위치하는데 이를 위해 디바이스(30)장치의 내부에 데이터전송장치(20)를 칩의 형태로 장착하는 경우가 바람직하므로 이하 도 4에서는 디바이스에 장착된 칩의 형태로 설명한다. Referring to FIG. 4, the data transmission device 20 is located between the PC 10 and the device 30. For this purpose, the data transmission device 20 is mounted in the device 30 in the form of a chip. Since 4 is preferable, the following description will be given in the form of a chip mounted on the device.

즉, 디바이스(30)내부에 CPU(31)의 전단에 본 발명의 데이터전송장치(20)를 장착한다. 여기서의 데이터전송장치(20)의 내부블록은 도 3에서 설명한 바와 같다. 데이터전송장치(20)에 PC(10)단에는 USB통신만을 수행하도록 연결되며, 디바이스(30)의 CPU(31)와는 두 가지 인터페이싱방식을 선택적으로 사용할 수 있도록 하며 이때 디바이스(30)의 상세구성에 대한 설명은 도 2에서 설명한 바와 같다. That is, the data transfer apparatus 20 of the present invention is mounted in the device 30 in front of the CPU 31. The internal block of the data transmission device 20 is as described with reference to FIG. The PC 10 terminal is connected to the data transmission apparatus 20 so as to perform only USB communication, and allows two interface methods to be selectively used with the CPU 31 of the device 30. Description of the same as described with reference to FIG.

이렇게 하여 본 발명에 따른 데이터전송장치를 설명하였으며 도 5를 참고하여 데이터전송방법을 설명한다. Thus, the data transmission apparatus according to the present invention has been described, and the data transmission method will be described with reference to FIG.

도 5는 본 발명의 일실시예에 따른 데이터전송방법을 설명하기 위한 흐름도이다.5 is a flowchart illustrating a data transmission method according to an embodiment of the present invention.

도 5를 참고하면, 제어부(22)는 PC(10)로부터 인터페이싱방식을 식별하기 위한 코드를 포함하는 데이터를 수신한다(S10). 데이터가 수신되면 수신된 데이터중에 인터페이스 식별코드를 추출한다(S20). 식별코드의 추출이 완료되면 마이크로프로세서인터페이스 코드인지를 판단한다(S30). 판단결과 마이크로프로세서인터페이스 코드이면 마이크로프로세서인터페이스 모드로 전환한다(S40). 즉, 여기서 마이크로프로세서인터페이스 모드라는 것은 제 1컨버터(24)를 구동시켜 마이크로프로세서인터페이스를 통해 SRAM으로 데이터를 전송하는 것을 말한다. Referring to FIG. 5, the controller 22 receives data including a code for identifying an interfacing scheme from the PC 10 (S10). If data is received, the interface identification code is extracted from the received data (S20). When the extraction of the identification code is completed, it is determined whether the microprocessor interface code (S30). If it is determined that the microprocessor interface code, the microprocessor interface mode (S40). That is, the microprocessor interface mode herein refers to driving the first converter 24 to transfer data to the SRAM through the microprocessor interface.

한편, 판단결과, 마이크로프로세서인터페이스 코드가 아닌 경우는 JTAG인터페이스 모드로 전환한다(S50). 여기서 JTAG인터페이스 모드라는 것은 제 2컨버터(25)를 구동시켜서 마이크로프로세서 인터페이스를 통해 ROM으로 데이터를 전송하는 것을 말한다. On the other hand, if it is determined that the microprocessor interface code is not, switch to the JTAG interface mode (S50). In this case, the JTAG interface mode means driving the second converter 25 to transfer data to the ROM through the microprocessor interface.

이렇게 하여 인터페이스가 정해지면 해당하는 인터페이스를 통해 데이터를 전송한다(S60).In this way, when the interface is determined, data is transmitted through the corresponding interface (S60).

따라서, 본 발명은 사용자가 자신의 PC에 USB통신방식을 통해 디바이스에 데이터를 전송하며 디바이스단에서는 원하는 인터페이싱방식을 선택적으로 사용할 수 있으므로 데이터 통신에 사용되는 시간을 절약할 수 있으며, 사용이 편리하고 비용을 절약할 수 있는 효과를 제공한다. Therefore, in the present invention, the user transmits data to a device through a USB communication method to his PC, and the device-side can selectively use a desired interfacing method, thereby saving time used for data communication and being convenient to use. Provides cost savings.

Claims (7)

PC 및 PC와 USB통신방식으로 연결되어 제 1인터페이스와 제 2인터페이스를 통해 데이터를 송수신하는 디바이스 간의 데이터를 전송하기 위한 데이터전송장치에 있어서, In the data transmission apparatus for transmitting data between a PC and a device connected to the PC via a USB communication method and transmitting and receiving data through the first interface and the second interface, 상기 PC와 USB통신을 수행하기 위한 USB통신인터페이스부;A USB communication interface unit for performing USB communication with the PC; 상기 입력된 데이터 중에 포함된 인터페이스 식별코드를 추출하기 위한 코드추출부;A code extracting unit for extracting an interface identification code included in the input data; 제 1인터페이스로 데이터를 송수신하도록 변환하는 제 1컨버터;A first converter for converting data to be transmitted and received with a first interface; 제 2인터페이스로 데이터를 송수신하도록 변환하는 제 2컨버터; 및A second converter converting data to be transmitted and received through a second interface; And 상기 추출된 식별코드에 해당하는 인터페이스로 데이터를 송수신하도록 제어하는 제어부를 포함하는 것을 특징으로 하는 데이터전송장치.And a control unit controlling to transmit and receive data through the interface corresponding to the extracted identification code. 제 1항에 있어서, The method of claim 1, 상기 제 1인터페이스는 The first interface 마이크로프로세서 인터페이스인 것을 특징으로 하는 데이터전송장치.And a microprocessor interface. 제 1항 또는 제 2항에 있어서, The method according to claim 1 or 2, 상기 제 2인터페이스는 The second interface JTAG인터페이스인 것을 특징으로 하는 데이터전송장치.A data transmission apparatus, characterized in that the JTAG interface. 제 3항에 있어서,The method of claim 3, wherein 상기 제 2컨버터는 The second converter JTAG호스트인 것을 특징으로 하는 데이터전송장치.A data transmission apparatus, characterized in that the JTAG host. PC 및 PC와 USB통신방식으로 연결되어 제 1인터페이스와 제 2인터페이스를 통해 데이터를 송수신하는 디바이스 간의 데이터를 전송하기 위한 데이터전송방법에 있어서, In the data transmission method for transmitting data between a PC and a device connected to the PC via a USB communication method and transmitting and receiving data through the first interface and the second interface, 상기 PC로부터 수신된 데이터 중에 포함된 인터페이스 식별코드를 추출하는 제 1단계;Extracting an interface identification code included in data received from the PC; 상기 추출된 식별코드에 해당하는 인터페이스모드로 전환하는 제 2단계; 및A second step of switching to an interface mode corresponding to the extracted identification code; And 상기 전환된 인터페이스가 상기 제 1인터페이스인 경우 제 1인터페이스를 통해, 제 2인터페이스인 경우 제 2인터페이스를 통해 데이터를 전송하는 제 3단계를 포함하는 것을 특징으로 하는 데이터전송방법.And a third step of transmitting data through the first interface when the switched interface is the first interface and through the second interface when the second interface is the second interface. 제 5항에 있어서, The method of claim 5, 상기 제 1인터페이스는 The first interface 마이크로프로세서인터페이스인 것을 특징으로 하는 데이터전송방법.And a microprocessor interface. 제 5항 또는 제 6항에 있어서, The method according to claim 5 or 6, 상기 제 2인터페이스는 The second interface JTAG인터페이스인 것을 특징으로 하는 데이터전송방법.A data transmission method, characterized in that the JTAG interface.
KR1020060025027A 2006-03-17 2006-03-17 Apparatus and method for transmitting of data KR20070094397A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020060025027A KR20070094397A (en) 2006-03-17 2006-03-17 Apparatus and method for transmitting of data
PCT/KR2007/001177 WO2007108596A1 (en) 2006-03-17 2007-03-09 Apparatus and method for transmitting data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060025027A KR20070094397A (en) 2006-03-17 2006-03-17 Apparatus and method for transmitting of data

Publications (1)

Publication Number Publication Date
KR20070094397A true KR20070094397A (en) 2007-09-20

Family

ID=38522608

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060025027A KR20070094397A (en) 2006-03-17 2006-03-17 Apparatus and method for transmitting of data

Country Status (2)

Country Link
KR (1) KR20070094397A (en)
WO (1) WO2007108596A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8462024B2 (en) 2011-09-02 2013-06-11 Samsung Electro-Mechanics Co., Ltd. Digital signal converter and method of converting digital signal

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8463976B2 (en) 2009-06-23 2013-06-11 Lg Electronics Inc. Dual modem device and controlling method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000003236A (en) * 1998-06-15 2000-01-07 Nec Corp Interface extension device
JP3641169B2 (en) * 1999-08-06 2005-04-20 株式会社エヌ・ティ・ティ・ドコモ USB compatible electronic devices
GB0025593D0 (en) * 2000-10-18 2000-12-06 Sgs Thomson Microelectronics On-chip emulator communication
KR20050039955A (en) * 2003-10-27 2005-05-03 주식회사 팬택앤큐리텔 Mobile communication terminal having a interface structure for both uart and jtag

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8462024B2 (en) 2011-09-02 2013-06-11 Samsung Electro-Mechanics Co., Ltd. Digital signal converter and method of converting digital signal

Also Published As

Publication number Publication date
WO2007108596A1 (en) 2007-09-27

Similar Documents

Publication Publication Date Title
CN108475227B (en) Test functional assembly and data debugging method
US7752342B2 (en) Interface integrated circuit device for a USB connection
CN107704346B (en) SOC chip debugging method and system
US20050235187A1 (en) Apparatus and method for testing motherboard having PCI express devices
US7353426B2 (en) Switcher for debugging and debugging method
CN103136138A (en) Chip, chip debugging method and communication method for chip and external devices
US9411011B2 (en) Test messaging demodulate and modulate on separate power pads
US7177965B2 (en) Linking addressable shadow port and protocol for serial bus networks
CN102479132A (en) Test system and test method for multiple chips
US6754863B1 (en) Scan interface chip (SIC) system and method for scan testing electronic systems
US20070198884A1 (en) Peripheral connector with boundary-scan test function
KR20070094397A (en) Apparatus and method for transmitting of data
CN110109006A (en) A kind of JTAG level pinboard, veneer and debugging single board system
US6321174B1 (en) Apparatus and method for testing add-on device of a computer system
CN108055212B (en) Method and device compatible with PSE chip
US8788898B2 (en) Remote testing system
CN114860514A (en) Semiconductor device and method of operating the same
US7409469B2 (en) Multi-chip digital system having a plurality of controllers with input and output pins wherein self-identification signal are received and transmitted
CN115344105A (en) Chip with multiplexed interfaces and debugging system of chip
KR100809259B1 (en) Device for interface of communication module
KR100796304B1 (en) Apparatus and method for transmitting of data
CN109425823B (en) Sequential test access port selection in JTAG interface
US6963829B1 (en) Method and apparatus for interfacing a spectrum digital incorporated TMS470 evaluation board with a spectrum digital incorporated TMS320LC54X evaluation board
CN213958047U (en) Debugger, debugging device and debugging system
CN110442548B (en) System on chip and interface data processing method and device thereof

Legal Events

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