KR100631584B1 - How to Force Download of Program on Mobile Terminal - Google Patents

How to Force Download of Program on Mobile Terminal Download PDF

Info

Publication number
KR100631584B1
KR100631584B1 KR1020040066869A KR20040066869A KR100631584B1 KR 100631584 B1 KR100631584 B1 KR 100631584B1 KR 1020040066869 A KR1020040066869 A KR 1020040066869A KR 20040066869 A KR20040066869 A KR 20040066869A KR 100631584 B1 KR100631584 B1 KR 100631584B1
Authority
KR
South Korea
Prior art keywords
program
terminal
download
communication port
state value
Prior art date
Application number
KR1020040066869A
Other languages
Korean (ko)
Other versions
KR20060018484A (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 KR1020040066869A priority Critical patent/KR100631584B1/en
Priority to JP2005226040A priority patent/JP2006065857A/en
Priority to US11/210,018 priority patent/US7770166B2/en
Priority to EP05018289A priority patent/EP1630669A1/en
Priority to CNB2005101160051A priority patent/CN100465892C/en
Publication of KR20060018484A publication Critical patent/KR20060018484A/en
Application granted granted Critical
Publication of KR100631584B1 publication Critical patent/KR100631584B1/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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping

Abstract

본 발명은 두 개 이상의 통신포트에서 다운로드 기능을 지원하는 이동 통신 단말기에 있어서, 상황에 따라 어느 한 통신포트를 통해 다운로드 기능을 수행할 수 있도록 하는 이동 통신 단말기의 프로그램 강제 다운로드 방법에 관한 것이다.The present invention relates to a method for forcibly downloading a program of a mobile communication terminal in a mobile communication terminal supporting a download function in two or more communication ports, so as to perform a download function through any one communication port according to a situation.

본 발명은 단말기의 부팅 시 특정 메모리 번지에 기록된 상태값(정상 상태값, 에러 상태값)을 체크하는 단계와; 상기 상태값이 에러 상태값이면 강제 다운로드 모드로 진입하여, 프로그램을 다운로드 할 내부 통신포트를 선택하는 단계와; 상기 선택된 내부 통신포트가 일정한 전송속도를 유지할 수 있도록 초기화 하는 단계와; 상기 선택된 내부 통신포트를 통해 프로그램을 다운로드 하는 단계를 포함하여 이루어짐으로써 달성할 수 있다.The present invention includes the steps of checking a state value (normal state value, error state value) recorded in a specific memory address when the terminal is booted; If the status value is an error status value, enters a forced download mode and selects an internal communication port to download a program; Initializing the selected internal communication port to maintain a constant transmission rate; This can be achieved by including downloading a program through the selected internal communication port.

Description

이동 통신 단말기의 프로그램 강제 다운로드 방법{PROGRAM FORCE DOWNLOAD METHOD FOR MOBILE COMMUNICATION DEVICE}How to force download of mobile communication program {PROGRAM FORCE DOWNLOAD METHOD FOR MOBILE COMMUNICATION DEVICE}

도 1은 본 발명에 따른 이동 통신 단말기의 프로그램 메모리의 맵 구성을 보인 예시도.1 is an exemplary view showing a map configuration of a program memory of a mobile communication terminal according to the present invention.

도 2는 본 발명에 따른 선택된 통신 포트를 통해 프로그램 강제 다운로드를 수행하는 과정을 보인 순서도.2 is a flowchart illustrating a process of forcibly downloading a program through a selected communication port according to the present invention.

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

101 : 부트 바이너리 영역 102 : 메인 바이너리 영역101: boot binary area 102: main binary area

본 발명은 이동 통신 단말기의 프로그램 강제 다운로드 방법에 관한 것으로, 특히 외부/내부 통신포트에서 다운로드 기능을 지원하는 이동 통신 단말기에 있어서, 상황에 따라 어느 한 통신포트를 통해 다운로드 기능을 수행할 수 있도록 하는 이동 통신 단말기의 프로그램 강제 다운로드 방법에 관한 것이다.The present invention relates to a method for forcibly downloading a program of a mobile communication terminal. Particularly, in a mobile communication terminal supporting a download function in an external / internal communication port, it is possible to perform a download function through any one communication port according to a situation. A method for forced download of a program of a mobile communication terminal.

일반적으로, 이동 통신 단말기는 제조 과정에서 펌웨어 프로그램을 탑재하거나, 시판된 단말기에 에러가 발생하거나, 또는 단말기에 탑재된 프로그램을 업데이트하는 경우, A/S 센터를 통해 프로그램을 재 다운로드 하게 된다.In general, when a mobile communication terminal mounts a firmware program, an error occurs in a commercially available terminal, or updates a program mounted on the terminal, the mobile communication terminal downloads the program again through an A / S center.

그런데, 상기 프로그램 다운로드(업데이트) 중 단말기의 전원이 오프되거나, 피씨가 다운되는 경우에 다운로드(업데이트)를 실패하게 되는데, 이 경우 상기 다운로드 과정이 정상적으로 완료되지 않았기 때문에, 단말기의 정상적인 부팅도 사실상 불가능하게 되는 상황이 발생한다. However, when the terminal is powered off or the PC is down during the program download (update), the download (update) fails. In this case, since the download process is not completed normally, normal booting of the terminal is virtually impossible. A situation arises.

따라서, 단말기에는 상기와 같은 상황 발생 시 지정된 특정 키(버튼)를 눌러, 강제 다운로드 모드로 진입할 수 있도록 하는 수단을 구비하고 있다.Therefore, the terminal is provided with a means for entering a forced download mode by pressing a specified specific key (button) when such a situation occurs.

그러나, 피디에이 타입 단말기의 경우 키 스캔을 통신모듈(CDMA 모듈, MSM)에서 자체에서 수행하는 것이 아니라, 피디에이 모듈에서 키 스캔한 결과 값을 소정 통신포트(UART2)를 통해 통보 받아 처리하는 구조로 되어 있기 때문에, 상기와 같은 강제 다운로드 모드 전환 방법을 적용할 수 없다.However, in the case of the PD-type terminal, the key scan is not performed by the communication module (CDMA module, MSM) itself, but the key scan result of the PD module is notified through the predetermined communication port (UART2). Because of this, the forced download mode switching method as described above cannot be applied.

즉, 피디에이 타입 단말기는 통신모듈이 정상적으로 부팅한 후, 피디에이와 직렬 통신을 담당하는 타스크(Task)가 원활하게 동작되어야만, 피디에이 모듈에서 전달되는 키를 인식할 수 있는데, 통신모듈에 프로그램을 다운로드 하던 중, 어떤 원인에 의해 작업이 성공적으로 완료되지 않을 경우, 통신모듈이 정상적으로 부팅 할 수 없게 되기 때문에, 피디에이 모듈과의 통신이 이루어지지 않게 되고, 결국 종래 방식으로 특정 키(버튼)를 눌러 강제 다운로드 모드로 진입하고 싶더라도, 키를 인식할 수 없으므로 종래 방법을 적용할 수 없는 문제점이 있다.In other words, after the communication module is normally booted, the PD-type terminal can recognize the key transmitted from the PD module only when the task (Task) responsible for serial communication with the PD is smoothly operated. If the task is not completed successfully due to any reason, the communication module cannot boot normally, so communication with the PD module cannot be made, and eventually the user is forced to download by pressing a specific key (button) in a conventional manner. Even if the user wants to enter the mode, there is a problem that the conventional method cannot be applied because the key cannot be recognized.

상기와 같이 피디에이 타입과 같은 단말기는 두 통신포트(UART1, UART2)를 통해서 다운로드 기능을 지원하도록 설계되어 있지만, 실질적으로는 다운로드 통신 포트가 달라지면, 램 상주 프로그램(UART1용 램 상주 프로그램, UART2용 램 상주 프로그램)도 달라져야 하기 때문에, 종래의 강제 다운로드 기능을 보면 특정 외부 통신포트(UART1)로만 다운로드가 가능하도록 출시되고 있는 상황이다.
상기 UART(Universal Asynchronous Receiver/Transmitter: 범용 비동기화 송수신기) 포트는 비동기 직렬 통신을 처리하는 장치를 의미하며, 모든 컴퓨터에는 직렬 포트를 관리하기 위해 UART가 있고, 모든 내부 모뎀도 각자의 UART를 가지고 있다.
As described above, a terminal such as a PD type is designed to support a download function through two communication ports (UART1 and UART2). Resident programs) also need to be different, so the conventional forced download function is being released so that it can be downloaded only to a specific external communication port (UART1).
The Universal Asynchronous Receiver / Transmitter (UART) port refers to a device that handles asynchronous serial communications. Every computer has a UART to manage the serial port, and every internal modem has its own UART. .

그런데, 외부 통신포트로 강제 다운로드 기능을 수행하려면 양산 시 제조사에서 특별히 제작한 24핀 커넥터(LT라 칭함)가 있어야 가능하기 때문에, 사용자가 스스로 프로그램 업데이트를 하던 도중 어떤 이유로 인해 실패한 경우, LT가 없이는 강제 다운로드 기능을 실행할 수 없다는 문제점이 존재한다.However, in order to perform the forced download function to the external communication port, it is possible to have a 24 pin connector (called LT) specially manufactured by the manufacturer at the time of mass production. If the user fails for some reason while updating the program by himself, without LT, There is a problem that the forced download function cannot be executed.

따라서, 본 발명은 상기와 같은 종래의 문제점을 해결하기 위하여 창출한 것으로, 피디에이 타입 단말기와 같이, 두 개 이상의 통신포트에서 다운로드 기능을 지원하는 이동 통신 단말기의 프로그램 업그레이드 중, 에러 발생에 의해 정상적인 부팅이 이루어지지 않을 경우, 프로그램 강제 다운로드 모드로 진입하여 어느 한 통신포트를 통해 다운로드 기능을 수행할 수 있도록 하는 이동 통신 단말기의 프로그램 강제 다운로드 방법을 제공함에 그 목적이 있다.Therefore, the present invention was created to solve the above-mentioned conventional problems, such as a PC-type terminal, during a program upgrade of a mobile communication terminal supporting a download function in two or more communication ports, during normal booting due to an error occurrence If this is not done, it is an object of the present invention to provide a program forced download method of the mobile communication terminal to enter the program forced download mode to perform a download function through any one communication port.

이와 같은 목적을 달성하기 위한 본 발명은, 단말기의 부팅 시 특정 메모리 번지에 기록된 상태값(정상 상태값, 에러 상태값)을 체크하는 단계와; 상기 상태값이 에러 상태값이면 강제 다운로드 모드로 진입하여, 프로그램을 다운로드 할 내부 통신포트를 선택하는 단계와; 상기 선택된 내부 통신포트가 일정한 전송속도를 유지할 수 있도록 초기화 하는 단계와; 상기 선택된 내부 통신포트를 통해 프로그램을 다운로드 하는 단계를 포함하여 이루어진 것을 특징으로 한다.The present invention for achieving the above object comprises the steps of checking the state value (normal state value, error state value) recorded in a specific memory address at the time of booting of the terminal; If the status value is an error status value, enters a forced download mode and selects an internal communication port to download a program; Initializing the selected internal communication port to maintain a constant transmission rate; And downloading the program through the selected internal communication port.

본 발명은 피디에이 타입 단말기와 같이 외부/내부 통신포트(UART1, UART2)에서 다운로드 기능을 지원하는 이동 통신 단말기에 있어서, 통신모듈(CDMA 모듈) 정상 동작 중 PDA용 프로그램 업데이트 툴을 이용해 내부 통신포트를 통해 통신모듈의 프로그램을 업데이트할 수 있고, 통신모듈(CDMA 모듈) 정상 동작 중 PC용 프로그램 업데이트 툴을 이용해 외부 통신포트를 통해 통신모듈의 프로그램을 업데이트할 수 있고, 강제 다운로드 모드 진입 시 사용자가 선택한 통신포트를 통해 통신모듈의 프로그램을 업데이트할 수 있도록 하는 방법의 제공을 요지로 한다.The present invention provides a mobile communication terminal that supports a download function in external / internal communication ports (UART1, UART2), such as a PD-type terminal, and uses an internal communication port using a program update tool for PDA during normal operation of a communication module (CDMA module). The program of the communication module can be updated through the program, and the program of the communication module (CDMA module) can be used to update the program of the communication module through the external communication port by using the program update tool for PC. An object of the present invention is to provide a method for updating a program of a communication module through a communication port.

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

도1은 본 발명에 따른 이동 통신 단말기의 프로그램 메모리의 맵 구성을 보인 예시도로서, 이에 도시된 바와 같이 물리적으로는 부트 바이너리 영역(101)과 메인 바이너리 영역(102)으로 분리하고, 0번지(0x0000)부터 일정 영역(부트 바이너리 영역)에 부트 프로그램을 저장하고, 그 후 소정 번지(0x10000)부터 메인 바이너리 영역으로 설정하여 메인 프로그램을 저장하도록 한다.1 is an exemplary view showing a map configuration of a program memory of a mobile communication terminal according to the present invention. As shown in FIG. 1, the boot binary area 101 and the main binary area 102 are physically separated, and address 0 ( The boot program is stored in a predetermined area (boot binary area) from 0x0000), and then the main program is stored in a predetermined address (0x10000) as the main binary area.

여기서, 상기 부트 바이너리 영역에 저장되는 부트 프로그램은, MSM 칩(ARM Core 초기화)의 초기 구동 알고리즘과 RAM 및 ROM의 초기화 및 외부/내부 통신포트(UART1, UART2)를 초기화하여 프로그램의 다운로드가 가능하도록 하는 함수를 포함한다.Here, the boot program stored in the boot binary region may be configured to download the program by initializing the initial driving algorithm of the MSM chip (ARM Core initialization), RAM and ROM initialization, and external / internal communication ports (UART1 and UART2). Contains a function to

또한, 프로그램 다운로드 진행에 실패하여 강제 프로그램 다운로드 모드로 진입할 경우, 통신모듈(MSM 칩)의 특정 포트(GPIO Pin)의 상태를 조사하여 강제 다운로드 기능을 수행할 포트(UART1 or UART2)를 결정해 해당 통신포트를 초기화하고, 일정한 전송속도(Baud rate)를 유지할 수 있도록 하는 함수를 포함한다.In addition, when the program download fails to enter the forced program download mode, the port (UART1 or UART2) to perform the forced download function is determined by examining the state of a specific port (GPIO Pin) of the communication module (MSM chip). It includes a function that initializes the communication port and maintains a constant baud rate.

따라서, 상기 부트 영역의 프로그램은 단말기 부팅 시마다 정상적인 프로그램 업데이트 여부를 체크하여, 정상적인 단말기 구동이 가능할 경우, 상기 두 영역에 있는 프로그램을 병합(Merge)하여 단말기를 구동하고, 불완전한 프로그램 업데이트에 의해 단말기의 구동이 어렵다고 판단되는 경우, 강제 다운로드 모드로 자동 전환하고 설정 상태에 따라 외부 통신포트 또는 내부 통신포트를 통해 다운로드 기능을 수행할 수 있도록 한다.Therefore, the program in the boot area checks whether a normal program update is performed every time the terminal is booted, and when the normal terminal can be driven, the program is driven by merging the programs in the two areas, and the terminal is incompletely updated. If it is determined that the drive is difficult, it automatically switches to the forced download mode and performs the download function through the external communication port or the internal communication port according to the setting state.

즉, 종래 피디에이 타입 이동 통신 단말기의 경우, 양산 단계에서 사용하던 외부 통신포트(UART1)를 통해 통신모듈의 프로그램 업데이트를 수행하고, 다른 내부 통신포트(UART2)를 통해서는 피디에이 모듈과의 통신을 수행하기 때문에, 피디에이 타입이 아닌 기존의 단일 이동 통신 단말기의 경우, 외부 통신포트(UART1)로 강제 다운로드 기능을 수행하려면 양산 시 제조사에서 특별히 제작한 24핀 커넥터(LT라 칭함)가 있어야 하고, 피디에이 타입의 경우 피디에이 모듈과의 통신이 이루어지지 않기 때문에, 강제 다운로드 모드로 진입할 수 없는 문제점이 있었다.That is, in the conventional PD-type mobile communication terminal, the program update of the communication module is performed through the external communication port (UART1) used in the mass production step, and the communication with the PD module through the other internal communication port (UART2). Therefore, in the case of the existing single mobile communication terminal that is not a PD type, in order to perform a forced download function to the external communication port (UART1), a 24 pin connector (called LT) manufactured by the manufacturer at the time of mass production must be provided. In the case of the communication with the PD module is not made, there was a problem that can not enter the forced download mode.

따라서, 본 발명에서는 부팅 과정에서 외부 통신포트 또는 내부 통신포트를 통해 강제 다운로드 모드로 진입하도록 함으로써, 특히 통신모듈과 피디에이 모듈의 통신포트인 내부 통신포트를 사용할 수 있도록 하여, 특정 툴(24핀 커넥터:LT)이 없더라도 피디에이 모듈을 통해 통신모듈의 프로그램을 업데이트 할 수 있도록 한다.Therefore, in the present invention, by entering the forced download mode through the external communication port or the internal communication port during the booting process, in particular, it is possible to use the internal communication port, which is the communication port of the communication module and the PD module, a specific tool (24-pin connector Even if there is no: LT), it is possible to update the program of communication module through PD module.

즉, 메모리 카드 등에 업데이트할 프로그램을 저장하고, 그 메모리 카드를 피디에이 모듈에 삽입하는 방식으로 복사할 수 있으며, 그 업데이트할 프로그램과 함께 업데이트 툴(프로그램)을 함께 저장하고, 그 업데이트 툴을 실행하여 활성화되어 있는 내부 통신포트를 통해 통신모듈의 프로그램을 업데이트하는 것이다.That is, a program to be updated may be stored in a memory card or the like, and the memory card may be copied by inserting the memory card into the PD module. The update tool (program) is stored together with the program to be updated, and the update tool is executed. It updates the program of communication module through activated internal communication port.

이때, 상기 업데이트할 프로그램과 업데이트 툴은 하나의 파일(캐비넷 파일)로 묶어 저장할 수 있으며, 그 캐비넷 파일을 실행시킬 경우 함께 묶여 있는 업데이트할 프로그램을 참조하여 통신모듈의 프로그램 업데이트를 수행하는 것이다.In this case, the program to be updated and the update tool may be stored in a single file (cabinet file), and when the cabinet file is executed, the program update of the communication module is performed by referring to the program to be bundled together.

도2는 본 발명에 따른 선택된 통신 포트를 통해 프로그램 강제 다운로드를 수행하는 과정을 보인 순서도로서, 사용자가 단말기 제조사의 인터넷 사이트에 접속하여 자신이 가지고 있는 특정 단말기 모델의 캐비넷 파일(업데이트할 프로그램 파일(Binary 파일) 및 그 프로그램 업데이트 시 사용할 툴(응용 프로그램)을 하나로 묶은 파일)을 자신의 PC에 다운로드 받은 후, 액티브 Sync 또는 메모리 카드를 이용해 피디에이 모듈로 복사한 후, 그 캐비넷 파일을 실행시켜 통신모듈(CDMA 모듈)의 프로그램 업데이트를 수행한다.FIG. 2 is a flowchart illustrating a process of forcibly downloading a program through a selected communication port according to the present invention, wherein a user accesses an Internet site of a terminal manufacturer and has a cabinet file (a program file to be updated) of a specific terminal model. Download the binary file) and the tool (application program) used to update the program into one's own PC, copy it to the PD module using Active Sync or memory card, and execute the cabinet file to execute the communication module. Perform a program update of the (CDMA module).

만약, 업데이트 도중 PDA의 전원이 꺼지거나 사용자의 실수로 PDA의 배터리가 본체에서 분리되는 경우 등, 불가피한 통신상의 장애가 발생한 경우 PDA를 리셋 하게 되고, 그로 인해 통신 모듈에 인가되던 전원도 끊겼다가 다시 인가되어 재부팅을 수행하게 된다.If an unavoidable communication failure occurs, such as when the PDA powers off or the battery of the PDA is disconnected from the main body during the update, the PDA is reset, and the power applied to the communication module is cut off and then applied again. Will reboot.

상기와 같이 통신모듈(CDMA 모듈)이 재부팅을 하면, 정상 동작 수행을 위해 메모리(RAM, ROM) 및 MSM 칩의 H/W 레지스터 값들을 초기화하고, 각종 먹스(MUX) (GPIO 포트 설정, 동작 클럭 설정 등) 값들을 초기화한다.As described above, when the communication module (CDMA module) reboots, the H / W register values of the memory (RAM, ROM) and the MSM chip are initialized to perform normal operation, and various MUX (GPIO port settings and operation clocks) are initialized. Setting, etc.)

상기 모든 H/W적 초기화 작업을 마친 경우, 플래시 영역의 특정번지(0xFFFE) 값을 리드하여, 기존에 프로그램 업데이트 과정이 올바르게 수행되었는지 여부를 검사한다.When all the H / W initialization operations are completed, the specific address (0xFFFE) value of the flash area is read to check whether the program update process is correctly performed.

즉, 프로그램 업데이트 시 정상적인 업데이트 완료 여부에 따라, 특정 메모리 번지(0xFFFE)에 소정의 상태값(정상 상태값:0xAB, 에러 상태값:0xFF or 0x00)을 기록하도록 하고, 부팅 시 해당 번지의 값을 체크하여 정상적인 상태값이 기록되어 있으면 부팅을 계속 수행하고, 에러값이 기록되어 있으면 강제 다운로드 모드로 전환하는 것이다. 예컨대, 상기 상태값은 프로그램 업데이트를 시작하기 전 특정 메모리 번지에 에러 상태값을 먼저 기록한 후, 프로그램 업데이트가 정상적으로 완료되었을 경우, 상기 특정 메모리 번지에 정상 상태값을 기록하는 것으로, 만약 업데이트를 정상적으로 완료하지 못하였을 경우 에러 상태값이 그대로 남아있게 되는 것이다. That is, depending on whether or not the normal update is completed during the program update, the predetermined state value (normal state value: 0xAB, error state value: 0xFF or 0x00) is recorded in a specific memory address (0xFFFE), and the value of the corresponding address at boot time is recorded. If it checks, if the normal state value is recorded, booting continues. If the error value is recorded, it switches to forced download mode. For example, the status value is to first record an error status value at a specific memory address before starting the program update, and then, if the program update is normally completed, the normal value is recorded at the specific memory address. If you fail to do so, the error status remains.

상기와 같이 강제 다운로드 모드로 진입 후에는 MSM 칩의 특정 포트(GPIO Pin)의 상태(High or Low)를 체크하여, 해당 강제 다운로드 기능을 외부 통신포트(UART1)로 진행할 것인지, 내부 통신포트(UART2)로 진행할 것인지를 결정한다. 이때, 상기 특정 포트의 상태는 단말기 외부에 풀업/풀다운 스위치를 장착하여 사용자가 선택할 수 있도록 한다.After entering the forced download mode as described above, check the state (High or Low) of the specific port (GPIO Pin) of the MSM chip, and proceed with the forced download function to the external communication port (UART1), or internal communication port (UART2). Decide if you want to proceed. At this time, the state of the specific port is equipped with a pull-up / pull-down switch outside the terminal so that the user can select.

이로써, 본 발명은 통신모듈(CDMA 모듈) 정상 동작 중 PDA용 프로그램 업데이트 툴을 이용해 내부 통신포트(예:UART2)를 통해 통신모듈의 프로그램을 업데이트할 수 있고(S101), 통신모듈(CDMA 모듈) 정상 동작 중 PC용 프로그램 업데이트 툴을 이용해 UART1을 통해 프로그램을 업데이트할 수 있고(S102), 강제 다운로드 모드 진입 시 사용자가 선택한 포트를 통해 프로그램을 업데이트(S103) 할 수 있도록 한다.Thus, the present invention can update the program of the communication module through the internal communication port (for example, UART2) using the PDA program update tool during normal operation of the communication module (CDMA module) (S101), the communication module (CDMA module) During normal operation, the program update tool for the PC can be used to update the program through UART1 (S102), and when the forced download mode is entered, the program can be updated through the port selected by the user (S103).

이상에서 설명한 바와 같이 본 발명 이동 통신 단말기의 프로그램 강제 다운로드 방법은 피디에이 타입 단말기와 같이, 두 개 이상의 통신포트에서 다운로드 기능을 지원하는 이동 통신 단말기의 프로그램 업그레이드 중, 에러 발생에 의해 정상적인 부팅이 이루어지지 않을 경우, 프로그램 강제 다운로드 모드로 진입하여 내부 통신포트를 통해 다운로드 기능을 수행할 수 있도록 함으로써, 사용자의 편의성과 제조사의 A/S 비용 절감 및 제품의 신뢰성 향상을 향상시키는 효과가 있다.As described above, in the program forced download method of the mobile terminal according to the present invention, during a program upgrade of a mobile communication terminal supporting a download function in two or more communication ports, such as a PD type terminal, normal booting is not performed due to an error. If not, by entering the program forced download mode to perform the download function through the internal communication port, there is an effect of improving the convenience of the user, reducing the A / S cost of the manufacturer and improving the reliability of the product.

Claims (11)

삭제delete 삭제delete 삭제delete 단말기의 부팅 시 특정 메모리 번지에 기록된 상태값(정상 상태값, 에러 상태값)을 체크하는 단계와;Checking a state value (normal state value and error state value) recorded at a specific memory address when the terminal is booted; 상기 상태값이 에러 상태값이면 강제 다운로드 모드로 진입하여, 프로그램을 다운로드 할 내부 통신포트를 선택하는 단계와;If the status value is an error status value, enters a forced download mode and selects an internal communication port to download a program; 상기 선택된 내부 통신포트가 일정한 전송속도를 유지할 수 있도록 초기화 하는 단계와;Initializing the selected internal communication port to maintain a constant transmission rate; 상기 선택된 내부 통신포트를 통해 프로그램을 다운로드 하는 단계를 포함하여 이루어진 것을 특징으로 하는 이동 통신 단말기의 프로그램 강제 다운로드 방법.Downloading a program through the selected internal communication port. 제4항에 있어서, 상기 내부 통신포트는,The method of claim 4, wherein the internal communication port, 통신모듈의 특정 포트 레벨에 따라 결정되도록 이루어진 것을 특징으로 하는 이동 통신 단말기의 프로그램 강제 다운로드 방법.Forced download method of a mobile communication terminal, characterized in that determined to be determined according to a specific port level of the communication module. 제4항 또는 제5항에 있어서, 상기 내부 통신포트는,The method of claim 4 or 5, wherein the internal communication port, 복수의 UART(Universal Asynchronous Receiver/Transmitter) 포트 중 어느 하나인 것을 특징으로 하는 이동 통신 단말기의 프로그램 강제 다운로드 방법.A method for forcibly downloading a program of a mobile communication terminal, characterized in that any one of a plurality of UART (Universal Asynchronous Receiver / Transmitter) ports. 삭제delete 제4항에 있어서, 상기 강제 다운로드 모드에서 프로그램 업데이트를 할 경우, PC에 다운로드 받은 캐비넷 파일(*.cab)을 액티브 싱크 인터페이스, 또는 메모리 카드를 이용해 피디에이 모듈로 복사한 후, 그 캐비넷 파일을 실행시켜 통신모듈의 프로그램 업데이트를 수행하도록 이루어진 것을 특징으로 하는 이동 통신 단말기의 프로그램 강제 다운로드 방법.The method according to claim 4, wherein when the program is updated in the forced download mode, a cabinet file (* .cab) downloaded to a PC is copied to a PD module using an active sync interface or a memory card, and then the cabinet file is executed. Force a program download of the mobile communication terminal, characterized in that for performing a program update of the communication module. 제8항에 있어서, 상기 캐비넷 파일은, The method of claim 8, wherein the cabinet file, 업데이트할 프로그램 파일(Binary 파일) 및 그 프로그램 업데이트 시 사용할 툴(응용 프로그램)을 하나로 묶은 형태의 파일인 것을 특징으로 하는 이동 통신 단말기의 프로그램 강제 다운로드 방법.A method for forcibly downloading a program of a mobile communication terminal, comprising: a file in which a program file to be updated (binary file) and a tool (application program) to be used when updating the program are bundled. 제4항에 있어서, 상기 상태값은,The method of claim 4, wherein the state value, 이동 통신 단말기의 메모리 영역을 부트 바이너리 영역과 메인 바이너리 영역으로 분할하는 과정과;Dividing a memory area of the mobile communication terminal into a boot binary area and a main binary area; 상기 분할된 각 영역에 프로그램 업데이트를 시작하기 전 특정 메모리 번지에 에러 상태값을 기록하는 과정과;Writing an error state value to a specific memory address before starting a program update in each of the divided regions; 상기 분할된 각 영역에 부트 프로그램과 메인 프로그램을 업데이트 하는 과정과;Updating a boot program and a main program in each of the divided regions; 상기 프로그램의 업데이트가 정상적으로 완료되었을 경우, 상기 특정 메모리 번지에 정상 상태값을 기록하는 과정으로 이루어진 것을 특징으로 하는 이동 통신 단말기의 프로그램 강제 다운로드 방법.And if the update of the program is completed normally, writing a normal state value to the specific memory address. 제4항 또는 제10항에 있어서, 상기 단말기의 부팅이 완료될 경우,The method of claim 4 or 10, wherein when the booting of the terminal is completed, 부트 프로그램과 메인 프로그램을 병합(merge)하여 하나의 통합 프로그램으로 만들어 단말기를 운용하도록 이루어진 것을 특징으로 하는 이동 통신 단말기의 프로그램 강제 다운로드 방법.A method for forcibly downloading a program of a mobile communication terminal, characterized in that a boot program and a main program are merged to form a single integrated program to operate a terminal.
KR1020040066869A 2004-08-24 2004-08-24 How to Force Download of Program on Mobile Terminal KR100631584B1 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
KR1020040066869A KR100631584B1 (en) 2004-08-24 2004-08-24 How to Force Download of Program on Mobile Terminal
JP2005226040A JP2006065857A (en) 2004-08-24 2005-08-03 Method and device for forcibly downloading program in mobile communication terminal
US11/210,018 US7770166B2 (en) 2004-08-24 2005-08-22 Forcibly downloading program in mobile communications terminal
EP05018289A EP1630669A1 (en) 2004-08-24 2005-08-23 Forcibly downloading program in mobile communications terminal
CNB2005101160051A CN100465892C (en) 2004-08-24 2005-08-24 Forcibly downloading program in mobile communications terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040066869A KR100631584B1 (en) 2004-08-24 2004-08-24 How to Force Download of Program on Mobile Terminal

Publications (2)

Publication Number Publication Date
KR20060018484A KR20060018484A (en) 2006-03-02
KR100631584B1 true KR100631584B1 (en) 2006-10-09

Family

ID=36605426

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040066869A KR100631584B1 (en) 2004-08-24 2004-08-24 How to Force Download of Program on Mobile Terminal

Country Status (2)

Country Link
KR (1) KR100631584B1 (en)
CN (1) CN100465892C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101466665B1 (en) * 2013-11-01 2014-12-01 주식회사 디텍프론티어 Method of design of emmc multi-downloader using multiplexer
CN110727626A (en) * 2019-09-24 2020-01-24 广东以诺通讯有限公司 Method for implementing forced downloading by terminal
CN114253619A (en) * 2021-12-21 2022-03-29 苏州忆联信息系统有限公司 SSD multi-level Boot method and device, computer equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6799037B1 (en) * 1996-12-12 2004-09-28 Verizon Airfone Inc. Method and apparatus for communication with a mobile unit
US6948099B1 (en) * 1999-07-30 2005-09-20 Intel Corporation Re-loading operating systems
CA2357382A1 (en) * 2001-09-17 2003-03-17 Soma Networks, Inc. Software update method, apparatus and system
JP2003125445A (en) * 2001-10-10 2003-04-25 Toshiba Corp System information downloading method and mobile communication terminal

Also Published As

Publication number Publication date
CN100465892C (en) 2009-03-04
KR20060018484A (en) 2006-03-02
CN1749965A (en) 2006-03-22

Similar Documents

Publication Publication Date Title
US7770166B2 (en) Forcibly downloading program in mobile communications terminal
US8490081B2 (en) Method and apparatus for installing software in mobile communication terminal
US20030221092A1 (en) Method and system of switching between two or more images of firmware on a host device
US7984239B2 (en) Control program download device
US20020095619A1 (en) Fault tolerant/redundant boot ROM reprogramming
CN101505331A (en) Method and apparatus for updating system software of smart phone
US20080209201A1 (en) Apparatus and method for updating boot logo image in portable terminal
KR100631584B1 (en) How to Force Download of Program on Mobile Terminal
US20050010914A1 (en) Method for upgrading firmware
JP2007328534A (en) Information processor and control method for information processor
CN101500330A (en) Tool for fast and safely updating operation system of smart phone
US20070162735A1 (en) Control chip for a computer boot procedure and related method
KR101181758B1 (en) Method for Factory Reset of Mobile Terminal
CN211427090U (en) Micro control unit device
JP5489278B2 (en) Information processing apparatus and activation method thereof
KR100631583B1 (en) How to check program update and force download of mobile terminal
KR100745487B1 (en) Method and apparatus for recovering a boot code in mobile terminal
KR100630871B1 (en) User terminal, method for upgrading software of user terminal and recording medium
KR20060020466A (en) Operating program automatic restoration method for mobile communication device
KR20040056682A (en) Software error restore methode for downloading of wireless phone
CN211236838U (en) Initialization reset circuit after notebook computer is updated
KR100777289B1 (en) Method for software upgrade using firmware in mobile terminal
KR100490743B1 (en) Method for downloading file by using usb in the boot loader
KR100325061B1 (en) Flash ROM Reprogamming Method Of No-OS System
CN100419678C (en) BIOS updating system and method

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
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

LAPS Lapse due to unpaid annual fee