KR20060094807A - Binary file download method of wireless communication module for telematics - Google Patents

Binary file download method of wireless communication module for telematics Download PDF

Info

Publication number
KR20060094807A
KR20060094807A KR1020050016286A KR20050016286A KR20060094807A KR 20060094807 A KR20060094807 A KR 20060094807A KR 1020050016286 A KR1020050016286 A KR 1020050016286A KR 20050016286 A KR20050016286 A KR 20050016286A KR 20060094807 A KR20060094807 A KR 20060094807A
Authority
KR
South Korea
Prior art keywords
download
wireless communication
communication module
ram
binary file
Prior art date
Application number
KR1020050016286A
Other languages
Korean (ko)
Other versions
KR100652714B1 (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 KR1020050016286A priority Critical patent/KR100652714B1/en
Priority to CNB2005101024911A priority patent/CN100378665C/en
Publication of KR20060094807A publication Critical patent/KR20060094807A/en
Application granted granted Critical
Publication of KR100652714B1 publication Critical patent/KR100652714B1/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/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/0962Arrangements for giving variable traffic instructions having an indicator mounted inside the vehicle, e.g. giving voice messages
    • G08G1/0968Systems involving transmission of navigation instructions to the vehicle
    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/10Details of telephonic subscriber devices including a GPS signal receiver

Abstract

본 발명은 텔레메틱스를 위한 무선통신 모듈의 바이너리 파일 다운로드 방법에 관한 것으로, 종래에는 무선통신 모듈에 존재하는 복수의 통신 경로들 중에서 고정된 하나의 경로만을 이용하여 펌웨어 업그레이드를 위한 바이너리 다운로드가 가능했기 때문에 양산과 개발을 고려하여 실제 텔레메틱스 사용자 인터페이스를 담당하는 제어 모듈을 거치지 않는 무선통신 모듈 만을 통신 경로를 사용할 수 밖에 없어 관리가 불편할 뿐 아니라, 복수로 구비된 다양한 경로들을 활용하지 못하게 되는 문제점이 있었다. 이와 같은 문제점을 감안한 본 발명은 복수의 다운로드 경로들을 가진 무선통신 모듈에 바이너리 파일을 다운로드하고자 하는 경우, 현재 무선통신 모듈에서 실행중인 무선통신 단말기 펌웨어가 다운로드 지시 명령이 입수된 통신 경로를 파악하여 그 정보를 특정 메모리 영역에 기록하고 상기 다운로드 지시 명령에 따라 램 다운로드 핸들러를 수신하며, 이후 상기 램 다운로드 핸들러가 제어권을 가지고 후속하는 다운로드를 지속할 경우 상기 메모리의 특정 영역에 기록된 활성 경로 정보를 확인하여 후속 다운로드 경로를 인지할 수 있도록 함으로써, 무선통신 모듈에 바이너리 파일을 다운로드하고자 할 경우 모든 경로를 자유롭게 이용할 수 있어 개발자와 사용자 모두 자신이 사용하기 쉬운 경로를 이용할 수 있게 되는 효과가 있다. The present invention relates to a binary file download method of a wireless communication module for telematics, and in the related art, binary download for firmware upgrade is possible using only one fixed path among a plurality of communication paths existing in the wireless communication module. In consideration of mass production and development, only the wireless communication module that does not go through the control module that is responsible for the actual telematics user interface has to use communication paths. In consideration of such a problem, in the present invention, when a binary file is to be downloaded to a wireless communication module having a plurality of download paths, the wireless communication terminal firmware currently executed in the wireless communication module grasps a communication path from which a download instruction command is received. Writes information to a specific memory area and receives a RAM download handler according to the download instruction command, and then checks the active path information recorded in a specific area of the memory when the RAM download handler has control and continues a subsequent download. By allowing subsequent download paths to be recognized, all paths can be freely used to download a binary file to a wireless communication module, so that both developers and users can use a path that is easy to use.

Description

텔레메틱스를 위한 무선통신 모듈의 바이너리 파일 다운로드 방법{BINARY FILE DOWNLOAD METHOD OF WIRELESS COMMUNICATION MODULE FOR TELEMATICS}How to download binary file of wireless communication module for telematics {BINARY FILE DOWNLOAD METHOD OF WIRELESS COMMUNICATION MODULE FOR TELEMATICS}

도 1은 일반적인 텔레메틱스 모듈의 구성을 보인 간략한 구성도.1 is a simplified configuration diagram showing the configuration of a general telematics module.

도 2는 본 발명 일 실시예의 동작 과정을 보인 순서도.Figure 2 is a flow chart showing the operation of the embodiment of the present invention.

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

10: 제어 모듈 20: 무선통신 모듈10: control module 20: wireless communication module

21: UART1 22: UART221: UART1 22: UART2

23: UART323: UART3

본 발명은 텔레메틱스를 위한 무선통신 모듈의 바이너리 파일 다운로드 방법에 관한 것으로, 특히 무선 통신을 포함하는 다양한 기능을 수행하는 차량용 텔레메틱스 모듈에 적용되는 무선통신 모듈에 바이너리 파일을 다운로드할 경우 복수의 전송 경로 중 임의의 경로를 사용하더라도 바이너리 파일의 다운로드가 원활하게 실시될 수 있도록 한 텔레메틱스를 위한 무선통신 모듈의 바이너리 파일 다운로드 방법을 제공하는데 그 목적이 있다.The present invention relates to a binary file download method of a wireless communication module for telematics, and more particularly, when downloading a binary file to a wireless communication module applied to a vehicle telematics module that performs various functions including wireless communication. It is an object of the present invention to provide a binary file download method of a wireless communication module for telematics so that a binary file can be downloaded smoothly even using an arbitrary path.

최근 자동차를 플랫폼으로 한 새로운 기술인 텔레메틱스(Telematics)에 대한 관심이 급속히 확산되고 있다. 텔레메틱스라는 말 자체의 정의는 통신(Telecommunication)과 정보과학(Infomatics)의 합성어로 차량, 항공, 선박등 운송장비에 내장된 컴퓨터와 무선통신기술, 위성항법장치, 인터넷에서 문자 신호와 음성신호를 바꾸는 기술등에 의해 정보를 주고 받을 수 있는 무선 데이터 서비스를 의미한다. 즉, 간단히 정리하면 차량과 같은 운송 수단을 플랫폼으로 한 무선 통신 기술이라 할 수 있다. Recently, interest in telematics, a new technology based on automobiles, is rapidly spreading. The term telematics itself is a compound word of telecommunication and informatics that changes text and voice signals in computers, radio communications, satellite navigation, and the Internet. It means wireless data service that can exchange information by technology. In other words, it can be simply described as a wireless communication technology using a vehicle as a platform.

즉, 텔레매틱스는 무선 음성·데이터 통신과 인공위성을 이용한 위치정보시스템(GPS)을 기반으로 차량을 이용해 정보를 주고받을 수 있도록 하는 기술이며, 위치정보시스템과 무선통신망을 이용해 운전자와 탑승자에게 교통정보, 응급상황에 대한 대처, 원격차량진단, 인터넷 이용(금융거래, 뉴스, e-메일 등) 등 각종 모바일 서스를 제공할 수 있는 단말기와 운영체제를 총칭하는 다소 넓은 의미의 개념적 기술이라 할 수 있다. In other words, telematics is a technology that allows users to send and receive information using a vehicle based on wireless voice / data communication and satellite location information system (GPS), and uses the location information system and wireless communication network to provide traffic information, It is a rather broad conceptual technology that collectively refers to terminals and operating systems that can provide various mobile services, such as responding to emergencies, remote vehicle diagnosis, and Internet use (financial transactions, news, e-mail, etc.).

따라서, 텔레메틱스 기술을 이용하는 다양한 디바이스들 중에서 최근 연구되고 있는 것은 차량을 제어하고 사용자 인터페이스를 제공하는 고성능 제어기 부분과, 무선 통신 부분을 연동시켜 운전자와 탑승자가 보다 다양한 정보를 차량에서 확인할 수 있도록 하고, 차량 자체의 각종 동작 정보들을 분석하고 운전에 도움이 되는 정보들을 검색하여 제공해 주도록 하는 무선통신 부분이다.Therefore, among the various devices using the telematics technology, the recent research is to link the high-performance controller portion that controls the vehicle and provide a user interface and the wireless communication portion so that the driver and the passenger can see more information in the vehicle, It is a wireless communication part that analyzes various motion information of the vehicle itself and provides information to help driving.

도 1은 일반적인 차량용 텔레메트릭스 모듈의 간략한 구성을 보인 것으로 차량의 상태를 검사하거나 GPS 기능을 제공하는 등의 기능부는 생략하고 기본적인 제 어 모듈(10)과 무선통신 모듈(20) 및 상기 무선통신 모듈(20)이 외부와 통신할 수 있는 통신 경로들(21, 22, 23)의 구성 만을 도시하였다. Figure 1 shows a simple configuration of a general vehicle telemetrics module, such as checking the state of the vehicle or providing a GPS function, such as omit the basic control module 10 and the wireless communication module 20 and the wireless communication module Only the configuration of the communication paths 21, 22, 23 through which the 20 can communicate with the outside is illustrated.

일반적으로, 상기 제어 모듈(10)은 다양한 정보를 취합하여 전체 텔레메틱스 기능들을 제어하며 사용자 인터페이스를 제공하고 연결된 각종 센싱 수단들로부터 차량에 대한 정보등을 수신하여 처리하는 제어 부분으로서, 고성능 제어기, 표시부 및 메모리등이 포함되어 있는 일종의 컴퓨터라 할 수 있다. 그리고, 이러한 고성능 제어 모듈(10)에 무선 통신 기능을 제공하기 위해 추가되는 무선통신 모듈(20)이 상기 고성능 제어 모듈(10)과 연결되어 있어 음성이나 데이터를 무선으로 송수신할 수 있도록 하고 있다. In general, the control module 10 is a control part that collects various information to control overall telematics functions, provides a user interface, and receives and processes information about a vehicle from various connected sensing means. And a kind of computer including a memory. In addition, the wireless communication module 20 added to provide the wireless communication function to the high performance control module 10 is connected to the high performance control module 10 so as to transmit and receive voice or data wirelessly.

상기 무선통신 모듈(20)은 예를 들어 CDMA 모듈등이 사용되고 있는데, 간단히 말하면 이동통신 단말기에서 무선 통신 부분 만을 분리한 모듈이다. 따라서, 상기 무선통신 모듈(20)은 내부적으로 자체 구동을 위한 제어부(무선통신 모뎀)와 자체 펌웨어가 저장될 롬, 그리고 실행 파일들을 로드하여 실행하며 임시 데이터들을 저장하기 위한 램이 구비되어 있다. For example, a CDMA module or the like is used as the wireless communication module 20. In short, the wireless communication module 20 separates only a wireless communication part from a mobile communication terminal. Therefore, the wireless communication module 20 is internally provided with a controller (wireless communication modem) for driving itself, a ROM for storing its own firmware, a RAM for loading and executing executable files, and storing temporary data.

그리고, 상기 무선통신 모듈(20)을 운영하기 위한 펌웨어를 상기 무선통신 모듈(20)에 다운로드하고, 외부와의 통신을 유지하기 위한 경로들이 구성되어 있는데, 도시된 경우에는 복수의 직렬통신 포트 UART1,2,3들(21, 22, 23)이 배치되어 설계자가 해당 포트들 중 하나를 통해 펌웨어를 제공해 줄 수 있다. 이 중에서, 직렬통신 포트인 UART3(23)은 제어 모듈(10)을 경유하여 외부와 연결되며, 제어 모듈(10)과 데이터를 송수신할 수 있어, 사용자 인터페이스의 입력과 구동 상황에 따라 상기 제어 모듈(10)이 무선통신 모듈(20)을 제어할 수 있게 되며, 상기 인터페이스를 통해 제공되는 소정의 정보를 상기 무선통신 모듈(20)에 제공할 수도 있다.In addition, paths for downloading the firmware for operating the wireless communication module 20 to the wireless communication module 20 and maintaining communication with the outside are configured. In this case, a plurality of serial communication ports UART1 2, 3 (21, 22, 23) is arranged so that the designer can provide the firmware through one of the ports. Among them, the UART3 (23), which is a serial communication port, is connected to the outside via the control module 10, and can transmit and receive data with the control module 10, according to the input and driving conditions of the user interface. 10 may control the wireless communication module 20, and may provide the wireless communication module 20 with predetermined information provided through the interface.

종래에는 상기 무선통신 모듈(20)이 기본적인 음성 통신과 데이터 통신 기능들 만을 제공했기 때문에 양산 단계에서 고정된 펌웨어를 상기 무선통신 모듈(20)에 다운로드 하기 위해 도시된 UART1(21)이나 UART2(22)중 하나를 고정시켜 이용하였다. 예를 들어 전용 개발 장비는 UART1(21)에 연결하여 사용하고, 파일 전송 기능이 구동되는 컴퓨터는 UART2(22)에 연결하여 사용하는 등의 방식이 있으나 이들 중 한가지 경로를 고정 경로로 지정한 후 해당 경로만을 기본 경로로 이용하게 된다.In the related art, since the wireless communication module 20 provides only basic voice communication and data communication functions, the UART1 21 or the UART2 22 shown for downloading the fixed firmware to the wireless communication module 20 in the mass production stage are illustrated. ) And fixed one. For example, dedicated development equipment can be connected to UART1 (21), and a computer running file transfer can be connected to UART2 (22). Only the path is used as the default path.

특히, 무선통신 모듈(20)은 자체 운영 프로그램이 실행 중인 상태에서 펌웨어 업그레이드가 가능하도록 설계되어 있으므로, 새로운 펌웨어 바이너리 파일을 상기 운영 중인 무선통신 모듈(20)에 다운로드 하려면 우선 램 상에서 펌웨어의 도움 없이 다운로드 절차를 수행할 수 있는 '램 다운로드 핸들러(바이너리 상태)'를 상기 무선통신 모듈(20)이 기본 경로로 설정된 경로(예를 들어 UART1(21))를 통해 다운로드 받아 램으로 로드한다. 이후, 롬의 내용을 변경하기 위하여 현재 수행중인 펌웨어의 실행을 종료하고 상기 램으로 로드된 램 다운로드 핸들러가 제어권을 가지고 후속하는 실제 펌웨어 바이너리 파일을 상기 기본 경로를 통해 후속하여 롬에 다운받는다. 이후, 무선통신 모듈(20)을 후 리셋하는 것으로 새롭게 다운로드 받은 펌웨어를 이용하여 무선통신 모듈(20)이 운영될 수 있게 된다.In particular, since the wireless communication module 20 is designed to be able to upgrade firmware while its own operating program is running, to download a new firmware binary file to the operating wireless communication module 20, first, without the help of firmware on the RAM, A RAM download handler (binary state) capable of performing a download procedure is downloaded through a path (for example, UART1 (21)) set by the wireless communication module 20 as a default path and loaded into RAM. Then, in order to change the contents of the ROM, the execution of the currently executing firmware is terminated, and the RAM download handler loaded into the RAM has a control right and subsequently downloads a subsequent actual firmware binary file through the default path to the ROM. Thereafter, the wireless communication module 20 may be operated by using the newly downloaded firmware by resetting the wireless communication module 20 later.

즉, 현재 운영중인 펌웨어를 갱신하기 위한 절차 도중에 다운로드를 실행하 는 제어권을 가지는 주체가 변경되게 되므로 도시된 복수의 경로들 중에서 어떤 경로를 통해 제어권 변경 후 다운로드를 연속 수행해야 하는지 알 수 없게 된다. 따라서, 현재까지는 무선통신 모듈(20)을 개발하거나 양산하는 경우에만 펌웨어 다운로드를 실시했기 때문에 무선통신 모듈(20)이 직접 관리하는 UART1(21)이나 UART2(22) 중 하나를 기본 경로로 결정한 후 해당 경로만을 펌웨어 업그레이드에 이용하였다.That is, since the subject having the control right to execute the download is changed in the middle of the procedure for updating the currently operating firmware, it is not possible to know which path to continuously download after changing the control right among the plurality of paths shown. Therefore, until now, since firmware download was performed only when the wireless communication module 20 was developed or mass-produced, one of the UART1 21 and the UART2 22 directly managed by the wireless communication module 20 was determined as the default path. Only the path was used to upgrade the firmware.

하지만, 점차 사용자의 요구가 다양해지고, 제품 출시 후에도 지속적인 펌웨어 업그레이드가 요구되는 실정에서 전체 텔레메틱스 모듈의 사용자 인터페이스를 제공하는 제어 모듈(10)과 연결되는 무선통신 모듈(20)의 펌웨어 업그레이드는 상기 제어 모듈(10)을 경유하여 실시되는 것이 바람직하며, UART1(21)의 경우에는 제품 출시 후에는 사용이 불가능하였다. 그로인해, 상기 무선통신 모듈(20)은 그 펌웨어 바이너리 파일을 다운로드 하기 위해 제어권 변경이 발생하게 되면 후속하는 데이터를 어떠한 경로로 부터 받아야 하는지 모르게 되므로 기존에는 제품 출시 후에도 사용할 수 있는 UART2(22)를 고정된 경로로 지정하는 방식을 이용할 수 밖게 없었다. 그로인해 제어 모듈(10)을 거치지 않고 직접 무선통신 모듈(20)에 대한 펌웨어 업그레이드가 진행되기 때문에 제어 모듈(10)이 무선통신 모듈(20)에 대한 바이너리 파일 다운로드 작업에 참여할 수 없게 되어 제어에 한계가 발생하는 문제점이 있으며, 사용자가 제어 모듈(10)과 무선통신 모듈(20)을 각각 분리하여 관리해 주어야 하는 불편함이 발생하게 되는 문제점이 있었다.However, the user's needs are gradually diversified, and the firmware upgrade of the wireless communication module 20 connected to the control module 10 that provides the user interface of the entire telematics module is required for continuous firmware upgrade even after the product is released. It is preferably carried out via the module 10, and in the case of the UART1 21, it was not possible to use it after the product was released. Therefore, when the control right is changed to download the firmware binary file, the wireless communication module 20 does not know which path to receive the subsequent data from. Therefore, the wireless communication module 20 uses the UART2 22 that can be used even after the product is released. There was no way to use a fixed path. As a result, since the firmware upgrade for the wireless communication module 20 is directly performed without going through the control module 10, the control module 10 cannot participate in the binary file download operation for the wireless communication module 20. There is a problem in that a limit occurs, and there is a problem that a user needs to manage the control module 10 and the wireless communication module 20 separately.

이와 같은 문제점을 감안한 본 발명은 복수의 다운로드 경로들을 가진 무선통신 모듈에 바이너리 파일을 다운로드하고자 하는 경우, 현재 무선통신 모듈에서 실행중인 무선통신 단말기 펌웨어가 다운로드 지시 명령이 입수된 통신 경로를 파악하여 그 정보를 특정 메모리 영역에 기록하고 상기 다운로드 지시 명령에 따라 램 다운로드 핸들러를 수신하도록 하며, 이후 상기 램 다운로드 핸들러가 제어권을 가지고 후속하는 다운로드를 지속할 경우 상기 메모리의 특정 영역에 기록된 활성 경로 정보를 확인하여 후속 다운로드 경로를 인지할 수 있도록 함으로써, 무선통신 모듈에 바이너리 파일을 다운로드하고자 할 경우 모든 경로를 이용할 수 있도록 한 텔레메틱스를 위한 무선통신 모듈의 바이너리 파일 다운로드 방법을 제공하는데 그 목적이 있다.In consideration of such a problem, in the present invention, when a binary file is to be downloaded to a wireless communication module having a plurality of download paths, the wireless communication terminal firmware currently executed in the wireless communication module grasps a communication path from which a download instruction command is received. Writes information to a specific memory area and receives a RAM download handler according to the download instruction command, and then, if the RAM download handler has control and continues a subsequent download, the active path information recorded in the specific area of the memory is recorded. The purpose of the present invention is to provide a binary file download method of a wireless communication module for telematics that allows all paths to be used when a binary file is downloaded to the wireless communication module by checking a subsequent download path.

상기와 같은 목적을 달성하기위한 본 발명은 텔레메틱스 제어 모듈과 연결되며 복수의 다운로드 경로를 구비한 무선통신 모듈의 바이너리 파일 다운로드 방법에 있어서, 무선통신 모듈에서 실행중인 펌웨어가 다운로드 시작 명령을 소정 경로를 통해 수신하면 해당 경로 정보를 특정 메모리 영역에 기록한 후 다운로드되는 램 다운로드 핸들러 파일을 수신하여 이를 램으로 로드하는 단계와; 상기 무선통신 모듈의 제어 주체를 상기 실행중인 펌웨어에서 램으로 로드된 상기 램 다운로드 핸들러로 이동하는 단계와; 제어권을 획득한 상기 램 다운로드 핸들러는 상기 특정 메모리 영역에 기록된 경로 정보를 확인하여 해당 경로를 통해 후속 다운로드 과정을 진행하는 단계를 포함하는 것을 특징으로 한다. In order to achieve the above object, the present invention provides a binary file download method of a wireless communication module connected to a telematics control module and having a plurality of download paths. Receiving the RAM download handler file which is downloaded after the corresponding path information is recorded in a specific memory area and loaded into RAM; Moving a control entity of the wireless communication module to the RAM download handler loaded with RAM in the running firmware; The RAM download handler acquiring the control right may include verifying path information recorded in the specific memory area and performing a subsequent download process through the corresponding path.

상기 경로 정보가 저장되는 특정 메모리 영역은 상기 램 다운로드 핸들러 및 롬에 저장되는 모든 펌웨어 바이너리 파일 생성시 경로 정보 전용 영역으로 지정되며, 경로 정보 외에는 상기 영역의 사용이 금지되는 것을 특징으로 한다. The specific memory area in which the path information is stored is designated as a path information only area when all the firmware binary files stored in the RAM download handler and the ROM are generated, and the use of the area other than the path information is prohibited.

상기 다운로드 경로는 무선통신 모듈에 직접 다운로드 장비를 연결해야 하는 하나 이상의 직렬 통신 포트와, 상기 제어 모듈이 제공하는 다운로드 시작 명령 및 다운로드 바이너리 파일 데이터를 수신하기 위해 상기 제어 모듈과 연결되는 하나 이상의 직렬 통신 포트를 포함하는 것을 특징으로 한다. The download path may include at least one serial communication port for directly connecting a download device to a wireless communication module, and at least one serial communication connected with the control module to receive a download start command and download binary file data provided by the control module. It characterized in that it comprises a port.

상기한 바와 같이 본 발명의 실시예를 도면들을 참조하여 상세히 설명하면 다음과 같다. When described in detail with reference to the embodiments of the present invention as described above.

도 2는 본 발명 일 실시예의 동작 과정을 보인 순서도로서, 도시한 바와 같이 도 1의 기본적인 구조를 이용할 경우 사용자가 임의의 다운로드 경로를 이용하더라도 무선통신 모듈(20)에서 진행되는 다운로드 주체들이 이를 인지할 수 있도록 한 것이다. 즉, 다운로드를 위해 복수의 다운로드 주체들이 사용되더라도 다운로드 경로에 대한 정보를 공유하도록 하여 실제 무선통신 모듈(20)에 구비된 모든 직렬 통신 경로를 다운로드 시 사용할 수 있도록 한 것이다.FIG. 2 is a flowchart illustrating an operation of an embodiment of the present invention. As shown in FIG. 1, even when a user uses an arbitrary download path, the download subjects proceeding from the wireless communication module 20 recognize the same. It is to be done. That is, even though a plurality of download subjects are used for downloading, information on the download path is shared so that all serial communication paths provided in the actual wireless communication module 20 can be used for download.

무선통신 모듈(20)은 자체적으로 복수의 직렬 통신 포트들을 가지게 되는데 여기서는 외부의 다운로드 인터페이스와 직접 연결될 수 있는 2개의 직렬 포트들(21, 22)과, 제어 모듈(10)과의 통신을 위해 사용되며 상기 제어 모듈(10)을 거쳐서 바이너리 파일을 다운로드할 수 있는 1개의 직렬 포트(23)로 이루어진 경우이다. 종래에는 양산 중이나 제품 출시 후에도 외부에서 일반 컴퓨터로 펌웨어를 다 운받을 수 있는 UART2(22)가 기본 경로로 지정되어 왔으므로, 편리한 사용자 인터페이스를 제공하는 제어 모듈(10)을 경유해서는 텔레메틱스 모듈의 일부분인 무선통신 모듈(20)의 펌웨어 다운로드를 수행할 수 없었다. 즉, 사용자가 제어 모듈(10)과 무선 통신 모듈(20) 각각의 펌웨어 업그레이드 시 별도의 경로를 이용해야 한다는 것을 의미한다.The wireless communication module 20 itself has a plurality of serial communication ports, which are used for communication with the control module 10 and two serial ports 21 and 22 which can be directly connected to an external download interface. And one serial port 23 through which the binary file can be downloaded via the control module 10. In the prior art, since the UART2 (22) has been designated as a default path, which can be downloaded from the outside to a general computer even during mass production or after the product is released, a part of the telematics module is provided via the control module 10 which provides a convenient user interface. The firmware download of the wireless communication module 20 could not be performed. That is, it means that the user must use a separate path when upgrading the firmware of each of the control module 10 and the wireless communication module 20.

따라서, 본 발명에서는 무선통신 모듈(20)의 램 영역 중 일정 영역을 현재 경로 정보를 저장하기 위한 영역으로 할당한다. 그리고, 무선통신 모듈(20)이 다운로드를 요구하는 명령을 수신하면 현재 실행 중인 펌웨어가 그 경로를 감지하여 해당 경로 정보를 할당된 램의 특정 영역에 저장한 후 소정의 다운로드를 실시한다. 이때 다운로드 되는 바이너리 파일은 램 다운로드 핸들러이며, 실행중인 펌웨어는 이를 다운로드한 후 램으로 로드한다. 이후 램 다운로드 핸들러로 제어권이 이양되는 경우, 상기 램 다운로드 핸들러가 램의 특정 영역에 저장된 현재 경로 정보를 획득하여 이를 기반으로 후속되는 실제 펌웨어 바이너리 파일의 다운로드를 완료하도록 한다. Therefore, in the present invention, a predetermined area of the RAM area of the wireless communication module 20 is allocated as an area for storing current path information. When the wireless communication module 20 receives a command for requesting the download, the firmware currently executed detects the path, stores the corresponding path information in a specific area of the allocated RAM, and then performs a predetermined download. The downloaded binary file is a RAM download handler, and the running firmware downloads it and loads it into RAM. Then, when control is transferred to the RAM download handler, the RAM download handler acquires current path information stored in a specific area of RAM and completes the download of the subsequent actual firmware binary file based on this.

이렇게 특정 영역에 경로 정보를 저장하기 위해서는 우선 상기 무선통신 모듈(20)의 펌웨어 바이너리 파일 다운로드에 필요한 램 다운로드 핸들러 및 갱신될 펌웨어 바이너리 파일 생성시 해당 파일 내부에 특정한 램 영역을 경로 정보 기록을 위한 영역으로 사용함을 미리 알려주어야 한다. 그로인해 펌웨어 구동에 의해 다운로드가 실시되는 시간이나 램 다운로드 핸들러가 램에 로드되는 경우에도 해당 램 영역을 침범하지 않도록 해야 하므로 로드되거나 다운로드되는 파일들의 블록별 저장 위치를 정의하는 스캐터 로더 파일(scatter loader file)의 내용을 변경하여 해당 경로 정보 저장을 위한 램 영역을 확보할 수 있도록 한다. 즉, 개발자가 상기 스캐터 로더 파일을 참조하여 컴파일을 실시함으로써 특정 램 영역을 경로 저장용으로 확보할 수 있는 램 다운로드 핸들러와 펌웨어 바이너리 파일을 생성하는 것이다. 물론, 상기 램 다운로드 핸들러와 펌웨어 바이너리 파일에는 인지된 경로 정보를 기 지정된 램의 영역에 기록하거나 해당 영역에서 이미 기록된 경로 정보를 읽어와서 다운로드를 위한 경로 정보로 활용하도록 하는 부분이 더 포함되어야 한다. 또한, 다운로드 전에 구동되고 있는 무선통신 모듈의 펌웨어도 상기 과정을 통해 생성되어 동일한 기능을 수행할 수 있어야 한다.In order to store the path information in this specific area, a RAM download handler necessary for downloading the firmware binary file of the wireless communication module 20 and a RAM area specific to the corresponding file when generating the firmware binary file to be updated are areas for recording path information. You must tell it in advance. As a result, a scatter loader file (scatter) defining a storage location for each block of loaded or downloaded files should be prevented from invading the corresponding RAM area even when the download is executed by the firmware or the RAM download handler is loaded into RAM. change the contents of the loader file) to secure the RAM area for storing the relevant route information. That is, the developer generates a RAM download handler and a firmware binary file that can compile a reference to the scatter loader file to secure a specific RAM area for storing a path. Of course, the RAM download handler and the firmware binary file should further include a portion for recording the recognized path information in a predetermined RAM area or reading the path information already recorded in the corresponding area and using the path information for downloading. . In addition, the firmware of the wireless communication module that is driven before the download should also be generated through the above process to perform the same function.

그러면, 상기와 같이 구현된 램 다운로드 핸들러와 펌웨어 바이너리 파일을 다운로드하는 과정을 도면을 참조하여 설명하도록 한다. Next, a process of downloading the RAM download handler and the firmware binary file implemented as described above will be described with reference to the drawings.

먼저, 무선통신 모듈(20)에서 실행 중인 펌웨어가 소정의 다운로드 명령을 수신한다. 이러한 다운로드 명령은 구비된 복수의 직렬 통신 경로들(UART1~3(21~23)) 중 임의의 경로를 통해 제공될 수 있는데, 제어모듈(10)로부터 제공될 수도 있고, 다른 경로들에 연결된 전용 장비(다운로드 어플리케이션이 구동 중인 컴퓨터, 전용 개발 장비 등)로부터 제공될 수도 있다. First, the firmware running in the wireless communication module 20 receives a predetermined download command. Such a download command may be provided through any of a plurality of serial communication paths UART1 to 3 (21 to 23) provided, may be provided from the control module 10, or may be provided to other paths. It may be provided from equipment (a computer running a download application, dedicated development equipment, etc.).

상기와 같은 다운로드 명령을 수신한 무선통신 모듈(20)은 활성화 된 경로의 정보를 알 수 있게 되므로 이를 기 설정된 램의 특정 영역에 저장하고 램 다운로드 핸들러(바이너리 파일 형태)를 다운로드 한 후 이를 램으로 로드한다. 당연히, 다운로드 명령을 받은 무선통신 모듈(20)은 현재 구동중인 모든 작업을 중단하고 상 기 램 다운로드 핸들러를 램으로 로드할 수 있도록 램 영역을 비우는 작업을 수행해야 한다. Since the wireless communication module 20 that has received the above download command can know the information of the activated path, the wireless communication module 20 stores this information in a specific area of the preset RAM and downloads the RAM download handler (binary file type) to the RAM. Load. Naturally, the wireless communication module 20 that has received the download command should perform a task of emptying the RAM area so that all currently running tasks can be stopped and the RAM download handler can be loaded into RAM.

이렇게 램에 후속하는 다운로드 진행을 수행할 램 다운로드 핸들러가 로드되면, 프로그램 수행 위치를 지정하는 프로그램 카운터(PC)에 램에 로드된 램 다운로드 핸들러 시작 위치를 제공하여 점프를 실시한다. 이를 통해 제어권이 실행중인 펌웨어에서 램 다운로드 핸들러 쪽으로 이양되게 되며, 실행되던 무선통신 모듈(20)의 펌웨어는 실행이 중지된다.When a RAM download handler to perform a download progress subsequent to RAM is loaded, a jump is provided by providing a RAM download handler start position loaded in RAM to a program counter PC that designates a program execution position. Through this, the control right is transferred from the running firmware to the RAM download handler, and the firmware of the executed wireless communication module 20 is stopped.

상기와 같은 과정을 통해 제어권을 획득하여 구동을 시작하는 램 다운로드 핸들러는 램의 특정 위치를 검색하여 현재 활성화된 경로 정보를 획득할 수 있으며, 이를 후속하는 펌웨어 바이너리 파일의 다운로드를 위한 경로로 설정한 후 후속하는 다운로드를 진행한다. The RAM download handler which starts the operation by acquiring the control right through the above process may search the specific location of the RAM to obtain the currently active path information, and set it as a path for downloading the subsequent firmware binary file. Subsequent download will proceed.

모든 다운로드가 진행되어 롬에 저장된 기존 펌웨어 대신 다운로드 받은 새로운 펌웨어가 저장되었다면 상기 무선통신 모듈(20)을 리셋하여 램 다운로드 핸들러 자체는 램에서 소거되어 사라지면서 비 휘발성인 새로운 펌웨어에 의한 기동이 실시된다.If all the download is in progress and the downloaded new firmware is stored instead of the existing firmware stored in the ROM, the wireless communication module 20 is reset so that the RAM download handler itself is erased and disappeared from the RAM and started by new nonvolatile firmware. .

전술한 바와 같이, 제어권 변경이 발생하는 펌웨어 바이너리 파일 다운로드 시 제어권 변경에 의해 상이한 실행 파일들이 실행되더라도 복수의 경로들 중에서 현재 사용되고 있는 경로가 유지될 수 있어, 사용자가 임의의 경로를 마음대로 지정하여 이용할 수 있게 된다. 이는 설계는 UART1(21)으로 하고, 양산은 UART2(22)로 하며, 제품 출하 후에는 사용자 인터페이스를 제어 모듈(10)로 단일화하여 UART3(23)을 통해 펌웨어 업그레이드가 가능하도록 구성할 수도 있음을 의미한다.As described above, the path currently being used among the plurality of paths can be maintained even when different executable files are executed by the control right when downloading the firmware binary file in which the control right occurs, so that the user can arbitrarily designate any path. It becomes possible. The design is UART1 (21), the mass production is UART2 (22), and after shipment, the user interface can be configured to enable firmware upgrade through UART3 (23) by unifying the control module (10). it means.

상기한 바와 같이 본 발명 텔레메틱스를 위한 무선통신 모듈의 바이너리 파일 다운로드 방법은 복수의 다운로드 경로들을 가진 무선통신 모듈에 바이너리 파일을 다운로드하고자 하는 경우, 현재 무선통신 모듈에서 실행중인 무선통신 단말기 펌웨어가 다운로드 지시 명령이 입수된 통신 경로를 파악하여 그 정보를 특정 메모리 영역에 기록하고 상기 다운로드 지시 명령에 따라 램 다운로드 핸들러를 수신하며, 이후 상기 램 다운로드 핸들러가 제어권을 가지고 후속하는 다운로드를 지속할 경우 상기 메모리의 특정 영역에 기록된 활성 경로 정보를 확인하여 후속 다운로드 경로를 인지할 수 있도록 함으로써, 무선통신 모듈에 바이너리 파일을 다운로드하고자 할 경우 모든 경로를 자유롭게 이용할 수 있어 개발자와 사용자 모두 자신이 사용하기 쉬운 경로를 이용할 수 있게 되는 효과가 있다.As described above, when the binary file download method of the wireless communication module for telematics of the present invention intends to download a binary file to the wireless communication module having a plurality of download paths, the wireless communication terminal firmware currently executed in the wireless communication module is instructed to download. Identify the communication path from which the command was obtained and record the information in a specific memory area and receive a RAM download handler according to the download instruction command, and thereafter, if the RAM download handler has control and continues the subsequent download of the memory, By checking the active path information recorded in a specific area so that subsequent download paths can be recognized, all paths are freely available for downloading binary files to the wireless communication module, making it easier for both developers and users to use. The effect of being able to use the route.

Claims (5)

텔레메틱스 제어 모듈과 연결되며 복수의 다운로드 경로를 구비한 무선통신 모듈의 바이너리 파일 다운로드 방법에 있어서, In the binary file download method of a wireless communication module connected to the telematics control module and having a plurality of download paths, 무선통신 모듈에서 실행중인 펌웨어가 다운로드 시작 명령을 소정 경로를 통해 수신하면 해당 경로 정보를 특정 메모리 영역에 기록한 후 다운로드되는 램 다운로드 핸들러 파일을 수신하여 이를 램으로 로드하는 단계와;When the firmware executing in the wireless communication module receives a download start command through a predetermined path, recording corresponding path information in a specific memory area, receiving a downloaded RAM download handler file, and loading the downloaded RAM into a RAM; 상기 무선통신 모듈의 제어 주체를 상기 실행중인 펌웨어에서 램으로 로드된 상기 램 다운로드 핸들러로 이동하는 단계와; Moving a control entity of the wireless communication module to the RAM download handler loaded with RAM in the running firmware; 제어권을 획득한 상기 램 다운로드 핸들러는 상기 특정 메모리 영역에 기록된 경로 정보를 확인하여 해당 경로를 통해 후속 다운로드 과정을 진행하는 단계를 포함하는 것을 특징으로 하는 텔레메틱스를 위한 무선통신 모듈의 바이너리 파일 다운로드 방법.The RAM download handler acquiring the control right may include verifying path information recorded in the specific memory area and proceeding a subsequent download process through the corresponding path. . 제 1항에 있어서, 상기 다운로드 과정이 끝나면 상기 램 다운로드 핸들러는 상기 무선통신 모듈을 리셋하여 다운로드되어 롬에 저장된 펌웨어가 실행되도록 하는 단계를 포함하는 것을 특징으로 하는 텔레메틱스를 위한 무선통신 모듈의 바이너리 파일 다운로드 방법.The binary file of the wireless communication module for telematics according to claim 1, wherein, after the download process is completed, the RAM download handler includes resetting the wireless communication module to download and execute firmware stored in the ROM. How to download. 제 1항에 있어서, 상기 경로 정보가 저장되는 특정 메모리 영역은 상기 램 다운로드 핸들러 및 롬에 저장되는 모든 펌웨어 바이너리 파일 생성시 경로 정보 전용 영역으로 지정되며, 경로 정보 외에는 상기 영역의 사용이 금지되는 것을 특징으로 하는 텔레메틱스를 위한 무선통신 모듈의 바이너리 파일 다운로드 방법.The method of claim 1, wherein the specific memory area in which the path information is stored is designated as a path information exclusive area when all firmware binary files stored in the RAM download handler and the ROM are generated, and the use of the area other than the path information is prohibited. A binary file download method of a wireless communication module for telematics. 제 3항에 있어서, 상기 램 다운로드 핸들러 및 펌웨어 바이너리 파일 생성시 특정 메모리 영역의 사용을 제한하는 것은 컴파일시 사용되는 스케터 로더 파일(scatter loader file)의 정보를 수정함으로써 이루어지는 것을 특징으로 하는 텔레메틱스를 위한 무선통신 모듈의 바이너리 파일 다운로드 방법.4. The method of claim 3, wherein limiting the use of a specific memory area when generating the RAM download handler and the firmware binary file is performed by modifying information of a scatter loader file used at compile time. Binary file download method for wireless communication module. 제 1항에 있어서, 상기 다운로드 경로는 무선통신 모듈에 직접 다운로드 장비를 연결해야 하는 하나 이상의 직렬 통신 포트와, 상기 제어 모듈이 제공하는 다운로드 시작 명령 및 다운로드 바이너리 파일 데이터를 수신하기 위해 상기 제어 모듈과 연결되는 하나 이상의 직렬 통신 포트를 포함하는 것을 특징으로 하는 텔레메틱스를 위한 무선통신 모듈의 바이너리 파일 다운로드 방법.The control module of claim 1, wherein the download path comprises at least one serial communication port for connecting a download device directly to a wireless communication module, a download start command and download binary file data provided by the control module; A binary file download method of a wireless communication module for telematics, comprising one or more serial communication ports connected thereto.
KR1020050016286A 2005-02-26 2005-02-26 Binary file download method of wireless communication module for telematics KR100652714B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020050016286A KR100652714B1 (en) 2005-02-26 2005-02-26 Binary file download method of wireless communication module for telematics
CNB2005101024911A CN100378665C (en) 2005-02-26 2005-09-14 Binary document download method wireless communication module for vehicle carrying communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050016286A KR100652714B1 (en) 2005-02-26 2005-02-26 Binary file download method of wireless communication module for telematics

Publications (2)

Publication Number Publication Date
KR20060094807A true KR20060094807A (en) 2006-08-30
KR100652714B1 KR100652714B1 (en) 2006-12-01

Family

ID=36935967

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050016286A KR100652714B1 (en) 2005-02-26 2005-02-26 Binary file download method of wireless communication module for telematics

Country Status (2)

Country Link
KR (1) KR100652714B1 (en)
CN (1) CN100378665C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101797907B (en) * 2010-04-09 2012-05-23 中国科学院电工研究所 Plug-controlled vehicle-mounted electrical control system program download circuit

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100258969B1 (en) * 1997-11-20 2000-06-15 윤종용 Firmware upgrading method in wireless communication device and firmware upgrade supporting method in cell base station
KR20030010384A (en) * 2001-07-27 2003-02-05 엘지전자 주식회사 Apparatus and method for download
US6988182B2 (en) * 2002-02-13 2006-01-17 Power Measurement Ltd. Method for upgrading firmware in an electronic device
KR20020027445A (en) * 2002-03-15 2002-04-13 김기천 Mobile contents download system and method using multi-media public device
CN1251070C (en) * 2002-07-29 2006-04-12 联想(北京)有限公司 Method for upgrading solid device of wireless communiation modules in use
US20040117785A1 (en) 2002-12-13 2004-06-17 Samsung Electronics Co., Ltd. Component download manager for a wireless mobile station and method of operation
JP2004326689A (en) * 2003-04-28 2004-11-18 Nissan Motor Co Ltd Method for rewriting software of on-vehicle equipment, system of telematics system, and telematics device
KR20040107081A (en) * 2003-06-12 2004-12-20 주식회사 노바일렉트로닉 Navigation system and map data storing method thereof

Also Published As

Publication number Publication date
KR100652714B1 (en) 2006-12-01
CN100378665C (en) 2008-04-02
CN1825281A (en) 2006-08-30

Similar Documents

Publication Publication Date Title
US8484633B2 (en) Method of upgrading program of portable device and portable device having program upgrade function
ES2248568T3 (en) SYSTEM AND METHOD FOR IMPROVING SECURITY IN THE RECONDITIONING AND REPROGRAMATION OF MOBILE TELEPHONE DEVICES.
US9021427B2 (en) Conversion methods of applications of mobile devices and mobile devices and systems using the same
KR100883699B1 (en) Execution of unverified programs in a wireless device operating environment
CN112527301B (en) Method for realizing application plug-in and electronic equipment
CN110851163B (en) Software updating method compatible with multi-equipment platform based on CAN communication
WO2019159715A1 (en) Vehicle control device and program update system
KR100652714B1 (en) Binary file download method of wireless communication module for telematics
CN111566617A (en) Firmware upgrading method and device for unmanned aerial vehicle, control device, unmanned aerial vehicle and medium
US20100179980A1 (en) Cache system for mobile communications devices
CN104598281A (en) Method for upgrading system of electronic device
CN105740006A (en) Cross-platform service providing method of wearable intelligent device based on transparent computing
CN115576627A (en) Middleware configuration management method, device, equipment, storage medium and operating machine
US8584148B2 (en) Terminal device and program
KR102064519B1 (en) Method for updating software of electronic control unit of vehicle, apparatus and system thereof
JP4666231B2 (en) Application conflict management system and method and information processing terminal using the same
CN114296754A (en) Chip platform upgrading method and related device
US20090094587A1 (en) Information processing terminal and program
CN103473091A (en) Method and system for software migration and installation for computing equipment
EP2053504A1 (en) System and method for managing processing resources
KR100762618B1 (en) The method and system of upgrading firmware upgrade engine of mobile terminal
KR100662291B1 (en) Module program realization method in mobile terminal
US7702890B2 (en) Information processing apparatus and program
KR101090718B1 (en) Method for downloading software of telematcis terminal
CN116088915A (en) Online upgrading method and related products thereof

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

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20131024

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20141024

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20151023

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20161024

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20171024

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee