KR100493069B1 - Method and apparatus for recovering boot image in smart phone - Google Patents
Method and apparatus for recovering boot image in smart phone Download PDFInfo
- Publication number
- KR100493069B1 KR100493069B1 KR10-2002-0066204A KR20020066204A KR100493069B1 KR 100493069 B1 KR100493069 B1 KR 100493069B1 KR 20020066204 A KR20020066204 A KR 20020066204A KR 100493069 B1 KR100493069 B1 KR 100493069B1
- Authority
- KR
- South Korea
- Prior art keywords
- pda
- boot image
- unit
- phone
- emergency
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4416—Network booting; Remote initial program loading [RIPL]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1469—Backup restoration techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/387—Information transfer, e.g. on bus using universal interface adapter for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Computer Security & Cryptography (AREA)
- Telephone Function (AREA)
- Stored Programmes (AREA)
Abstract
본 발명은 스마트폰에서 부트 이미지를 복구하는 방법에 관한 것으로, PDA부의 부트 이미지가 기록된 플래쉬 메모리에서 상기 부트 이미지가 손상됨으로 인해, 상기 PDA부의 부팅이 정상적으로 진행되지 않을 경우, 응급 부트 모드 변환 정보가 폰제어부로 전송되는 과정과, 폰부로부터 상기 PDA부의 응급 부트 이미지가 상기 PDA부와 공유된 DPRAM으로 전송되고, 상기 PDA제어부가 상기 DPRAM에 저장된 상기 PDA부의 응급 부트 이미지로 상기 PDA부를 응급 부트하는 과정과, 상기 폰부가 무선 모듈을 통해 부트 이미지가 저장되어 있는 서버와 접속하고, 상기 서버로부터 정상 부트 이미지를 다운로드 받는 과정과, 상기 다운로드 받은 정상 부트 이미지로 상기 PDA부를 재부팅하는 과정을 포함하는 것을 특징으로 하는 스마트폰에서 부트 이미지를 복구하는 방법을 구현하였다.The present invention relates to a method for recovering a boot image in a smart phone. When booting of the PDA unit is not normally performed because the boot image is damaged in a flash memory in which a boot image of the PDA unit is recorded, emergency boot mode conversion information. Is transmitted to the phone control unit, and the emergency boot image of the PDA unit from the phone unit is transferred to the DPRAM shared with the PDA unit, the PDA control unit emergency booting the PDA unit with the emergency boot image of the PDA unit stored in the DPRAM And a step of connecting the phone unit to a server where a boot image is stored through a wireless module, downloading a normal boot image from the server, and rebooting the PDA unit with the downloaded normal boot image. How to recover a boot image on a smartphone It was current.
Description
본 발명은 PDA제어부 및 폰제어부가 각각 독립적으로 부팅되는 스마트폰에 관한 것으로, 스마트폰의 PDA부의 플래쉬 메모리에 저장된 부트 이미지가 손상되었을 때, 정상적인 부트 이미지를 재기록하여 부팅시키는 스마트폰에서 부트 이미지를 복구하는 방법 및 장치에 관한 것이다.The present invention relates to a smartphone in which the PDA controller and the phone controller are booted independently of each other. When the boot image stored in the flash memory of the PDA of the smartphone is damaged, the boot image is booted from the smartphone which rewrites and boots the normal boot image. The present invention relates to a method and an apparatus for recovering.
스마트폰(Smart Phone)이라 함은 휴대전화와 개인 휴대 단말기(Personal Digital Assistant; 이하 PDA)의 장점을 합친 것으로, 휴대 전화기에 일정관리, 팩스 송수신 및 인터넷 접속 등의 데이터 통신기능을 통합시킨 것이다.A smart phone is a combination of the advantages of a mobile phone and a personal digital assistant (PDA). The smart phone integrates data communication functions such as scheduling, fax transmission and Internet access.
상기 스마트폰의 대략적인 구조를 도 1을 참조하여 설명하면, 상기 스마트폰은 일반적으로 기능의 특성상 PDA 기능을 담당하는 PDA 제어부(PDA Processor; 120)와 폰(Phone) 기능을 담당하는 폰 제어부(Phone Processor; 150)의 듀얼 프로세서 구조로 이루어져 있고, 각각은 서로 독립적인 부트(boot) 과정을 거쳐 동작하게 된다. 그리고, 상기 두 프로세서 간의 데이터 교환은 두 프로세서의 데이터 버스를 공유하는 DPRAM(Dual-Port RAM; 140)이라는 장치를 통해서 이루어진다.Referring to FIG. 1, the schematic structure of the smart phone is generally characterized by a PDA processor 120 for a PDA function and a phone controller for a phone function. The dual-processor structure of the phone processor 150 is performed, and each of them operates through an independent boot process. The data exchange between the two processors is performed through a device called dual-port RAM (DPRAM) 140 that shares the data buses of the two processors.
또한, 일반적인 PDA 장치 또는 핸드폰에 구비된 바와 마찬가지로 전원을 공급하는 전원부(100) 및 입/출력 기능을 담당하는 입/출력부(110)로 구성된다.In addition, it is composed of a power supply unit 100 for supplying power and the input / output unit 110 in charge of the input / output function as provided in a general PDA device or a mobile phone.
상기 PDA 장치들 간의 데이터 교환은 PDA 버스(160)에 의해 이루어지며, 폰 장치들 간의 데이터 교환은 폰 버스(170)에 의해 이루어진다.The data exchange between the PDA devices is made by the PDA bus 160, and the data exchange between phone devices is made by the phone bus 170.
상기 각 제어부가 리셋될 때 시작하는 코드를 부트 코드라고 하며, 상기 PDA부에서 부팅을 위한 상기 부트 코드 이미지는 플래쉬 메모리(130)에 기록되며, 상기 전원부(100)의 전원이 최초로 온(On) 되었을 경우, 상기 플래쉬 메모리(130)에 기록된 부팅 정보를 읽어들임으로써 PDA의 부팅 작업이 진행된다.The code that starts when each control unit is reset is called a boot code, and the boot code image for booting from the PDA unit is recorded in the flash memory 130, and the power of the power source unit 100 is first turned on. If so, the booting operation of the PDA proceeds by reading the boot information recorded in the flash memory 130.
종래의 PDA 프로세서의 메모리맵을 구성할 때, 부트 코드를 가지고 있는 메모리 장치가 연결되어야 하는 PDA 제어부(120)의 CS0(Chip Select 0)에는 항상 플래쉬 메모리(130)가 연결되어 있으며, CS1(Chip Select 1)에는 DPROM(140)이 연결되어 있다.When constructing a memory map of a conventional PDA processor, a flash memory 130 is always connected to a CS0 (Chip Select 0) of a PDA controller 120 to which a memory device having a boot code is to be connected, and a CS1 (Chip). Select ROM 1 is connected to the DPROM 140.
따라서, 상기 PDA부의 플래쉬 메모리(130)에 저장된 부트 이미지 영역이 손상되어서 정상적인 부팅 절차가 진행되지 않는 경우에는 상기 스마트폰에 구비된 별도의 외부 연결 장치(예컨대, JTAG 또는 직렬포트)(미도시)를 통해 PC, ROM 라이터 등에 연결하고, 상기 장치로부터 부트 이미지를 수신받아 복구하게 된다.Therefore, when the boot image area stored in the flash memory 130 of the PDA is damaged and a normal booting procedure is not performed, a separate external connection device (eg, JTAG or serial port) provided in the smart phone (not shown) Connect to a PC, ROM writer, etc., and receives the boot image from the device to recover.
그러나, 상기와 같은 종래 방법은 PDA 프로세서의 외부 연결 장치로의 연결을 위한 커넥터와 케이블 등이 추가로 구비되어야 한다. 이러한 외부 연결 장치는 스마트폰 내부에 별도의 부품 공간의 필요로 하기 때문에, 스마트폰의 부피가 커지게 되며, 전송 속도도 느린 편이다. 또한, 플래쉬 메모리의 이미지를 전송할 수 있는 범용 PC와의 연결작업 및 이미지 전송작업 등의 별도의 작업이 필요하다. 아울러, 어느 정도 숙련된 기술자가 플래쉬 메모리를 업데이트 하기 위해 파견되어야 하는 등의 많은 인건비용을 초래한다는 단점이 있다.However, the above conventional method should be further provided with a connector and a cable for connecting to the external connection device of the PDA processor. Since the external connection device requires a separate component space inside the smartphone, the smartphone becomes bulky and the transmission speed is also slow. In addition, a separate operation such as a connection operation and an image transfer operation with a general-purpose PC capable of transferring images in the flash memory is required. In addition, there is a disadvantage in that some skilled technicians incur a lot of labor costs, such as to be dispatched to update the flash memory.
따라서, 본 발명의 목적은 스마트폰의 PDA부의 메모리에 저장된 부트 이미지가 손상됨으로 인해 정상적인 부팅 절차가 진행되지 않을 경우, 상기 부트 이미지를 폰 제어부의 무선 모듈을 통해 다운로드 받아 재기록함으로써, 별도의 외부 장치와의 연결없이 부트 이미지의 복구가 가능한 스마트폰에서 부트 이미지를 복구하는 방법 및 장치를 제공함에 있다.Accordingly, an object of the present invention is to download and rewrite the boot image through the wireless module of the phone controller to rewrite the external device when the boot image does not proceed due to damage of the boot image stored in the memory of the PDA unit. The present invention provides a method and apparatus for recovering a boot image in a smartphone capable of restoring the boot image without being connected to the network.
상기한 목적을 달성하기 위한 본 발명은, PDA제어부 및 폰제어부가 각각 독립적으로 부팅되는 스마트폰에서, PDA부의 부트 이미지가 기록된 플래쉬 메모리에서 상기 부트 이미지가 손상됨으로 인해, 상기 PDA부의 부팅이 정상적으로 진행되지 않을 경우, 응급 부트 모드 변환 정보가 폰제어부로 전송되는 과정과, 상기 폰부로부터 상기 PDA부의 응급 부트 이미지가 상기 스마트폰의 소정 영역에 구비된 DPRAM으로 전송되고, 상기 PDA제어부가 상기 DPRAM에 저장된 상기 PDA부의 응급 부트 이미지로 상기 PDA부를 응급 부트하는 과정과, 상기 폰부가 무선 모듈을 통해 부트 이미지가 저장되어 있는 서버와 접속하고, 상기 서버로부터 정상 부트 이미지를 다운로드 받는 과정과, 상기 다운로드 받은 정상 부트 이미지로 상기 PDA부를 재부팅하는 과정을 포함하는 것을 특징으로 한다.According to the present invention for achieving the above object, in a smart phone in which the PDA control unit and the phone control unit are independently booted, the boot image of the PDA unit is normally booted because the boot image is damaged in the flash memory in which the boot image of the PDA unit is recorded. If not, the emergency boot mode conversion information is transmitted to the phone control unit, and the emergency boot image of the PDA unit is transferred from the phone unit to a DPRAM provided in a predetermined region of the smartphone, and the PDA control unit transmits the DPRAM to the DPRAM. Emergency booting the PDA unit with the emergency boot image stored in the PDA unit, connecting the phone unit to a server where the boot image is stored through a wireless module, and downloading a normal boot image from the server; Rebooting the PDA unit with a normal boot image Gong.
상기 다운로드 받은 정상 부트 이미지로 상기 PDA부를 재부팅하는 과정은, 상기 서버로부터 정상 부트 이미지를 다운로드 받는 과정과, 상기 다운로드된 정상 부트 이미지를 상기 DPRAM에 기록하는 과정과, 상기 PDA 제어부가 상기 DPRAM에 기록된 정상 부트 이미지를 상기 PDA부의 플래쉬 메모리에 저장하는 과정과, 상기 PDA부의 플래쉬 메모리에 저장된 정상 부트 이미지로 상기 PDA부를 재부팅하는 과정을 포함하는 것을 특징으로 한다.Rebooting the PDA unit with the downloaded normal boot image may include downloading a normal boot image from the server, writing the downloaded normal boot image to the DPRAM, and writing the DP controller to the DPRAM. And storing the normal boot image in the flash memory of the PDA unit and rebooting the PDA unit with the normal boot image stored in the flash memory of the PDA unit.
상기 응급 부트 이미지는 상기 PDA부가 정상 부트 이미지를 다운로드 받을 수 있도록 기능을 수행하는 최소한의 코드를 포함하고 있는 것을 특징으로 한다.The emergency boot image is characterized in that it comprises a minimum code for performing a function to allow the PDA unit to download the normal boot image.
또한, 상기한 목적을 달성하기 위한 본 발명은, PDA제어부 및 폰제어부가 각각 독립적으로 부팅되는 스마트폰에서, 상기 PDA부의 부트 이미지가 기록된 메모리에서 부트 이미지가 손상됨으로 인해 PDA부의 부팅이 정상적으로 진행되지 않을 경우, 응급 부트 모드 변환 정보를 폰제어부로 전송시키는 제1과정과, 상기 응급 부트 모드 변환 정보를 수신한 폰제어부의 플래쉬 메모리에 저장된 응급 부트 이미지로 상기 PDA부를 응급 부트하는 제2과정과, 상기 폰제어부의 무선 모듈을 통해 부트 이미지가 저장되어 있는 서버에 접속하고, 상기 서버로부터 정상 부트 이미지를 다운로드 받아 상기 PDA부로 전송시키는 제3과정과, 상기 다운로드 받은 정상 부트 이미지로 상기 PDA부를 재부팅시키는 제4과정을 수행하는 응급 부트 회로부를 구비하는 것을 특징으로 한다.In addition, the present invention for achieving the above object, in the smart phone in which the PDA control unit and the phone control unit is booted independently, the booting of the PDA unit proceeds normally because the boot image is damaged in the memory in which the boot image of the PDA unit is recorded; If not, the first process of transmitting the emergency boot mode conversion information to the phone control unit, the second process of emergency booting the PDA unit with the emergency boot image stored in the flash memory of the phone control unit receiving the emergency boot mode conversion information; And a third process of accessing a server where a boot image is stored through a wireless module of the phone control unit, downloading a normal boot image from the server, and transmitting the normal boot image to the PDA unit, and rebooting the PDA unit with the downloaded normal boot image. Equipped with an emergency boot circuit for performing a fourth process to .
상기 정상 부트 이미지가 PDA부로 전송되는 제3과정은, 상기 정상 부트 이미지가 상기 DPRAM으로 전송되는 과정과, 상기 DPRAM에 저장된 정상 부트 이미지를 상기 PDA부의 플래쉬 메모리에 기록하는 과정과, 상기 플래쉬 메로리에 기록된 정상 부트 이미지로 상기 PDA부를 재부팅하는 과정을 포함하는 것을 특징으로 한다.The third process of transmitting the normal boot image to the PDA unit may include: transmitting the normal boot image to the DPRAM, writing a normal boot image stored in the DPRAM to the flash memory of the PDA unit, and writing to the flash memory. And rebooting the PDA unit with the recorded normal boot image.
상기 DPRAM은 상기 PDA제어부와 PDA 데이터 버스를 통해 통신하고, 상기 폰제어부와 폰 데이터 버스를 통해 통신하여 상기 PDA부 및 폰부가 공유하여 사용하는 것을 특징으로 한다. The DPRAM communicates with the PDA control unit via a PDA data bus, and communicates with the phone control unit via a phone data bus to share the PDA unit and the phone unit.
이하 본 발명의 바람직한 실시예의 상세한 설명이 첨부된 도면들을 참조하여 설명될 것이다. 하기에서 각 도면의 구성요소들에 참조부호를 부가함에 있어 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한, 본 발명을 설명함에 있어 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략할 것이다. 그리고, 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의 내려진 용어들로서 이는 사용자 또는 칩설계자의 의도 또는 관례등에 따라 달라질 수 있으며, 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.DETAILED DESCRIPTION A detailed description of preferred embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description of the reference numerals to the components of the drawings it should be noted that the same reference numerals as possible even if displayed on different drawings. In addition, in describing the present invention, when it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted. In addition, terms to be described below are terms defined in consideration of functions in the present invention, which may vary according to the intention or custom of a user or a chip designer, and the definitions should be made based on the contents throughout the present specification.
도 2는 본 발명에 따른 응급 부트 회로를 사용한 스마트 폰의 구조를 나타낸 블록도이다.2 is a block diagram showing the structure of a smart phone using an emergency boot circuit according to the present invention.
상기 도 2에 도시된 바에 따르면, 종래의 스마트 폰에 긴급 부트 회로(200)를 더 구성하여, PDA 부의 플래쉬 메모리(130)가 손상되더라도 폰 부의 기능에 문제가 없을 경우, 간단한 키조합 상태에서 전원을 인가하는 작업만으로 PDA 부의 플래쉬 메모리(130)를 복구할 수 있다.As shown in FIG. 2, the emergency boot circuit 200 is further configured in a conventional smart phone, so that even if the flash memory 130 of the PDA unit is damaged, there is no problem in the function of the phone unit. The flash memory 130 of the PDA unit may be restored only by applying the operation.
즉, 상기 도 2를 참조하면, 상기 PDA 제어부(120)의 CS0에 연결되는 메모리 장치를 응급 부트 회로(Emergency boot logic; 200)가 선택해 줄 수 있도록 하여, 정상적인 부팅 절차가 이루어질 경우에는 플래쉬 메모리(130)로 부팅하고, 응급시에는 DPRAM(140)을 이용해서 부팅할 수 있도록 한다.That is, referring to FIG. 2, the emergency boot circuit 200 selects a memory device connected to CS0 of the PDA controller 120 so that a flash memory (or flash memory) may be used when a normal booting procedure is performed. 130), and in case of an emergency, it is possible to boot using the DPRAM 140.
하기 <표 1>은 상기 응급 부트 회로(200)의 상태에 따른 신호 처리를 나타낸 표이다.Table 1 below shows signal processing according to the state of the emergency boot circuit 200.
상기 <표 1>을 참조하면, 정상 부트 상태에서는 PDA 제어부의 CS0가 플래쉬 메모리(130) 연결 단자인 CS_FL과 연결되어, 플래쉬 메모리(130)로부터 부트 이미지를 읽어들여, 정상적인 부팅 절차를 수행한다.Referring to Table 1, in the normal boot state, CS0 of the PDA controller is connected to CS_FL, which is a connection terminal of the flash memory 130, and reads a boot image from the flash memory 130 to perform a normal booting procedure.
그러나, 상기 플래쉬 메모리(130)에 저장된 부트 이미지가 손상되어서 정상적인 부팅이 진행되지 않을 경우, 상기 응급 부트 회로(200)의 폰 제어부(150)와 연결되는 GPEM 값이 하이(High)로 전환되어, 상기 폰 제어부(150)에서는 응급 부트 상태임을 인식하고 정상적인 상태를 유지하고 있는 폰부의 플래쉬 메모리 및 무선 모듈(미도시)을 통해 부트 이미지를 전송 받게 된다.However, when the boot image stored in the flash memory 130 is damaged and normal booting does not proceed, the GPEM value connected to the phone controller 150 of the emergency boot circuit 200 is changed to high, The phone controller 150 recognizes an emergency boot state and receives a boot image through a flash memory and a wireless module (not shown) of the phone unit which maintain a normal state.
상기 폰부로부터 전송된 부트 이미지는 우선 DPRAM(140)에 저장되며, 상기 <표 1>에 도시된 바와 같이 응급 상태에서는 PDA 제어부의 CS0가 DPRAM(140) 연결 단자인 CS_DP와 연결되므로, PDA의 제어부가 DPRAM에 기록된 부트 이미지를 읽어 들여, 부트 절차를 수행한다.The boot image transmitted from the phone unit is first stored in the DPRAM 140. In the emergency state, as shown in Table 1, since CS0 of the PDA controller is connected to CS_DP, which is a connection terminal of the DPRAM 140, the PDA controller Reads the boot image recorded in DPRAM and performs the boot procedure.
상기 과정에서 전송 절차가 완료되었을 경우, 상기 폰 제어부(150)는 GPRD를 일정 시간동안 하이(high)로 전환시켜 응급 부트 회로(200)가 PDA를 리셋시키도록 한다. 상기 GPRD의 출력은 전원부(100)로부터의 파워 신호와 논리합(AND gate) 소자로 PDA의 리셋(RESET; active high로 가정)에 연결된다.When the transmission procedure is completed in the above process, the phone controller 150 switches the GPRD high for a predetermined time so that the emergency boot circuit 200 resets the PDA. The output of the GPRD is connected to a reset of the PDA (assuming active high) by an AND gate element from a power signal from the power supply unit 100.
한편, 상기 DPRAM(140)의 용량은 SDRAM 이나 플래쉬 메모리(130)와 비교할 때 현저히 작은 편이다. 따라서, DPRAM(140)에 다운로드된 PDA 응급 부트 이미지는 단지 폰 부로부터 정상 부트 이미지를 전송받아, 플래쉬 메모리(130)에 저장하는 기능만을 수행하게 하는 것이 바람직하다.Meanwhile, the capacity of the DPRAM 140 is significantly smaller than that of the SDRAM or the flash memory 130. Accordingly, the PDA emergency boot image downloaded to the DPRAM 140 preferably receives only the normal boot image from the phone unit and stores only the flash boot image in the flash memory 130.
이하, 상기 응급 부트 회로(200)를 통해 PDA 부를 부팅하는 절차를 도 3 및 도 4를 참조하여 상세히 설명한다.Hereinafter, a procedure of booting the PDA unit through the emergency boot circuit 200 will be described in detail with reference to FIGS. 3 and 4.
도 3은 본 발명의 실시예에 따른 폰부의 응급 부트 이미지로 PDA부를 부팅하는 절차를 나타낸 흐름도이다.3 is a flowchart illustrating a procedure of booting a PDA unit with an emergency boot image of a phone unit according to an exemplary embodiment of the present invention.
PDA 프로세서의 부트 이미지가 손상되었을 경우, 사용자는 단말기의 기 설정된 특정 키 버튼의 조합을 누른 후 스마트폰을 켜서 응급 부트 모드로 진행한다.If the boot image of the PDA processor is damaged, the user presses a combination of predetermined key buttons of the terminal and then turns on the smartphone to proceed to the emergency boot mode.
우선, PDA 제어부(120)의 MMU(Memory Management Unit)를 초기화(S300)하여 응급 부트 이미지를 수신할 준비를 한다.First, the memory management unit (MMU) of the PDA controller 120 is initialized (S300) to prepare for receiving an emergency boot image.
상기 폰 제어부(150)는 응급 부트 회로(200)로부터 응급 부트 이미지 송신 명령을 받고, 상기 명령에 따라 상기 폰부의 소정 영역에 구비되어 있는 플래쉬 메모리(미도시)로부터 상기 PDA부의 응급 부트 이미지를 읽어들인다.The phone controller 150 receives an emergency boot image transmission command from the emergency boot circuit 200 and reads an emergency boot image of the PDA unit from a flash memory (not shown) provided in a predetermined area of the phone unit according to the command. It is.
상기 응급 부트 이미지는 상기 PDA부로의 직접적인 송신이 어려우므로, 상기 PDA부의 데이터 버스 및 폰부의 데이터 버스와 공유되어 있는 DPRAM(140)으로 전송된다.Since the emergency boot image is difficult to directly transmit to the PDA unit, the emergency boot image is transmitted to the DPRAM 140 which is shared with the data bus of the PDA unit and the data bus of the phone unit.
상기 PDA부에서는 상기 DPRAM(140)으로부터 정상 부트 이미지를 수신(S310)받아, 상기 PDA부의 플래쉬 메모리(130)에 기록(S320)하며, 기록이 완료되면 폰 제어부(150)에 정상 수신이 완료되었음을 보고(S330)한다.The PDA unit receives a normal boot image from the DPRAM 140 (S310), writes it to the flash memory 130 of the PDA unit (S320), and when the recording is completed, the normal reception of the phone controller 150 is completed. Report (S330).
상기와 같은 응급 부트 이미지에 의해 상기 PDA부가 최소한의 기본적인 부팅 절차를 수행하고, 정상적인 부팅 절차 수행을 위해 정상 부트 이미지의 수신 대기 모드로 진행된다.By the emergency boot image as described above, the PDA unit performs a minimum basic booting procedure and proceeds to a standby mode of receiving a normal boot image to perform a normal booting procedure.
도 4는 본 발명의 실시에에 따른 PDA 제어부에서의 정상 부트 이미지 다운로드 절차를 나타낸 흐름도이다.4 is a flowchart illustrating a normal boot image download procedure in a PDA controller according to an embodiment of the present invention.
먼저, 폰 제어부(150)는 부팅 시(S400)에 응급 신호를 나타내는 GPIO(General Purpose Input/Output)인 GPEM을 체크(S410)하여, 상기 GPEM이 로우(low)일 경우, 정상적인 상태로 인식하여 정상 부트 과정을 수행(S420)한다.First, the phone controller 150 checks a GPEM, which is a general purpose input / output (GPIO) indicating an emergency signal, at S400, and recognizes it as a normal state when the GPEM is low. A normal boot process is performed (S420).
만약, PDA부의 플래쉬 메모리(130)의 손상으로 인해 정상 부팅이 되지 않을 경우, 응급 부트 회로의 응급 상태를 나타내는 GPEM이 하이(high)로 설정되며, 상기 폰 제어부(150)의 GPEM 체크(S410)시, 상기 GPEM을 통해 응급 부트 모드임을 인식하고, PDA 부의 부트 이미지를 DPRAM(140)에 다운로드하는 응급 부트 모드로 진입한다.If the normal boot is not performed due to the damage of the flash memory 130 of the PDA unit, the GPEM indicating the emergency state of the emergency boot circuit is set to high, and the GPEM check of the phone controller 150 is performed (S410). At the time, the GPEM recognizes the emergency boot mode through the GPEM, and enters the emergency boot mode in which the boot image of the PDA unit is downloaded to the DPRAM 140.
상기 응급 부트 모드가 시작되면, 상기 폰 제어부(150)에서는 무선 모듈(미도시)을 통해 무선 네트워크에 연결하고, 상기 응급 부트 이미지가 저장된 고객 지원용 서버에 접속(S430)한다.When the emergency boot mode starts, the phone controller 150 connects to a wireless network through a wireless module (not shown) and accesses a server for customer support in which the emergency boot image is stored (S430).
상기 서버에 접속하여 저장된 최신의 PDA 정상 부트 이미지를 다운로드(S440) 받으면, 상기 다운로드된 데이터는 DPRAM(140)에 기록(S450)되며, 상기 PDA 부로 하여금 상기 DPRAM(140)에 저장된 정상 부트 이미지를 전송받을 수 있도록 준비한다. 여기서, 상기 정상 부트 이미지는 PDA 부가 정상적으로 부팅될 경우의 기능 수행을 위한 코드를 수록한 정보이며, 상술한 응급 부트 이미지에 의해 최소한의 부팅 작업을 수행한 이후, 정상적인 부팅 작업의 수행을 위해 추가적으로 필요한 정보들을 포함한다.When the latest PDA normal boot image stored by accessing the server is downloaded (S440), the downloaded data is recorded in the DPRAM 140 (S450), and the PDA unit downloads the normal boot image stored in the DPRAM 140. Be prepared to receive it. Here, the normal boot image is information containing a code for performing a function when the PDA is normally booted, and after the minimal booting operation is performed by the emergency boot image described above, additionally necessary for performing a normal booting operation. Contains information.
상기 다운로드가 완료되어 DPRAM(140)에 저장된 정상 부트 이미지는 헤더 및 체크썸 등을 검사(S460)하는 과정을 통해 부트 가능한 코드인지를 확인한다.The download is completed and the normal boot image stored in the DPRAM 140 checks whether a bootable code is obtained through a process of checking a header, a checksum, and the like (S460).
상기 확인 결과 이상이 없을 경우, GPIO인 GPRD를 일정 시간동안 하이(high)로 전환시켜 응급 부트 회로(200)가 PDA 부를 리셋(S470)시키도록 한다. 즉, 상기 도 2에서 상술한 바와 같이, 상기 GPRD의 출력은 전원부(100)로부터의 전력 신호와 논리합(AND gate)되어 PDA 제어부(120)의 리셋(RESET)에 연결된다.If there is no abnormality, the emergency boot circuit 200 resets the PDA unit (S470) by switching GPRD, which is a GPIO, to high for a predetermined time. That is, as described above with reference to FIG. 2, the output of the GPRD is AND gated with the power signal from the power supply unit 100 and is connected to a reset of the PDA control unit 120.
상기 폰 제어부((150)는 DPRAM(140)의 잔여 메모리 영역을 이용하여 다운로드된 정상 부트 이미지를 PDA 부로 전송(S480)한다.The phone controller 150 transmits the downloaded normal boot image to the PDA by using the remaining memory area of the DPRAM 140 (S480).
상기 정상 부트 이미지는 상기 도 3에서 전송받은 응급 부트 이미지 정보를 포함하여 구성함으로써, 상기 응급 부트 이미지는 PDA 부의 최소 부팅을 위해서만 사용할 수 있도록 구성하고, 상기 정상 부트 이미지는 상기 최소 부팅 이후 상기 PDA 부에 의한 단독 부팅을 정상적으로 진행할 수 있도록 하기 위하여 플래쉬 메모리(130)에 저장시키는 데이터로 구성할 수 있다.The normal boot image is configured to include the emergency boot image information transmitted in FIG. 3, so that the emergency boot image can be used only for minimal booting of the PDA unit, and the normal boot image is configured after the minimum booting of the PDA unit. In order to allow a single boot to proceed normally, data may be stored in the flash memory 130.
다른 방법으로는, 상기 정상 부트 이미지를 상기 PDA 부의 정상적인 부팅을 위해서 상기 응급 부트 이미지 정보에 추가되는 정보만으로 구성할 수 있다. 상기와 같은 구성에 의해, 일차적으로 응급 부트 이미지가 플래쉬 메모리(130)에 저장되면, 이후 다운로드 되는 정상 부트 이미지가 상기 플래쉬 메모리의 잔여 영역에 추가로 저장될 수 있다.Alternatively, the normal boot image may be configured only with information added to the emergency boot image information for normal booting of the PDA unit. By the above configuration, if the emergency boot image is first stored in the flash memory 130, the normal boot image downloaded thereafter may be additionally stored in the remaining area of the flash memory.
상기 PDA 제어부(120)는 폰 제어부(150)로부터 정상 부트 이미지를 전송받아, 플래쉬 메모리(130)에 기록하고, 기록이 완료되었음을 폰 제어부(150)에 보고한다.The PDA controller 120 receives the normal boot image from the phone controller 150, records the normal boot image in the flash memory 130, and reports the completion of the recording to the phone controller 150.
이때, 상기 기록 완료 보고는 상기 DPRAM(140)으로부터 플래쉬 메모리(130)로 전송되는 데이터 단위별로 상기 폰 제어부(150)에 보고하는 것이 가능하며, 최종적으로 모든 정상 부트 이미지가 완료되었음을 PDA 제어부(120)가 판단하여 상기 폰 제어부(150)에 보고할 수 있다.In this case, the recording completion report may be reported to the phone controller 150 for each data unit transmitted from the DPRAM 140 to the flash memory 130, and finally, the PDA controller 120 indicates that all normal boot images are completed. May be determined and reported to the phone controller 150.
다른 방법으로는, 폰 제어부(150)가 상기 정상 부트 이미지 전송시 최종 데이터를 전송 완료한 후, 상기 PDA 제어부(120)에 통보함으로써 상기 전송 절차를 종료할 수 있다.Alternatively, the phone control unit 150 may terminate the transmission procedure by notifying the PDA control unit 120 after completing the final data transmission during the normal boot image transmission.
한편, 폰 제어부(150)에서는 응급 부트 회로(200)에서 응급 모드를 해제한 후, 상기 GPRD를 일정 시간동안 하이(high)로 유지하여 상기 PDA 부를 리셋(S490)시키고, 폰 제어부(150) 자신도 리셋함으로써 정상적인 부트 상태로 들어갈 수 있다.On the other hand, after the phone control unit 150 releases the emergency mode from the emergency boot circuit 200, the GPRD is kept high for a predetermined time to reset the PDA unit (S490), and the phone control unit 150 itself. You can also enter the normal boot state by resetting it.
상술한 바와 같이 본 발명의 상세한 설명에서는 구체적인 실시 예에 관해 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능함은 물론이 다. 그러므로 본 발명의 범위는 설명된 실시 예에 국한되어 정해져서는 아니되며 후술하는 특허청구의 범위뿐만 아니라 이 특허청구의 범위와 균등한 것들에 의해 정해져야 한다.As described above, in the detailed description of the present invention, specific embodiments have been described, but various modifications are possible without departing from the scope of the present invention. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined not only by the scope of the following claims, but also by those equivalent to the scope of the claims.
상술한 바와 같은 본 발명은, 스마트폰에서 PDA 부의 부트 정보가 손상되어 정상적인 부팅이 이루어지지 않을 경우, 폰 부에 구비된 무선 모듈을 통해 상기 부트 정보를 다운로드 받아 부팅함으로써, 외부 연결 장치에 의해 상기 부트 정보를 전송받는 불편함을 줄일 수 있으며, 그에 따른 불필요한 부품 공간을 줄일 수 있다는 장점이 있다.According to the present invention as described above, when the boot information of the PDA unit in the smartphone is damaged and normal booting is not performed, the boot information is downloaded and booted through a wireless module provided in the phone unit. The inconvenience of receiving the boot information can be reduced, thereby reducing unnecessary component space.
또한, 무선 모듈을 통해 직접 다운로드 받음으로써, 외부 연결 장치에 의해 전송받을 경우 초래되는 플래쉬 메모리의 업데이트를 위해 숙련된 기술자가 파견되어야 하는 불편함을 줄일 수 있다.In addition, by downloading directly through the wireless module, it is possible to reduce the inconvenience that a skilled technician must be dispatched to update the flash memory caused when received by the external connection device.
도 1은 종래 기술에 따른 스마트폰의 듀얼 프로세서 구조를 나타낸 블록도.1 is a block diagram showing a dual processor structure of a smartphone according to the prior art.
도 2는 본 발명에 따른 응급 부트 회로를 사용한 스마트 폰의 구조를 나타낸 블록도.Figure 2 is a block diagram showing the structure of a smart phone using an emergency boot circuit according to the present invention.
도 3은 본 발명의 실시예에 따른 폰부의 응급 부트 이미지로 PDA부를 부팅하는 절차를 나타낸 흐름도.3 is a flowchart illustrating a procedure of booting a PDA unit with an emergency boot image of a phone unit according to an exemplary embodiment of the present invention.
도 4는 본 발명의 실시예에 따른 PDA 제어부에서의 부트 이미지 다운로드 절차를 나타낸 흐름도.4 is a flowchart illustrating a boot image download procedure in a PDA controller according to an embodiment of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR10-2002-0066204A KR100493069B1 (en) | 2002-10-29 | 2002-10-29 | Method and apparatus for recovering boot image in smart phone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR10-2002-0066204A KR100493069B1 (en) | 2002-10-29 | 2002-10-29 | Method and apparatus for recovering boot image in smart phone |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20040037636A KR20040037636A (en) | 2004-05-07 |
KR100493069B1 true KR100493069B1 (en) | 2005-06-02 |
Family
ID=37335922
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR10-2002-0066204A Expired - Fee Related KR100493069B1 (en) | 2002-10-29 | 2002-10-29 | Method and apparatus for recovering boot image in smart phone |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100493069B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101156210B1 (en) * | 2005-10-18 | 2012-06-18 | 삼성전자주식회사 | Apparatus and method for using the memory by smart-phone |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11316687A (en) * | 1998-02-05 | 1999-11-16 | Compaq Computer Corp | Automatic recovery system |
KR200170061Y1 (en) * | 1999-07-06 | 2000-02-15 | 지 리트 마이크로 컴퓨터 테크놀로지 코포레이션 | Flash memory with recovery capability |
KR100248757B1 (en) * | 1997-12-20 | 2000-03-15 | 윤종용 | Method of damaged rom bios recovery function |
KR20000025816A (en) * | 1998-10-14 | 2000-05-06 | 서평원 | Method for downloading software of mobile phone using mobile communication network |
KR20010028715A (en) * | 1999-09-22 | 2001-04-06 | 서평원 | apparatus and method for booting in data processing system |
KR20010038169A (en) * | 1999-10-22 | 2001-05-15 | 송재인 | An alteration method of booting program |
KR20010070803A (en) * | 2001-06-08 | 2001-07-27 | 하창섭 | Recovery and back-up system and the method using thereof |
KR20020049096A (en) * | 2000-12-19 | 2002-06-26 | 엘지전자 주식회사 | data restoring control device of the flash ROM in the information processing system |
KR20020065186A (en) * | 2001-02-06 | 2002-08-13 | 삼성전자 주식회사 | Method for recovering booter code in update fail state of cellular system |
-
2002
- 2002-10-29 KR KR10-2002-0066204A patent/KR100493069B1/en not_active Expired - Fee Related
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100248757B1 (en) * | 1997-12-20 | 2000-03-15 | 윤종용 | Method of damaged rom bios recovery function |
JPH11316687A (en) * | 1998-02-05 | 1999-11-16 | Compaq Computer Corp | Automatic recovery system |
KR20000025816A (en) * | 1998-10-14 | 2000-05-06 | 서평원 | Method for downloading software of mobile phone using mobile communication network |
KR200170061Y1 (en) * | 1999-07-06 | 2000-02-15 | 지 리트 마이크로 컴퓨터 테크놀로지 코포레이션 | Flash memory with recovery capability |
KR20010028715A (en) * | 1999-09-22 | 2001-04-06 | 서평원 | apparatus and method for booting in data processing system |
KR20010038169A (en) * | 1999-10-22 | 2001-05-15 | 송재인 | An alteration method of booting program |
KR20020049096A (en) * | 2000-12-19 | 2002-06-26 | 엘지전자 주식회사 | data restoring control device of the flash ROM in the information processing system |
KR20020065186A (en) * | 2001-02-06 | 2002-08-13 | 삼성전자 주식회사 | Method for recovering booter code in update fail state of cellular system |
KR20010070803A (en) * | 2001-06-08 | 2001-07-27 | 하창섭 | Recovery and back-up system and the method using thereof |
Also Published As
Publication number | Publication date |
---|---|
KR20040037636A (en) | 2004-05-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100946831B1 (en) | Data Processing System and Data Processor | |
US20100064036A1 (en) | Peripheral device operation method, peripheral device and host | |
US20100235617A1 (en) | System recovery method and embedded system with automatic recovery function | |
KR100855701B1 (en) | Chip and data processing method incorporating multiple processor cores | |
US20050010914A1 (en) | Method for upgrading firmware | |
CN101917779A (en) | Method and device for automatically adapting to wireless modules with different network standards | |
CN101373438B (en) | Method, system and apparatus for managing basic input and output system | |
KR100493069B1 (en) | Method and apparatus for recovering boot image in smart phone | |
JP4840553B2 (en) | Wireless communication apparatus, boot program rewriting method and program | |
US7071975B2 (en) | Image pickup apparatus | |
CN101882110A (en) | Method for downloading data and terminal equipment | |
CN211015473U (en) | Upgrade configuration logic circuit, programmable logic device and upgrade configuration system | |
JP2002208886A (en) | Portable terminal equipment, storage data updating method and firmware-updating method | |
JP2005215796A (en) | Firmware update system and method for portable terminal, update module delivery medium, portable terminal and program | |
US20080045244A1 (en) | Radio base station apparatus | |
CN112860595B (en) | PCI (peripheral component interconnect express) equipment or PCIE (peripheral component interconnect express) equipment, data access method and related assembly | |
KR100736902B1 (en) | Memory sharing method and apparatus by a plurality of processors | |
JP2002259151A (en) | Communication equipment | |
JP2005174156A (en) | Memory device and electronic equipment having the same | |
KR100630871B1 (en) | User terminal, user terminal software upgrade method and recording medium | |
US12032512B2 (en) | Processor chip, dongle device, and operation method | |
TWI757923B (en) | Pre-boot execution environment determination system and method thereof | |
KR100658591B1 (en) | Display control method and device using shared memory | |
CN115203107B (en) | Bus interface configuration method and system and electronic equipment | |
US6298402B1 (en) | Method for rewriting data including program in an information processing apparatus and an information processing apparatus capable of rewriting data including program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20021029 |
|
PA0201 | Request for examination | ||
PG1501 | Laying open of application | ||
E902 | Notification of reason for refusal | ||
PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20041126 Patent event code: PE09021S01D |
|
E701 | Decision to grant or registration of patent right | ||
PE0701 | Decision of registration |
Patent event code: PE07011S01D Comment text: Decision to Grant Registration Patent event date: 20050419 |
|
GRNT | Written decision to grant | ||
PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 20050525 Patent event code: PR07011E01D |
|
PR1002 | Payment of registration fee |
Payment date: 20050526 End annual number: 3 Start annual number: 1 |
|
PG1601 | Publication of registration | ||
LAPS | Lapse due to unpaid annual fee | ||
PC1903 | Unpaid annual fee |