KR100622246B1 - Mobile phone having uart line switch - Google Patents

Mobile phone having uart line switch Download PDF

Info

Publication number
KR100622246B1
KR100622246B1 KR1020050048234A KR20050048234A KR100622246B1 KR 100622246 B1 KR100622246 B1 KR 100622246B1 KR 1020050048234 A KR1020050048234 A KR 1020050048234A KR 20050048234 A KR20050048234 A KR 20050048234A KR 100622246 B1 KR100622246 B1 KR 100622246B1
Authority
KR
South Korea
Prior art keywords
switch
uart
external device
line
input
Prior art date
Application number
KR1020050048234A
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 KR1020050048234A priority Critical patent/KR100622246B1/en
Application granted granted Critical
Publication of KR100622246B1 publication Critical patent/KR100622246B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Abstract

본 발명은 UART(universal asynchronous receiver transmitter)라인 스위치를 구비한 이동통신단말기에 관한 것으로, 특히 입출력 커넥터로부터 데이터를 송, 수신하여 사용자의 선택에 따라 제어부에 연결된 UART라인 또는 프로세싱(processing) 모듈에 연결된 UART라인으로 송, 수신하도록 스위칭하는 UART라인 스위치를 구비한 이동통신단말기에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a mobile communication terminal having a universal asynchronous receiver transmitter (UART) line switch. In particular, the present invention relates to a UART line or a processing module connected to a control unit according to a user's selection by transmitting and receiving data from an input / output connector. The present invention relates to a mobile communication terminal having a UART line switch for transmitting and receiving a UART line.

이를 위하여 본 발명은 외부장치와 데이터를 송, 수신하는 입출력 커넥터; 상기 입출력 커넥터를 통해 상기 외부장치에 연결되며 제어신호에 따라 상기 외부장치가 제1 UART 라인 또는 제2 UART 라인에 연결되도록 선택적으로 스위칭하는 스위치; 상기 제2 UART 라인을 통해 상기 스위치에 연결되어 상기 스위치의 스위칭에 따라 상기 외부장치와 상기 데이터를 송, 수신하는 프로세싱 모듈; 상기 스위치의 스위칭을 제어하기 위한 제어신호를 상기 스위치에 출력하고, 상기 제1 UART 라인을 통해 상기 스위치에 연결되어 상기 스위치의 스위칭에 따라 상기 외부장치와 상기 데이터를 송, 수신하는 제어부;를 포함하는 것을 특징으로 하는 UART 라인 스위치를 구비한 이동통신단말기를 제공한다.To this end, the present invention is an input and output connector for transmitting and receiving data with an external device; A switch connected to the external device through the input / output connector and selectively switching the external device to be connected to a first UART line or a second UART line according to a control signal; A processing module connected to the switch through the second UART line to transmit and receive data with the external device according to the switching of the switch; A control unit which outputs a control signal for controlling switching of the switch to the switch and is connected to the switch through the first UART line to transmit and receive the external device and the data according to the switching of the switch. It provides a mobile communication terminal having a UART line switch, characterized in that.

UART 라인, 와이파이 모듈, 스위치 UART line, wifi module, switch

Description

UART라인 스위치를 구비한 이동통신단말기 {mobile phone having UART line switch}Mobile communication terminal with JRT line switch {mobile phone having UART line switch}

도 1 은 본 발명의 일실시예에 따른 UART 라인 스위치를 구비한 GSM 단말기와 컴퓨터 간의 데이터 통신 방법을 수행하는 시스템의 구성도이다.1 is a block diagram of a system for performing a data communication method between a GSM terminal and a computer having a UART line switch according to an embodiment of the present invention.

도 2는 본 발명의 다른 일시예에 따른 GSM 단말기와 컴퓨터 간의 데이터 통신 방법을 수행하는 시스템의 구성도이다.2 is a block diagram of a system for performing a data communication method between a GSM terminal and a computer according to another embodiment of the present invention.

도 3은 본 발명의 일실시예에 따른 GSM 단말기 스위치의 작동흐름도이다.3 is an operation flowchart of a GSM terminal switch according to an embodiment of the present invention.

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

100: 컴퓨터 200: JTAG 다운로더100: Computer 200: JTAG Downloader

300: GSM 단말기 310: 입출력 커넥터300: GSM terminal 310: input / output connector

320: 스위치 330: 와이파이 모듈320: switch 330: wifi module

340: 저장부 350: 제어부340: storage unit 350: control unit

본 발명은 UART(universal asynchronous receiver transmitter) 라인 스위치를 구비한 이동통신단말기에 관한 것으로, 특히 입출력 커넥터로부터 데이터를 송, 수신하여 사용자의 선택에 따라 제어부에 연결된 UART라인 또는 프로세싱 모듈에 연결된 UART라인으로 송, 수신하도록 스위칭하는 UART라인 스위치를 구비한 이동통신단말기에 관한 것이다.The present invention relates to a mobile communication terminal having a universal asynchronous receiver transmitter (UART) line switch, and more particularly, to a UART line connected to a control unit or a UART line connected to a processing module by transmitting and receiving data from an input / output connector. The present invention relates to a mobile communication terminal having a UART line switch for transmitting and receiving.

최근 휴대폰 등 이동통신단말기의 보급이 확대되고 이를 통해 수행할 수 있는 기능범위가 확대됨에 따라, 이동통신단말기와 컴퓨터 간에 데이터를 송, 수신할 필요성이 증대하고 있으며 관련 기술도 급속히 발전하고 있다.Recently, as the spread of mobile communication terminals such as mobile phones has expanded and the range of functions that can be performed through them has increased, the necessity of transmitting and receiving data between mobile communication terminals and computers has been increasing, and related technologies have been rapidly developed.

UART(universal asynchronous receiver transmitter, 범용 비동기 송수신 장치)는 컴퓨터 내부의 병렬데이터를 직렬데이터로 변환하여 컴퓨터의 직렬포트와 컴퓨터 외부 장치를 직접 연결하기 위한 인터페이스이다. GSM(global system for mobile communication) 단말기와 컴퓨터를 연결하여 소프트웨어 다운로드, 디버깅(debugging), 교정(calibrtion) 등의 작업을 수행하기 위해서는 컴퓨터의 직렬 포트인 COM1 내지 COM4 포트와 GSM 단말기의 UART 포트를 연결해야 한다. 이를 위해 컴퓨터의 직렬포트와 JTAG 다운로더를 연결하고, 해당 JTAG 다운로더와 GSM 단말기를 연결하여 데이터 통신을 수행할 수 있다. JTAG 다운로더는 컴퓨터와 GSM 단말기를 연결하는 장치로서 다운로딩, 디버깅, 교정 등을 수행하기 위한 프로그램을 내장하고 있고 이를 위한 여러 포트들을 구비하고 있다. UART (Universal Asynchronous Receiver Transmitter) is an interface for converting parallel data inside a computer into serial data and directly connecting the serial port of the computer to the external device. To connect a global system for mobile communication (GSM) terminal and a computer, download the software, debug, calibrate, etc., the COM1 through COM4 ports of the computer and the UART port of the GSM terminal. Should be. For this purpose, the serial port of the computer can be connected to the JTAG downloader, and the JTAG downloader and the GSM terminal can be connected to perform data communication. JTAG Downloader is a device that connects computer and GSM terminal. It has built-in program to perform downloading, debugging, calibration, etc. and has several ports for it.

종래의 GSM 단말기는 입출력 커넥터, 와이파이 모듈, 저장부 및 제어부를 포함한다. 상기 입출력 커넥터는 컴퓨터와 GSM 단말기 간의 데이터 통신을 위한 UART 인터페이스를 제공한다. 그러나 상기 입출력 커넥터를 통해서는 상기 제어부에 대한 데이터 통신만을 수행할 수 있으며 상기 와이파이 모듈 등 중앙처리장치(cpu) 또는 보조처리기(co-processor)를 구비한 별도의 프로세싱 모듈과의 직접적인 데이터 통신을 수행할 수 없다. 이를 위해 상기 와이파이 모듈과 연결된 별도의 UART 인터페이스를 상기 GSM 단말기에 설치해야 한다. 즉, 사용자가 상기 컴퓨터를 통해 상기 GSM 단말기의 와이파이 모듈에 다운로딩, 디버깅, 교정 등을 수행하기 위해서는 별도의 UART 인터페이스를 상기 GSM 단말기에 설치해야 한다.The conventional GSM terminal includes an input / output connector, a Wi-Fi module, a storage unit, and a controller. The input / output connector provides a UART interface for data communication between a computer and a GSM terminal. However, only the data communication with respect to the controller can be performed through the input / output connector, and the direct data communication with a separate processing module having a CPU or a co-processor such as the Wi-Fi module can be performed. Can not. To this end, a separate UART interface connected to the Wi-Fi module should be installed in the GSM terminal. That is, in order for a user to download, debug, and calibrate the Wi-Fi module of the GSM terminal through the computer, a separate UART interface must be installed in the GSM terminal.

그러나 와이파이 모듈 등 프로세싱 모듈에 컴퓨터를 통한 디버깅, 교정 작업을 수행하기 위해 추가적인 UART 인터페이스를 설치하는 것은 GSM 단말기의 생산비용을 증가시킬 뿐만 아니라 GSM 단말기의 공간을 낭비하는 문제점이 있다.However, installing an additional UART interface in a processing module such as a Wi-Fi module to perform debugging and calibration through a computer not only increases the production cost of the GSM terminal but also wastes space in the GSM terminal.

본 발명의 목적은, 상기 문제점을 해결하기 위한 것으로, 이동통신단말기, 특히 GSM 단말기에 별도의 UART 인터페이스를 설치하지 않고서도 컴퓨터와 해당 GSM 단말기 간의 데이터 통신을 통해 와이파이 모듈 등의 프로세싱 모듈에 디버깅(debugging), 교정(calibration)작업, 코어(core) 프로그램 등의 다운로드 작업, GSM 단말기 메모리에 데이터 읽기 및 쓰기 작업 등을 수행 할 수 있도록 함에 있다.SUMMARY OF THE INVENTION An object of the present invention is to solve the above problems, and to debug in a processing module such as a Wi-Fi module through data communication between a computer and the corresponding GSM terminal without installing a separate UART interface in a mobile communication terminal, particularly a GSM terminal. debugging, calibration, download of core program, data read and write to GSM terminal memory.

본 발명의 다른 목적은, 제어부와 스위치 간에 감지선을 설치하여 입출력 커넥터가 외부장치와 연결되어 있는지를 감지하고, 외부장치와의 연결이 단절된 경우 스위치의 경로를 제어부로 향하도록 설정하여 GSM 단말기가 안정적으로 작동할 수 있도록 함에도 있다.Another object of the present invention, by installing a sensing line between the control unit and the switch detects whether the input and output connector is connected to the external device, when the connection to the external device is disconnected by setting the path of the switch to the control unit GSM terminal It also allows for stable operation.

상기 목적을 달성하기 위한 본 발명의 일측면에 의하면, 외부장치와 데이터를 송, 수신하는 입출력 커넥터; 상기 입출력 커넥터를 통해 상기 외부장치에 연결되며 제어신호에 따라 상기 외부장치가 제1 UART(universal asynchronous receiver transmitter) 라인 또는 제2 UART 라인에 연결되도록 선택적으로 스위칭하는 스위치; 상기 제2 UART 라인을 통해 상기 스위치에 연결되어 상기 스위치의 스위칭에 따라 상기 외부장치와 상기 데이터를 송, 수신하는 프로세싱 모듈; 상기 스위치의 스위칭을 제어하기 위한 제어신호를 상기 스위치에 출력하고, 상기 제1 UART 라인을 통해 상기 스위치에 연결되어 상기 스위치의 스위칭에 따라 상기 외부장치와 상기 데이터를 송, 수신하는 제어부;를 포함하는UART 라인 스위치를 구비한 이동통신단말기인 것을 특징으로 한다.According to an aspect of the present invention for achieving the above object, the input and output connector for transmitting and receiving data with the external device; A switch connected to the external device through the input / output connector and selectively switching the external device to be connected to a first universal asynchronous receiver transmitter (UART) line or a second UART line according to a control signal; A processing module connected to the switch through the second UART line to transmit and receive data with the external device according to the switching of the switch; A control unit which outputs a control signal for controlling switching of the switch to the switch and is connected to the switch through the first UART line to transmit and receive the external device and the data according to the switching of the switch. It is characterized in that the mobile communication terminal having a UART line switch.

바람직하게는 상기 입출력 커넥터가 상기 외부장치와 연결되어 있는지 여부를 감지하기 위한 감지선을 더 포함하고, 상기 제어부는 상기 감지선을 통해 상기 입출력 커넥터와 외부와의 연결이 단절된 것을 감지한 경우 상기 스위치가 상기 제1 UART 라인으로 상기 데이터를 전달하도록 제어하는 제어신호를 출력한다.Preferably, the switch further includes a sensing line for sensing whether the input / output connector is connected to the external device, and the control unit detects that the connection between the input / output connector and the outside is disconnected through the sensing line. Outputs a control signal for controlling the data to be transmitted to the first UART line.

더욱 바람직하게는 상기 프로세싱 모듈은 와이파이(WiFi) 모듈인 것을 특징으로 하는 UART 라인 스위치를 구비한다.More preferably, the processing module is provided with a UART line switch, characterized in that the Wi-Fi (WiFi) module.

더욱 바람직하게는 상기 이동통신단말기는 GSM 단말기이다.More preferably, the mobile communication terminal is a GSM terminal.

더욱 바람직하게는 상기 입출력 커넥터는 컴퓨터에 연결된 JTAG 다운로더와 상기 데이터를 송, 수신한다.More preferably, the input / output connector transmits and receives data with a JTAG downloader connected to a computer.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명한 다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일실시예에 따른 UART(universal asynchronous receiver transmitter) 라인 스위치를 구비한 GSM 단말기와 컴퓨터 간의 데이터 통신 방법을 수행하는 시스템의 구성도이다.1 is a block diagram of a system for performing a data communication method between a GSM terminal and a computer having a universal asynchronous receiver transmitter (UART) line switch according to an embodiment of the present invention.

도 1을 참조하여 설명하면, 본 발명의 일실시예에 따른 시스템은 컴퓨터(100), JTAG 다운로더(joint test action group downloader)(200), 및 GSM(global system for mobile communication) 단말기(300)를 포함한다.Referring to FIG. 1, a system according to an embodiment of the present invention includes a computer 100, a JTAG downloader (joint test action group downloader) 200, and a global system for mobile communication (GSM) terminal 300. Include.

상기 컴퓨터(100)는 상기 JTAG 다운로더(200)를 통해 상기 GSM 단말기(300)와, 상기 GSM 단말기(300)에 디버깅(debugging), 교정(calibration) 또는 소프트웨어 다운로드 등을 위한 데이터 통신을 수행한다. The computer 100 performs data communication with the GSM terminal 300 through the JTAG downloader 200 for debugging, calibration or software download to the GSM terminal 300.

이를 위해 상기 컴퓨터(100)의 COM 포트 등의 직렬 포트(serial port)와 상기 JTAG 다운로더(200)의 직렬 포트 간에 직렬 케이블, 예를 들어 DB-9 케이블을 이용해 연결한다. 상기 컴퓨터(100)로는 데스크 탑(desk top) 컴퓨터, 노트북(notebook)과 같은 개인용 컴퓨터 등이 있으나 이에 한정되는 것은 아니다.To this end, a serial cable, such as a DB-9 cable, is connected between a serial port such as a COM port of the computer 100 and a serial port of the JTAG downloader 200. The computer 100 may include a desktop computer, a personal computer such as a notebook, and the like, but is not limited thereto.

상기 JTAG 다운로더(200)는 상기 GSM 단말기(300)의 디버깅(debugging), 교정(calibration)을 수행하고 상기 GSM 단말기(300)의 제어부(350)에 코어(core) 프로그램 등을 다운로드하거나 상기 GSM 단말기(300)의 상기 저장부(340)에 데이터 읽기 및 쓰기 작업을 수행하는데 사용되는 장치이다. 또한, 상기 JTAG 다운로더(200)는 상기 JTAG 다운로더(200)의 모니터 포트(monitor port)와 상기 GSM단말기(300)의 입출력 커넥터(310)를 연결하여 상기 GSM단말기(300)의 상태를 모니터하는 데 사용될 수 있다.The JTAG downloader 200 performs debugging and calibration of the GSM terminal 300 and downloads a core program or the like to the control unit 350 of the GSM terminal 300 or the GSM terminal. The device is used to read and write data to the storage unit 340 of 300. In addition, the JTAG downloader 200 monitors the state of the GSM terminal 300 by connecting a monitor port of the JTAG downloader 200 and an input / output connector 310 of the GSM terminal 300. Can be used.

상기 GSM(global system for mobile communication) 단말기(300)는 유럽 및 기타 지역에서 광범위하게 사용하는 시분할다중접속방식의 변종인 GSM 방식을 이용하여 이동통신을 수행하는 단말기이다. 상기 GSM 단말기(300)는 입출력 커넥터(310), 스위치(320), 와이파이(WiFi) 모듈(330), 저장부(340) 및 제어부(350)를 포함한다.The global system for mobile communication (GSM) terminal 300 is a terminal for performing mobile communication using a GSM method, which is a variant of a time division multiple access method widely used in Europe and other regions. The GSM terminal 300 includes an input / output connector 310, a switch 320, a Wi-Fi module 330, a storage 340, and a controller 350.

상기 입출력 커넥터(310)는 상기 GSM 단말기(300)의 충전뿐만 아니라 상기 JTAG 다운로더(200)와 상기 GSM 단말기(300) 간의 데이터 통신을 위한 UART(universal asynchronous receiver transmitter) 인터페이스를 제공한다. 이를 위해 상기 입출력 커넥터(310)는 UART 통신이 가능하도록 송신(Tx) 및 수신(Rx) 핀을 포함하고 있다. The input / output connector 310 provides a universal asynchronous receiver transmitter (UART) interface for data communication between the JTAG downloader 200 and the GSM terminal 300 as well as charging the GSM terminal 300. To this end, the input / output connector 310 includes a transmit (Tx) and receive (Rx) pin to enable UART communication.

상기 스위치(320)는 상기 입출력 커넥터(310)로부터 상기 데이터를 송, 수신하고, 상기 제어부(350)로부터 입력받은 제어신호에 따라 상기 데이터를 선택적으로 상기 제어부(350)에 연결된 제1 UART 라인 또는 상기 와이파이 모듈(330)에 연결된 제2 UART 라인에 송, 수신되도록 스위칭한다.The switch 320 transmits and receives the data from the input / output connector 310 and selectively connects the data to the control unit 350 according to a control signal received from the control unit 350 or Switch to transmit and receive on the second UART line connected to the Wi-Fi module 330.

상기 와이파이 모듈(WiFi module)(330)은 상기 GSM 단말기(300)에 무선 랜(wireless local area network) 기능을 구현하기 위한 모듈로서 이를 위한 중앙연산장치(cpu) 또는 보조처리기(co-processor)(미도시) 및 휘발성 메모리인 SDRAM(synchronous dynamic random access memory)(미도시)을 포함하고 상기 제2 UART 라인을 통해 상기 스위치(320)에 연결되어 상기 스위치(320)의 스위칭에 따라 상기 데이터를 송, 수신한다.The Wi-Fi module 330 is a module for implementing a wireless local area network (WLAN) function in the GSM terminal 300 and a CPU or co-processor (cpu) for this purpose. And synchronous dynamic random access memory (SDRAM) (not shown), which is a volatile memory, and connected to the switch 320 through the second UART line to transmit the data according to the switching of the switch 320. Receives.

상기 저장부(340)는 상기 제어부(350)의 제어시에 필요한 동작 프로그램, 시스템 프로그램 및 각종 데이터가 저장되고, 특히 상기 스위치(320) 제어에 필요한 각종 디바이스 드라이버와 프로그램들이 저장된다.The storage unit 340 stores operation programs, system programs, and various data necessary for the control of the control unit 350, and in particular, various device drivers and programs necessary for controlling the switch 320.

상기 제어부(350)는 상기 GSM 단말기(300)의 전반적인 동작을 제어함과 동시에 상기 스위치(320)의 스위칭을 제어하기 위한 상기 제어신호를 출력하고 상기 제1 UART 라인을 통해 상기 스위치(320)에 연결되어 상기 스위치(320)의 스위칭에 따라 상기 JTAG 다운로더(200)와 상기 데이터를 송, 수신한다.The controller 350 controls the overall operation of the GSM terminal 300 and simultaneously outputs the control signal for controlling the switching of the switch 320 and transmits the control signal to the switch 320 through the first UART line. It is connected to send and receive the data with the JTAG downloader 200 in accordance with the switching of the switch 320.

상기 제어부(350)가 상기 GSM 단말기(300)의 메인 칩(main chip)에 의해 구현되는 경우, 해당 메인 칩의 GPIO 핀(general port input output pin)을 통해 상기 제어신호를 출력할 수 있다.When the controller 350 is implemented by a main chip of the GSM terminal 300, the control signal may be output through a general port input output pin of the corresponding main chip.

도 2는 본 발명의 다른 일시예에 따른 GSM 단말기와 컴퓨터 간의 데이터 통신 방법을 수행하는 시스템의 구성도이다.2 is a block diagram of a system for performing a data communication method between a GSM terminal and a computer according to another embodiment of the present invention.

도 2를 참조하여 설명하면, 앞서 도시된 도면에서와 동일한 참조부호는 동일한 기능을 하는 동일한 부재를 가리킨다.Referring to FIG. 2, the same reference numerals as in the above-described drawing indicate the same members having the same function.

도 2에 도시된 제어부(350)는 감지선을 통해 입출력 커넥터(310)와 외부 장치와의 연결이 단절된 것을 감지한 경우 제1 UART 라인으로 데이터를 송, 수신하도록 설정하는 제어신호를 스위치(320)로 출력한다.When the control unit 350 shown in FIG. 2 detects that the connection between the input / output connector 310 and the external device is disconnected through the sensing line, the control unit 350 switches a control signal for transmitting and receiving data to the first UART line. )

상기 스위치(320)는 상기 제어부(350)로부터 상기 제어신호를 입력받은 경우, 상기 제1 UART 라인으로 상기 데이터를 송, 수신하도록 설정한다.When the control signal is received from the control unit 350, the switch 320 sets the first UART line to transmit and receive the data.

종래의 GSM단말기는 입출력 커넥터가 외부 장치와 연결되어 있는지 여부를 감지하는 수단을 구비하고 있지 않다. 상기 스위치(320)가 와이파이 모듈(330)과 데이터를 송, 수신하도록 설정되어 있는 상태에서 상기 입출력 커넥터(310)와 외부 장치와의 접속이 단절될 경우, 종래의 GSM 단말기는 스위치를 구비하고 있지 않아 문제가 발생하지 않으나, 상기 GSM 단말기(300)의 경우 동작에 문제가 발생할 수 있다. 이러한 문제점을 해결하기 위해 상기 제어부(350)와 상기 입출력 커넥터(310)간에 감지선을 연결시켜 상기 입출력 커넥터(310)와 외부 장치와의 접속유무를 판단하고, 판단결과 외부장치와의 연결이 단절된 경우 상기 제어부(350)가 스위치의 경로를 상기 제어부(350)로 향하도록 설정하여 GSM 단말기가 안정적으로 작동하도록 하였다.Conventional GSM terminals do not have means for detecting whether an input / output connector is connected to an external device. When the connection between the input / output connector 310 and the external device is disconnected while the switch 320 is set to transmit and receive data with the Wi-Fi module 330, the conventional GSM terminal does not include a switch. This does not cause a problem, but the operation of the GSM terminal 300 may occur. In order to solve this problem, a sensing line is connected between the control unit 350 and the input / output connector 310 to determine whether the input / output connector 310 is connected to an external device, and as a result, the connection to the external device is disconnected. In this case, the controller 350 sets the path of the switch to the controller 350 so that the GSM terminal operates stably.

상기 제어부(350)가 상기 GSM 단말기(300)의 메인 칩에 의해 구현되는 경우, 상기 입출력 커넥터(310)의 감지 핀(detection pin)과 상기 메인 칩의 GPIO 핀(general port input output pin)을 연결하여 감지선을 구현할 수 있다. 상기 입출력 커넥터(310)가 외부 장치와 연결되어 있는 경우, 상기 GPIO 핀에는 하이(high) 전압신호가 입력되고, 상기 입출력 커넥터(310)가 외부 장치와 단절된 경우에는 로우(low) 전압신호가 입력되어 외부 장치와 연결되어 있는지 여부를 판단할 수 있다.When the control unit 350 is implemented by the main chip of the GSM terminal 300, a detection pin of the input / output connector 310 is connected to a general port input output pin of the main chip. The sensing line can be implemented. When the input / output connector 310 is connected to an external device, a high voltage signal is input to the GPIO pin. When the input / output connector 310 is disconnected from an external device, a low voltage signal is input. It is possible to determine whether or not connected to the external device.

도 3은 본 발명의 일실시예에 따른 GSM 단말기 스위치의 작동흐름도이다.3 is an operation flowchart of a GSM terminal switch according to an embodiment of the present invention.

도 3을 참조하여 설명하면, GSM단말기(300)의 스위치(320)는 제어부(350)로부터 입력받은 제어신호에 따라 선택적으로 해당 제어부(350)와 연결된 제1 UART 라인 또는 와이파이 모듈(330)과 연결된 제2 UART 라인 중 어느 하나의 라인으로 데이터를 송, 수신하도록 경로를 설정한다(S100).Referring to FIG. 3, the switch 320 of the GSM terminal 300 is selectively connected to a first UART line or a Wi-Fi module 330 connected to the corresponding control unit 350 according to a control signal received from the control unit 350. A path is set to transmit and receive data to any one of the connected second UART lines (S100).

사용자는 자신이 수행하고자 하는 작업에 따라 상기 GSM단말기(300)의 제어부(350) 또는 와이파이 모듈(330) 중 어느 하나와 컴퓨터 간에 경로를 설정하도록 상기 GSM단말기(300)의 키입력부를 통해 정할 수 있다. 상기 제어부(350)는 사용자의 키입력 신호에 대응하는 제어신호를 상기 스위치(320)로 출력하여 경로를 설정하게 된다.A user may determine through a key input unit of the GSM terminal 300 to set a path between any one of the control unit 350 or the Wi-Fi module 330 of the GSM terminal 300 and the computer according to a task to be performed by the user. have. The controller 350 sets a path by outputting a control signal corresponding to a key input signal of a user to the switch 320.

그 후, 상기 스위치(320)는 상술한 S100 단계에서 설정된 경로에 의거하여 제1 UART 라인 또는 제2 UART 라인으로 데이터를 송, 수신한다(S120). Thereafter, the switch 320 transmits and receives data to the first UART line or the second UART line based on the path set in step S100 (S120).

사용자는 상기 컴퓨터를 이용하여 상술한 S100 단계에서 설정된 경로에 의거하여 제1 UART 라인 또는 제2 UART 라인을 통해 상기 제어부(350) 또는 상기 와이파이 모듈(330)에 디버깅(debugging) 및 교정(calibration) 작업을 수행하거나 상기 GSM 단말기(300)의 제어부(350)에 코어(core) 프로그램 등을 다운로드하거나 상기 GSM 단말기(300)의 상기 저장부(340)에 데이터 읽기 및 쓰기 작업을 수행할 수 있다. 또한, JTAG 다운로더(200)의 모니터 포트(monitor port)와 상기 입출력 커넥터(310)를 연결하여 상기 GSM단말기(300)의 상태를 모니터(monitor)할 수도 있다.The user debugs and calibrates the control unit 350 or the Wi-Fi module 330 through the first UART line or the second UART line based on the path set in step S100 using the computer. A task may be downloaded, a core program, etc. may be downloaded to the controller 350 of the GSM terminal 300, or data reading and writing may be performed to the storage unit 340 of the GSM terminal 300. In addition, the monitor port of the JTAG downloader 200 and the input / output connector 310 may be connected to monitor the state of the GSM terminal 300.

그 후, 상기 스위치(320)는 감지선을 통해 입출력 커넥터가 외부와 단절된 것을 감지한 상기 제어부(350)로부터 경로설정 제어신호를 입력받았는지 여부를 판단한다(S140).Thereafter, the switch 320 determines whether a routing control signal is input from the controller 350 that detects that the input / output connector is disconnected from the outside through the sensing line (S140).

상기 S140 판단결과 상기 경로설정 제어신호를 입력받은 경우, 상기 스위치 (320)는 상기 경로설정 제어신호에 따라 상기 제1 UART 라인으로 상기 데이터를 송, 수신하도록 경로를 설정하고 절차를 종료한다(S160).As a result of the determination of S140, when the routing control signal is input, the switch 320 sets a path to transmit and receive the data to the first UART line according to the routing control signal and terminates the procedure (S160). ).

한편, 상기 S140 판단결과 상기 경로설정 제어신호를 입력받지 않은 경우, 절차를 종료한다.On the other hand, when the determination result of the step S140 is not received, the procedure is terminated.

본 발명을 설명함에 있어서, 중앙연산장치(cpu) 또는 보조처리기(co-processor)를 포함하는 프로세싱 모듈로서 와이파이 모듈을 중심으로 설명했으나 본 발명은 이에 한정되지 않고 이동통신단말기에 내장되는 디지털 카메라를 위한 프로세싱 모듈 등 다양한 프로세싱 모듈에 적용될 수 있다.In the following description of the present invention, a processing module including a central processing unit (cpu) or a co-processor has been described based on a Wi-Fi module, but the present invention is not limited thereto. It can be applied to various processing modules such as a processing module.

또한, 본 발명을 설명함에 있어서, 컴퓨터와 이동통신단말기 간의 데이터 통신을 위해 컴퓨터와 이동통신단말기 사이에 JTAG 다운로더가 연결되는 것으로 설명했으나 본 발명은 이에 한정되지 않고, 컴퓨터와 이동통신단말기를 직렬 케이블을 사용하여 직접 연결하도록 할 수도 있다.In the description of the present invention, the JTAG downloader is connected between the computer and the mobile communication terminal for data communication between the computer and the mobile communication terminal. However, the present invention is not limited thereto, and the computer and the mobile communication terminal are serial cables. You can also use to connect directly.

또한, 본 발명을 설명함에 있어서 GSM 단말기를 중심으로 설명하였으나 CDMA(code division multiple access) 단말기 등 다른 이동통신단말기에도 본 발명을 적용할 수 있다.In addition, the present invention has been described with reference to a GSM terminal, but the present invention can be applied to other mobile communication terminals such as a code division multiple access (CDMA) terminal.

이상의 본 발명은 상기에 기술된 실시예들에 의해 한정되지 않고, 당업자들에 의해 다양한 변형 및 변경을 가져올 수 있으며, 이는 첨부된 청구항에서 정의되는 본 발명의 취지와 범위에 포함된다.The present invention is not limited to the embodiments described above, and various modifications and changes can be made by those skilled in the art, which are included in the spirit and scope of the present invention as defined in the appended claims.

상기와 같은 본 발명에 따르면 이동통신단말기, 특히 GSM 단말기에 별도의 입출력 커넥터를 설치하지 않고서도 컴퓨터와 해당 GSM 단말기 간의 데이터 통신을 통해 와이파이 모듈 등의 프로세싱 모듈에 디버깅(debugging), 교정(calibration)작업, 코어(core) 프로그램 등의 다운로드 작업, GSM 단말기 메모리에 데이터 읽기 및 쓰기 작업 등을 수행할 수 있는 효과가 있다.According to the present invention as described above debugging, calibration (debugging) to the processing module, such as a Wi-Fi module through the data communication between the computer and the corresponding GSM terminal without installing a separate input and output connector in the mobile communication terminal, especially the GSM terminal There is an effect that can perform tasks, such as downloading tasks such as core (core) program, reading and writing data to the GSM terminal memory.

또한, 상기와 같은 본 발명에 따르면 제어부와 스위치 간에 감지선을 설치하여 입출력 커넥터가 외부장치와 연결되어 있는지를 감지하고, 외부장치와의 연결이 단절된 경우 스위치의 경로를 제어부로 향하도록 설정하여 GSM 단말기가 안정적으로 작동할 수 있는 효과도 있다.In addition, according to the present invention as described above by installing a sensing line between the control unit and the switch detects whether the input and output connector is connected to the external device, when the connection to the external device is disconnected by setting the path of the switch to the control unit GSM There is also an effect that the terminal can operate stably.

Claims (5)

외부장치와 데이터를 송, 수신하는 입출력 커넥터;An input / output connector for transmitting and receiving data with an external device; 상기 입출력 커넥터를 통해 상기 외부장치에 연결되며 제어신호에 따라 상기 외부장치가 제1 UART(universal asynchronous receiver transmitter) 라인 또는 제2 UART 라인에 연결되도록 선택적으로 스위칭하는 스위치;A switch connected to the external device through the input / output connector and selectively switching the external device to be connected to a first universal asynchronous receiver transmitter (UART) line or a second UART line according to a control signal; 상기 제2 UART 라인을 통해 상기 스위치에 연결되어 상기 스위치의 스위칭에 따라 상기 외부장치와 상기 데이터를 송, 수신하는 프로세싱 모듈;A processing module connected to the switch through the second UART line to transmit and receive data with the external device according to the switching of the switch; 상기 스위치의 스위칭을 제어하기 위한 제어신호를 상기 스위치에 출력하고, 상기 제1 UART 라인을 통해 상기 스위치에 연결되어 상기 스위치의 스위칭에 따라 상기 외부장치와 상기 데이터를 송, 수신하는 제어부;A control unit which outputs a control signal for controlling the switching of the switch to the switch and is connected to the switch through the first UART line to transmit and receive the external device and the data according to the switching of the switch; 를 포함하는 것을 특징으로 하는 UART 라인 스위치를 구비한 이동통신단말기.Mobile communication terminal having a UART line switch comprising a. 청구항 1에 있어서The method according to claim 1 상기 입출력 커넥터가 상기 외부장치와 연결되어 있는지 여부를 감지하기 위한 감지선을 더 포함하고,Further comprising a sensing line for detecting whether the input / output connector is connected to the external device, 상기 제어부는 상기 감지선을 통해 상기 입출력 커넥터와 외부장치의 연결이 단절된 것을 감지한 경우 상기 스위치가 상기 제1 UART 라인으로 상기 데이터를 전달하도록 제어하는 제어신호를 출력하는 것을 특징으로 하는 UART 라인 스위치를 구비한 이동통신단말기.The controller outputs a control signal for controlling the switch to transfer the data to the first UART line when detecting that the connection between the input and output connector and the external device is disconnected through the sensing line. Mobile communication terminal having a. 청구항 1에 있어서, 상기 프로세싱 모듈은 와이파이(WiFi) 모듈인 것을 특징으로 하는 UART 라인 스위치를 구비한 이동통신단말기.The mobile communication terminal of claim 1, wherein the processing module is a Wi-Fi module. 청구항 1에 있어서, 상기 이동통신단말기는 GSM(global system for mobile communication) 단말기인 것을 특징으로 하는 UART 라인 스위치를 구비한 이동통신단말기.The mobile communication terminal of claim 1, wherein the mobile communication terminal is a global system for mobile communication (GSM) terminal. 청구항 1에 있어서, 상기 입출력 커넥터는 컴퓨터에 연결된 JTAG 다운로더와 상기 데이터를 송, 수신하는 것을 특징으로 하는 UART 라인 스위치를 구비한 이동통신단말기.The mobile communication terminal of claim 1, wherein the input / output connector transmits and receives data with a JTAG downloader connected to a computer.
KR1020050048234A 2005-06-07 2005-06-07 Mobile phone having uart line switch KR100622246B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050048234A KR100622246B1 (en) 2005-06-07 2005-06-07 Mobile phone having uart line switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050048234A KR100622246B1 (en) 2005-06-07 2005-06-07 Mobile phone having uart line switch

Publications (1)

Publication Number Publication Date
KR100622246B1 true KR100622246B1 (en) 2006-09-18

Family

ID=37631427

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050048234A KR100622246B1 (en) 2005-06-07 2005-06-07 Mobile phone having uart line switch

Country Status (1)

Country Link
KR (1) KR100622246B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101164502B1 (en) 2005-11-03 2012-07-18 엘지전자 주식회사 Mobile communication terminal using usb switching module
CN103856411A (en) * 2012-12-03 2014-06-11 上海斐讯数据通信技术有限公司 Switching system connected with UART interface of router
CN112418367A (en) * 2020-11-19 2021-02-26 努比亚技术有限公司 Price tag base station multi-serial port switching debugging device, debugging method and computer readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101164502B1 (en) 2005-11-03 2012-07-18 엘지전자 주식회사 Mobile communication terminal using usb switching module
CN103856411A (en) * 2012-12-03 2014-06-11 上海斐讯数据通信技术有限公司 Switching system connected with UART interface of router
CN103856411B (en) * 2012-12-03 2017-05-24 上海斐讯数据通信技术有限公司 Switching system connected with UART interface of router
CN112418367A (en) * 2020-11-19 2021-02-26 努比亚技术有限公司 Price tag base station multi-serial port switching debugging device, debugging method and computer readable storage medium

Similar Documents

Publication Publication Date Title
US8245275B2 (en) Electronic device, non-transitory computer-readable medium storing program, and circuit chip
US7447823B2 (en) Data input terminal device
US20060200813A1 (en) Firmware updating system
US8296122B2 (en) External connection interface emulation apparatus and method for mobile terminal
KR100622246B1 (en) Mobile phone having uart line switch
US7836342B2 (en) Providing maintenance access via an external connector
KR100651204B1 (en) System and Method for interfacing with external device in portable terminal
US7162270B2 (en) Dual communication mode wireless network transmission device
US20140347279A1 (en) Keyboard device with switchable connection path and its switching method
US20040118912A1 (en) Electronic card capable of changing communication functionality of a coupled electronic device
KR200377353Y1 (en) Data communication device having switching function
KR100663566B1 (en) Connecting cable for debugging wireless telephone and method thereof
KR100809259B1 (en) Device for interface of communication module
US11947484B2 (en) Universal serial bus (USB) hub with host bridge function and control method thereof
KR100446938B1 (en) Interface structure and interface method between personal information system circuit and wireless communication system circuit in a mobile information appliance.
KR101284616B1 (en) An universal serial bus device and Method for improving data transfer rate in thereof and mobile terminal installed thereof
KR20050006484A (en) Compatible usb connector and method for communicating data using it
KR101164502B1 (en) Mobile communication terminal using usb switching module
JPH114240A (en) Communication controller
KR20040061728A (en) Apparatus for holding memory in common in handset
KR100698136B1 (en) A data transmission receiving method of using a mobile phone
KR20080058616A (en) Appratus and method for setting computer connecting mode in portable terminal
KR20050081940A (en) Apparatus and method for controlling wire or wireless integrated lan in personal computer
KR100241744B1 (en) Method for transmitting and receiving data in a smart phone capable of connecting to a plurality of external device
KR100513338B1 (en) Personal digital assistant having a common diagnostic monitor port

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: 20120827

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20130823

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20140822

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20150824

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20160824

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee