KR20050089124A - A mobile communication system having self check function - Google Patents

A mobile communication system having self check function Download PDF

Info

Publication number
KR20050089124A
KR20050089124A KR1020040014301A KR20040014301A KR20050089124A KR 20050089124 A KR20050089124 A KR 20050089124A KR 1020040014301 A KR1020040014301 A KR 1020040014301A KR 20040014301 A KR20040014301 A KR 20040014301A KR 20050089124 A KR20050089124 A KR 20050089124A
Authority
KR
South Korea
Prior art keywords
main cpu
memory
controller
program
control
Prior art date
Application number
KR1020040014301A
Other languages
Korean (ko)
Inventor
강대호
장동숙
고동우
Original Assignee
(주)그로웰텔레콤
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by (주)그로웰텔레콤 filed Critical (주)그로웰텔레콤
Priority to KR1020040014301A priority Critical patent/KR20050089124A/en
Publication of KR20050089124A publication Critical patent/KR20050089124A/en

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65DCONTAINERS FOR STORAGE OR TRANSPORT OF ARTICLES OR MATERIALS, e.g. BAGS, BARRELS, BOTTLES, BOXES, CANS, CARTONS, CRATES, DRUMS, JARS, TANKS, HOPPERS, FORWARDING CONTAINERS; ACCESSORIES, CLOSURES, OR FITTINGS THEREFOR; PACKAGING ELEMENTS; PACKAGES
    • B65D23/00Details of bottles or jars not otherwise provided for
    • B65D23/10Handles
    • B65D23/104Handles formed separately
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65DCONTAINERS FOR STORAGE OR TRANSPORT OF ARTICLES OR MATERIALS, e.g. BAGS, BARRELS, BOTTLES, BOXES, CANS, CARTONS, CRATES, DRUMS, JARS, TANKS, HOPPERS, FORWARDING CONTAINERS; ACCESSORIES, CLOSURES, OR FITTINGS THEREFOR; PACKAGING ELEMENTS; PACKAGES
    • B65D25/00Details of other kinds or types of rigid or semi-rigid containers
    • B65D25/28Handles
    • B65D25/2802Handles fixed, i.e. non-swingable, handles
    • B65D25/2805Handles fixed, i.e. non-swingable, handles provided on a local area of the side walls
    • B65D25/2817Handles fixed, i.e. non-swingable, handles provided on a local area of the side walls fixed by means of one or more collars

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Stored Programmes (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

이 발명은 자체 감시 기능을 갖는 이동통신 시스템에 관한 것이다. 메모리는 이동통신기기에 다운로드프로그램을 저장하기 위한 복수의 영역을 포함하고, 메인 CPU는 상기 메모리의 프로그램을 실행한다. 이때, 제어부는 상기 메인 CPU의 제어에 따라 시스템을 리셋시키고, 상기 메모리의 로딩 위치를 바꾸도록 제어하며, 상기 메인 CPU를 감시하다가 이상이 발생될 때에는 메인 CPU를 리셋 시킨다. 이렇게 함으로써, 두개 이상의 단독 프로그램이 저장되어 있는 메모리 영역을 선택적으로 사용하게 하고, 오동작이 감지 될 경우 CPU를 리셋시켜 오동작에서 벗어나게 할 수 있다.The present invention relates to a mobile communication system having a self-monitoring function. The memory includes a plurality of areas for storing the download program in the mobile communication device, and the main CPU executes the program in the memory. At this time, the control unit resets the system under the control of the main CPU, controls to change the loading position of the memory, and monitors the main CPU and resets the main CPU when an error occurs. By doing so, it is possible to selectively use a memory area in which two or more independent programs are stored, and to reset the CPU when a malfunction is detected, thereby releasing the malfunction.

Description

자체 감시기능을 갖는 이동통신 시스템 {A mobile communication system having self check function}A mobile communication system having self check function

이 발명은 이동 통신 시스템에 관한 것으로, 특히, 이동 단말기, 셀룰러폰, 무인 단말기 등의 이동 통신 시스템에 관한 것이다.The present invention relates to a mobile communication system, and more particularly, to a mobile communication system such as a mobile terminal, a cellular phone, an unmanned terminal.

현재 통신 모듈은 1개의 프로그램으로 동작되고 있으며, 만약 다른 프로그램을 실행하고 싶다면 현재의 프로그램은 삭제하고 원하는 프로그램을 새로 다운로드하여 사용하고 있다.Currently, communication module operates as one program. If you want to execute other program, delete the current program and download and use new program.

다운로드후에 다운로드 이전의 프로그램을 실행하고자 하는 경우에는 새로 다운로드받은 프로그램을 지우고 원래의 프로그램을 다운로드해야만 한다. If you want to run a program before downloading after downloading, you must delete the newly downloaded program and download the original program.

특히, 무인 기기의 경우 펌웨어 버전(firmware version)을 업그레이드시켜야 할 경우 메모리 영역이 한 개뿐이므로 원격 업그레이드를 시행 할 수 없으므로 운용자가 직접 방문하여 업그레이드를 시켜야만하므로 고 비용이 발생하게 된다.In particular, in the case of an unattended device, when upgrading the firmware version, there is only one memory area, so remote upgrade cannot be performed. Therefore, a high cost is incurred because the operator must visit and upgrade.

또한, 직렬(Serial) 통신을 이용한 다운로드시에 현재의 영역에 다운로드를 시도하다 전원의 절단 등이 발생하여 다운로드가 실패되거나, 다운로드를 실행시켜주는 파일(Boot Block 파일)에 오류가 생겼다면 플래시 메모리에 전기적 특성을 이용하여 강제로 다운로드하는 장치가 아니라면 다시 다운로드를 할 수 없는 상황이 발생하게 된다.In addition, if a download is failed due to a power cut or the like when the download is attempted using the serial communication, the download fails, or an error occurs in the file (Boot Block file) that executes the download. If the device is not forcibly downloaded by using the electrical characteristics, the download cannot occur again.

특히, 무인 기기의 경우 파워 오프나 홀팅(Halting) 등의 예기치 않은 오동작에 대해서 이것을 감지 개선시킬 수 있는 방법이 없다. In particular, in the case of an unmanned device, there is no way to improve the detection of unexpected malfunctions such as power off or holding.

이런 경우가 발생할 경우 인적 자원을 할애하여 기기의 오 동작을 확인하고 기기를 정상화 시켜야 한다. 그러나 이런 일련의 작업들은 단순한 작업이긴 하지만 인적 자원을 파견하는 일이 계속 될 경우 고 비용이 소요되게 된다. When this happens, human resources should be allocated to check the malfunction of the device and to normalize the device. However, this series of tasks is a simple task, but it is expensive if the dispatch of human resources continues.

이와같이 종래에는 단말기의 메인 중앙처리장치의 리셋 벡터가 고정되어 있기 때문에 펌웨어를 저장할 수 있는 플래시 메모리 영역이 여러개가 있다 하더라도 중앙처리장치 자체에서 선택적으로 펌웨어를 사용할 수 없는 문제점을 갖고 있다. As described above, since the reset vector of the main CPU of the terminal is fixed, there is a problem in that the firmware cannot be selectively used by the CPU itself even though there are several flash memory areas capable of storing firmware.

그러므로, 이 발명의 과제는 종래의 문제점을 해결하기 위한 것으로, 따라서 메인 중앙처리장치(CPU)는 항상 같은 방법으로 프로그램을 액세스하게 하고 모듈 내에 제어부를 추가하여 추가된 제어부를 통하여 두개 이상의 단독 프로그램이 저장되어 있는 메모리 영역을 선택적으로 사용하게 하고, 제어부가 CPU를 감시하게 하고 오동작이 감지 될 경우 전원부를 제어하여 CPU를 리셋시켜 오동작에서 벗어나게 하는 자체 감시기능을 갖는 이동통신 시스템을 제공하는 것이다.Therefore, the object of the present invention is to solve the conventional problem, so that the main CPU always accesses the program in the same way and adds a control in the module so that two or more single programs can be added through the added control. It is to provide a mobile communication system having a self-monitoring function to selectively use the stored memory area, the control unit monitors the CPU and, if a malfunction is detected, controls the power supply unit to reset the CPU to release from the malfunction.

이러한 기술적 과제를 해결하기 위한 본 발명의 특징에 따른 이동통신 시스템은,The mobile communication system according to the characteristics of the present invention for solving the technical problem,

프로그램을 저장하기 위한 복수의 영역을 갖는 메모리;A memory having a plurality of areas for storing a program;

상기 메모리의 프로그램을 실행하는 메인 CPU;A main CPU executing a program of the memory;

상기 메인 CPU의 제어에 따라 시스템을 리셋시키고, 상기 메모리의 로딩 위치를 바꾸도록 제어하며, 상기 메인 CPU를 감시하는 제어부; A controller configured to reset the system according to the control of the main CPU, control to change the loading position of the memory, and monitor the main CPU;

상기 제어부의 제어에 따라 상기 메모리의 최상위 어드레스를 인버팅하는 스위치;A switch for inverting the highest address of the memory under control of the controller;

전원을 공급하기 위한 전원부;A power supply unit for supplying power;

상기 제어부의 제어에 따라 상기 전원부의 전원을 상기 메인 CPU로 스위칭하는 전원 전달부를 포함한다.And a power transmission unit for switching the power of the power supply unit to the main CPU under the control of the controller.

이러한 기술적 과제를 해결하기 위한 본 발명의 다른 특징에 따른 이동통신 시스템은,Mobile communication system according to another feature of the present invention for solving the technical problem,

프로그램을 저장하기 위한 복수의 메모리;A plurality of memories for storing a program;

상기 메모리의 프로그램을 실행하는 메인 CPU;A main CPU executing a program of the memory;

상기 메인 CPU의 제어에 따라 시스템을 리셋시키고, 상기 메모리중 로딩할 메모리를 선택하도록 제어하며, 상기 메인 CPU를 감시하는 제어부; A controller configured to reset a system according to control of the main CPU, control to select a memory to be loaded from the memory, and monitor the main CPU;

상기 제어부의 제어에 따라 리셋시에 상기 메모리를 선택하여 로딩하도록 상기 메인 CPU에 연결하는 스위치;A switch connected to the main CPU to select and load the memory upon reset under the control of the controller;

전원을 공급하기 위한 전원부;A power supply unit for supplying power;

상기 제어부의 제어에 따라 상기 전원부의 전원을 상기 메인 CPU로 스위칭하는 전원 전달부를 포함한다.And a power transmission unit for switching the power of the power supply unit to the main CPU under the control of the controller.

아래에서는 첨부한 도면을 참고로 하여 본 발명의 실시예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다.DETAILED DESCRIPTION Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention. As those skilled in the art would realize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention.

도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였다. 명세서 전체를 통하여 유사한 부분에 대해서는 동일한 도면 부호를 붙였다. 어떤 부분이 다른 부분과 연결되어 있다고 할 때, 이는 직접적으로 연결되어 있는 경우뿐 아니라 그 중간에 다른 구성요소를 사이에 두고 연결되어 있는 경우도 포함한다. In the drawings, parts irrelevant to the description are omitted in order to clearly describe the present invention. Like parts are designated by like reference numerals throughout the specification. When a part is connected to another part, this includes not only a direct connection but also a connection between other components in between.

이하, 첨부된 도면을 참조하여 통상의 지식을 지닌자가 이 발명을 용이하게 실시할 수 있도록 실시예에 관하여 상세히 설명한다.Hereinafter, exemplary embodiments will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention.

도1은 이 발명의 제1 실시예에 따른 이동통신 시스템의 구성도이다.1 is a block diagram of a mobile communication system according to a first embodiment of the present invention.

도1을 참조하면, 이 발명의 제1 실시예에 따른 이동통신 시스템은, 메모리(110), 메인 CPU(130), 스위치(120), 제어부(140), 전원부(150), 앤드게이트(160)를 포함한다. 메모리(110)는 프로그램을 저장하기 위한 복수의 영역을 갖고 있으며, 제1 실시예에서는 2개의 영역(BANK 1, BANK2)으로 나뉘는 것으로 설명한다. 메인 CPU는 상기 메모리(110)의 프로그램을 실행하며, 다운로드 완료시나 필요시에 리셋을 제어부(140)에 요청한다. 제어부(122)는 상기 메인 CPU의 제어에 따라 시스템을 리셋시키고, 상기 메모리의 로딩 위치를 바꾸도록 제어하며, 상기 메인 CPU를 감시하고, 이상시에는 상기 메인 CPU(130)를 리셋시킨다. 스위치(120)는 상기 제어부(140)의 제어에 따라 상기 메모리(110)의 최상위 어드레스를 인버팅한다. 전원부(150)는 시스템에 전원을 공급한다. 전원 전달부(160)는 상기 제어부(140)의 제어에 따라 상기 전원부의 전원을 상기 메인 CPU로 스위칭한다.Referring to FIG. 1, the mobile communication system according to the first embodiment of the present invention includes a memory 110, a main CPU 130, a switch 120, a controller 140, a power supply unit 150, and an end gate 160. ). The memory 110 has a plurality of areas for storing a program. In the first embodiment, the memory 110 is divided into two areas BANK 1 and BANK2. The main CPU executes the program of the memory 110 and requests the controller 140 to reset the download when necessary or when necessary. The controller 122 resets the system under the control of the main CPU, controls to change the loading position of the memory, monitors the main CPU, and resets the main CPU 130 in case of abnormality. The switch 120 inverts the highest address of the memory 110 under the control of the controller 140. The power supply unit 150 supplies power to the system. The power transmission unit 160 switches the power of the power supply unit to the main CPU under the control of the controller 140.

이러한 구성을 가진 이 발명의 제1 실시예에 따른 이동통신 시스템이 동작을 상세히 설명하면 다음과 같다. The operation of the mobile communication system according to the first embodiment of the present invention having such a configuration will now be described in detail.

도2는 32Mbit의 Flash의 Bank 와 Sector address, Address Range를 표로 나타낸 것이다.Figure 2 shows the Bank, Sector address, and Address Range of 32Mbit Flash.

도3은 이 발명의 실시예에 따른 이동 통신 시스템의 메모리에서 프로그램을 읽어들이는 동작 흐름도이다.3 is an operation flowchart of reading a program from a memory of a mobile communication system according to an embodiment of the present invention.

메모리(110)에서 Sector Address를 확인해 보면 제1 플래시메모리(bank1)와 제2 플래시메모리(bank2)의 최상위 어드레스(A20)의 값으로 Bank를 구분할 수 있다. 또한, 메모리 크기에 따라 어드레스 라인을 2개 이상 사용하여 Bank를 구분 할 수도 있다.If the Sector Address is checked in the memory 110, the banks may be classified by the values of the highest addresses A20 of the first flash memory bank1 and the second flash memory bank2. In addition, depending on the memory size, two or more address lines may be used to distinguish banks.

따라서, 최상위 어드레스를 제어하면 Bank 2와 Bank 1을 서로 바꿔서 사용할 수 있게 된다.Therefore, controlling the highest address allows Bank 2 and Bank 1 to be used interchangeably.

현재의 프로그램이 Bank 2에서 구동되고 있고 메인 CPU(130)가 Bank 1의 프로그램을 동작하고 있는 상황에서 메인 CPU(130)는 제어부(140)로 리셋을 수행하도록 제어한다.In the situation where the current program is running in Bank 2 and the main CPU 130 is operating the program of Bank 1, the main CPU 130 controls the controller 140 to perform a reset.

그러면, 제어부(140)는 이 요구사항을 내부의 EEPROM(electrically erasable and programmable read only memory)에 기억 시켜 둔다. The controller 140 then stores this requirement in an internally erasable and programmable read only memory (EEPROM).

메인 CPU(130)의 Reset vector는 고정되어 있기 때문에 소프트 리셋(Soft reset) 또는 하드리셋을 수행하게 되면 메인 CPU(130)는 항상 같은 프로그램영역을 선택하게 된다. Since the reset vector of the main CPU 130 is fixed, when the soft reset or hard reset is performed, the main CPU 130 always selects the same program area.

따라서 제어부(140)는 전원을 제어하여 파워 오프(Power off)시키고 나서, EEPROM의 데이터를 읽어 들여 그 값에 따라 스위치(120)를 제어한다.Therefore, the controller 140 controls the power to turn off the power, reads the data of the EEPROM, and controls the switch 120 according to the value.

스위치(120)에 명령이 전달되면 Point A(121)로 연결되었던 최상위 어드레스는 Point B(122)로 연결이 되어 스위치(120)를 통과하는 최상위 어드레스가 인버팅된다. 역으로 스위치(120)에 명령이 전달되면 Point B(122)로 연결되었던 최상위 어드레스는 포인트 A(121)로 연결이 되어 인버팅되던 신호가 그대로 전달된다.When the command is transmitted to the switch 120, the highest address that was connected to the Point A 121 is connected to the Point B 122, and the highest address passing through the switch 120 is inverted. On the contrary, when a command is transmitted to the switch 120, the highest address that was connected to the point B 122 is connected to the point A 121, and the inverted signal is transmitted as it is.

따라서 메인 CPU(130)는 Bank 가 스위칭된 사실을 인식하지 못하지만 실제로는 뱅크가 전위되어 사용되게 된다. Therefore, the main CPU 130 does not recognize the fact that the bank is switched, but in reality the bank is used in the potential.

스위치(120)에 명령을 전달한후 제어부(140)는 전원을 다시 공급하도록 하고, 메인 CPU(130)에 전원이 공급되면, 메인 CPU(130)는 새로운 펌웨어가 저장된 플래시 메모리를 로딩하여 실행하게 된다.After the command is transmitted to the switch 120, the controller 140 supplies power again, and when power is supplied to the main CPU 130, the main CPU 130 loads and executes a flash memory in which new firmware is stored. .

또한, 외부로부터 프로그램을 다운로드받아 리셋이 되는 과정을 설명하면 다음과 같다.In addition, the process of downloading and resetting the program from the outside will be described below.

도4는 2개 이상의 플래시 메모리를 사용하거나 2개 이상의 Bank를 사용하여 프로그램을 사용하는 이동통신 시스템에 외부의 PC에서 펌웨어를 다운로드시키는 동작 흐름도이다.4 is an operation flowchart of downloading firmware from an external PC to a mobile communication system using two or more flash memories or using a program using two or more banks.

도4를 참조하면, PC(200)에서 PST(Product Support Tool)을 이용하여 다운로드를 시작하게 된다. 이때, 다운로드는 현재 Bank(Download를 주도하는 프로그램이 있는 영역)이 아닌 다른 영역이며, 플래시 메모리가 2개 이상 사용되는 경우에도 현재 메모리가 아닌 다른 메모리가 될 것이다. Referring to FIG. 4, the PC 200 starts downloading using a PST (Product Support Tool). In this case, the download is an area other than the current bank (the area in which the program driving the download) is located, and even if two or more flash memories are used, the download will be a memory other than the current memory.

도2의 예를 들어 현재의 Program(Download 주도)은 0x0 번지에서 시작 될 것이며, 다운로드되는 영역은 X16 Address range의 예로 0x100000h가 될 것이다.In the example of FIG. 2, the current program (download drive) will start at address 0x0, and the downloaded area will be 0x100000h as an example of the X16 address range.

다운로드가 종료되면 메인 CPU(130)은 제어부(140)에게 메모리 토클을 명령한다. 제어부(140)는 위에서 언급된 바와 같이 EEPROM에 이를 저장하고 앤드게이트(160)를 제어하여 전원부(150)에서 메인 CPU(130)로 가는 전원을 차단하고, 제어부(140)는 저장된 EEPROM의 데이터를 읽어 들여 그 값에 따라 스위치(120)를 제어 하여 Bank(혹은 CS)를 토글시킨다. When the download is completed, the main CPU 130 instructs the controller 140 to toggle the memory. As mentioned above, the controller 140 stores the data in the EEPROM and controls the AND gate 160 to cut off power from the power supply 150 to the main CPU 130, and the controller 140 stores the data of the stored EEPROM. Read and control the switch 120 in accordance with the value to toggle the bank (or CS).

이후, 제어부(140)는 다시 전원부(150)의 전원을 메인 CPU(130)에 공급하여 새로 저장된 펌웨어가 동작하게 된다.Thereafter, the controller 140 supplies the power of the power supply unit 150 to the main CPU 130 to operate the newly stored firmware.

또한, 본원 제1 실시예에서는 제어부(140)가 메인 CPU(130)를 감시하여 이상이 감지되면 메인 CPU를 리셋시키는데 이에 대해 상세히 설명한다.In addition, in the first embodiment of the present application, the controller 140 monitors the main CPU 130 and resets the main CPU when an abnormality is detected.

먼저, 메인 CPU(130)는 정상적인 동작에서 주기적으로 제어부(140)에 리포트를 주게된다. 이때의 신호를 도5에 도시하였다. First, the main CPU 130 periodically gives a report to the controller 140 in a normal operation. The signal at this time is shown in FIG.

그러나 메인 CPU(130)가 예기치 않은 오동작에 의하여 다운이나 럭(Lock)의 상황에 걸렸을 경우 메인 CPU(130)는 제어부(140)로 Report를 전달 할 수 없게 된다. However, when the main CPU 130 is down or locked due to an unexpected malfunction, the main CPU 130 may not transmit a report to the controller 140.

그러면, 제어부(140)에서는 메인 CPU(130)의 주기적인 리포트를 수신하며, 주기 보고 시간내에 리포트를 받지 못하였을 경우, 전원부(150)의 신호를 논리회로인 앤드 게이트(160)를 통해 제어하여 메인 CPU(130)로 공급되는 전원을 차단하게 된다.Then, the control unit 140 receives the periodic report of the main CPU 130, and if the report is not received within the period report time, by controlling the signal of the power supply unit 150 through the logic gate and gate 160 The power supplied to the main CPU 130 is cut off.

메인 CPU(130)가 전원 오프된 후 제어부(140)는 다시 전원부(150)의 전원을 앤드게이트(160)를 통해 제어하여 즉 하이신호를 인가하여 메인 CPU(130)로 전원을 공급하게 된다.After the main CPU 130 is powered off, the controller 140 again controls the power of the power supply unit 150 through the AND gate 160 to apply a high signal to supply power to the main CPU 130.

그러면, 메인 CPU(130)는 초기화부터 재시동하여 오류 상황에서 벗어나게 된다. Then, the main CPU 130 is restarted from the initialization to escape from the error situation.

도5를 참조하면, 위의 동작 상황을 신호를 통해 도식화 한 것으로 보고 주기 t 내에 report를 받지 못한 제어부(140)가 메인 CPU(130) 쪽으로 전달되는 전원부(106)의 회로를 제어하기 위해 앤드게이트(160)로 로우신호를 출력하여 메인 CPU(130)의 공급 전원이 차단되며, 다시 공급을 위해 제어부(140)에서 앤드게이트 (160)로 하이신호를 인가하여 메인 CPU(130)에 전원을 공급하게 된다.Referring to FIG. 5, the controller 140, which has not received a report within the reporting period t as a diagram of the above operation state through a signal, controls the circuit of the power supply unit 106 transferred to the main CPU 130. Supplying a low signal to the 160, the power supply to the main CPU 130 is cut off, and supplies a power to the main CPU 130 by applying a high signal from the controller 140 to the end gate 160 to supply again. Done.

도6은 메인 CPU(130)가 프로그램 다운로드 완료시나 기타 프로그램에 의해 스스로 리셋을 원할 때 이를 가능하게 해 주는 방법을 도식한 것으로서, Main CPU(130)는 제어부(140)와 통신을 통해 하드웨어적인 리셋을 원하는 상황에서 이를 선택할 수 있게 된다. FIG. 6 illustrates a method for enabling the main CPU 130 when the program download is completed or when it is desired to reset itself by other programs. The main CPU 130 is hardware reset through communication with the control unit 140. You can select it when you want to.

메인 CPU(130)가 제어부(140)에게 리셋 요구(Reset Request)를 하게 되면 제어부(140)는 도5에서의 동작과 마찬가지로 전원부(150)와의 논리회로(160)를 통해 전원을 차단 및 공급하게 되어 하드웨어적인 리셋이 가능해진다. When the main CPU 130 makes a reset request to the control unit 140, the control unit 140 cuts off and supplies power through the logic circuit 160 with the power supply unit 150 as in the operation of FIG. 5. This enables a hardware reset.

이와 같은 본원 제1 실시예는 다양한 변형이 가능하며, 상기 과정에서 앤드 게이트는 다른 스위치로 변형이 가능하고, 메모리의 영역을 2개로 나누는 것으로 설명하였으나 필요에 따라서는 그 이상의 영역으로 나누어 사용할 수도 있다.As described above, the first embodiment of the present disclosure may be modified in various ways. In the above process, the AND gate may be modified by another switch, and the memory may be divided into two regions. However, the AND gate may be divided into two or more regions as necessary. .

이러한 변형예중에서 메모리하나를 복수개의 영역으로 나누는 것이 아닌 복수개의 메모리를 사용하는 실시예를 제2 실시예로서 설명하면 다음과 같다.In the modified example, an embodiment using a plurality of memories instead of dividing one memory into a plurality of regions will be described as the second embodiment.

도7은 이 발명의 제2 실시예에 따른 이동통신 시스템의 구성도이다.7 is a block diagram of a mobile communication system according to a second embodiment of the present invention.

도7을 참조하면, 이 발명의 제2 실시예에 따른 이동통신 시스템은,Referring to FIG. 7, the mobile communication system according to the second embodiment of the present invention,

프로그램을 저장하기 위한 복수의 메모리(104, 105); 상기 메모리(104, 105)의 프로그램을 실행하는 메인 CPU(130); 상기 메인 CPU(130)의 제어에 따라 시스템을 리셋시키고, 상기 메모리중 로딩할 메모리를 선택하도록 제어하며, 상기 메인 CPU를 감시하는 제어부(140); 상기 제어부(140)의 제어에 따라 리셋시에 상기 메모리를 선택하여 로딩하도록 상기 메인 CPU에 연결하는 스위치(101); 전원을 공급하기 위한 전원부(150); 상기 제어부의 제어에 따라 상기 전원부의 전원을 상기 메인 CPU로 스위칭하는 전원 전달부(160)를 포함한다.A plurality of memories 104 and 105 for storing programs; A main CPU (130) for executing a program of the memory (104, 105); A controller 140 which resets the system according to the control of the main CPU 130, controls to select a memory to be loaded from the memory, and monitors the main CPU; A switch 101 connected to the main CPU to select and load the memory upon reset under the control of the controller 140; A power supply unit 150 for supplying power; And a power transmission unit 160 for switching the power of the power supply unit to the main CPU under the control of the controller.

이러한 구성을 가진 이 발명의 제2 실시예에 따른 이동 통신 시스템의 동작에 대해 상세히 설명하면 다음과 같다.The operation of the mobile communication system according to the second embodiment of the present invention having such a configuration will now be described in detail.

제2 실시예는 플래시 메모리(Flash Memory)가 여러 개 있을 때에 사용 할 수 있는 방법으로 플래시 메모리의 CS(Chip Select) pin을 사용하게 된다. 이는 CS pin에 의해 각 플래시 메모리의 어드레스가 결정되는 데서 출발하게 된다.In the second embodiment, a CS (Chip Select) pin of the flash memory is used as a method that can be used when there are several flash memories. This starts from determining the address of each flash memory by the CS pin.

도7을 참조하면, 메인 CPU(130)는 메모리(103)를 선택하고자 할 경우 CS 1(401)으로 메모리 A(104)와 CS 2(402)로 메모리 B(105)를 선택한다. Referring to FIG. 7, when the main CPU 130 wants to select the memory 103, the main CPU 130 selects the memory A 104 as the CS 1 401 and the memory B 105 as the CS 2 402.

이때, CS 1 으로 선택된 메모리 A(104)의 첫 Address를 0x0000000을 가정하고 Memory B(105)를 0x1000000로 가정한다. At this time, it is assumed that the first address of the memory A 104 selected as CS 1 is 0x0000000 and the memory B 105 is 0x1000000.

만약 Main CPU(100)가 현재 CS 1으로 스위치(101)의 405라인을 통해 Memory A(104) 영역의 프로그램으로 실행되고, Memory B(105)의 프로그램으로 동작하길 원한다면 메인 CPU(130)가 이 사실을 제어부(140)에게 알리게 된다. If the main CPU 100 is currently running as a program in the Memory A 104 region through the 405 line of the switch 101 to CS 1 and wants to operate as a program in the Memory B 105, then the main CPU 130 may execute this program. The fact is notified to the controller 140.

제어부(140)는 위의 요청을 제어부(140)의 EEPROM에 저장시켜 둔다. The controller 140 stores the above request in the EEPROM of the controller 140.

그리고 나서, Main CPU(130)는 제어부(140)로 시스템을 재 시작 해 달라는 요청을 하게 된다.Then, the main CPU 130 makes a request to the controller 140 to restart the system.

그러면, 제어부(140)의 전원부(150) 제어를 통해 메인 CPU(130)를 파워 오프시키고 제어부(1402)는 저장된 EEPROM 의 값을 읽어 들여 그 값에 따라 스위치(101)로 메인 CPU(130)에게 전달받은 요구 사항 즉, 메모리를 스위칭 하라는 명령을 적용시킨다. Then, the main CPU 130 is powered off through the control of the power supply unit 150 of the controller 140, and the controller 1402 reads the stored EEPROM value and transmits the value to the main CPU 130 by the switch 101 according to the value. Apply the received requirements, the command to switch the memory.

스위치(101)에 명령이 전달되면 메인 CPU(130)의 CS 1은 스위치(101) 내부 동작에 의해 405 라인에서 406 라인을 타고 메모리(105)로 연결되고 CS2는 스위치(101)의 403 라인에서 404라인으로 변경되어 메모리 A(104)로 연결된다. (그 역도 성립.) When the command is transmitted to the switch 101, CS 1 of the main CPU 130 is connected to the memory 105 by taking the line 406 through 406 through the internal operation of the switch 101, and CS2 is connected to the memory 403 by the switch 403. It is changed to line 404 and connected to memory A 104. (The weight lifting is established.)

이 동작의 결과로 메인 CPU(130)의 CS1 Pin 은 메모리 B(105)에 연결되게 되고, 메인 CPU(130)의 CS2 Pin은 메모리 A(104)에 연결되게 되어 메모리 A(104)의 첫 어드레스는 0x1000000가 되고 메모리 B(105)의 첫 어드레스는 0x0000000이 된다. As a result of this operation, the CS1 Pin of the main CPU 130 is connected to the memory B 105, and the CS2 Pin of the main CPU 130 is connected to the memory A 104, so that the first address of the memory A 104 can be connected. Becomes 0x1000000 and the first address of the memory B 105 becomes 0x0000000.

따라서 메인 CPU(130)는 CPU에 연결된 메모리 CS가 스위칭된 된 사실을 인식하지 못하지만 실제로는 메모리 A, B가 전위되어 사용되게 된다. Therefore, the main CPU 130 does not recognize the fact that the memory CS connected to the CPU is switched, but in practice, the memory A, B is used in potential.

스위치(101)가 제어부(140)의 명령을 수신하면, 제어부(102)는 앤드게이트 (160)를 통해 전원부(150)를 다시 제어하여 메인 CPU(130)에 전원을 공급한다.When the switch 101 receives a command from the controller 140, the controller 102 controls the power supply unit 150 again through the AND gate 160 to supply power to the main CPU 130.

위의 동작이 수행되면 메인 CPU(130)는 이전과는 다른 프로그램 영역을 액세스하게 될 것이다.When the above operation is performed, the main CPU 130 will access a different program area than before.

이외에도 메인 CPU 감시기능 및 외부 PC로부터의 다운로드후 리셋 기능 등에 관해서는 제1 실시예와 동일하므로 상세한 설명은 생략한다.In addition, since the main CPU monitoring function and the reset function after downloading from an external PC are the same as in the first embodiment, detailed description thereof will be omitted.

본 발명의 실시예는 이동통신 단말기, PCS 무인 단말기 등에 모두 적용가능하며, 다양한 변형예가 존재할 수 있다.Embodiments of the present invention are applicable to both mobile communication terminals, PCS unmanned terminals, and the like, and various modifications may exist.

이상에서 본 발명의 바람직한 실시예에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속하는 것이다.Although the preferred embodiments of the present invention have been described in detail above, the scope of the present invention is not limited thereto, and various modifications and improvements of those skilled in the art using the basic concepts of the present invention defined in the following claims are also provided. It belongs to the scope of rights.

이상에서와 같이, 이 발명의 실시예에서, 모듈 내에 제어부를 추가하여 추가된 제어부를 통하여 두개 이상의 단독 프로그램이 저장되어 있는 메모리 영역을 선택적으로 사용하게 하고, 제어부가 CPU를 감시하게 하고 오동작이 감지 될 경우 전원부를 제어하여 CPU를 리셋시켜 오동작에서 벗어나게 할 수 있는 자체 감시기능을 갖는 이동통신 시스템을 제공할 수 있다.As described above, in the embodiment of the present invention, the controller is added to the module to selectively use the memory area in which two or more single programs are stored through the added controller, and the controller monitors the CPU and detects a malfunction. If possible, it is possible to provide a mobile communication system having a self-monitoring function capable of controlling the power supply unit to reset the CPU to release the malfunction.

또한, 두개 이상의 프로그램 영역을 제어부를 통해 제어하여 펌웨어 업그레이드시에 현재 영역과 다른 영역에 펌웨어를 다운로드하여 다운로드시에 오류가 생기지 않았을 때만 플래시 메모리 영역을 토글하여 사용하는 방법으로 기존 방법의 다운로드시 오류 발생으로 인해 같은 영역으로 재다운로드할 수 없었던 문제에서 벗어날 수 있다.In addition, by controlling two or more program areas through the control unit, the firmware is downloaded to a different area from the current area when the firmware is upgraded, and the flash memory area is toggled and used only when there is no error in downloading. Occurs in a way that prevented the re-download to the same area.

도1은 이 발명의 제1 실시예에 따른 이동통신 시스템의 구성도이다.1 is a block diagram of a mobile communication system according to a first embodiment of the present invention.

도2는 32Mbit의 Flash의 Bank 와 Sector address, Address Range를 표로 나타낸 것이다.Figure 2 shows the Bank, Sector address, and Address Range of 32Mbit Flash.

도3은 이 발명의 제1 실시예에 따른 이동 통신 시스템의 메모리에서 프로그램을 읽어들이는 동작 흐름도이다.3 is an operation flowchart of reading a program from a memory of the mobile communication system according to the first embodiment of the present invention.

도4는 2개 이상의 플래시 메모리를 사용하거나 2개 이상의 Bank를 사용하여 프로그램을 사용하는 이동통신 시스템에 외부의 PC에서 펌웨어를 다운로드시키는 동작 흐름도이다4 is an operation flowchart of downloading firmware from an external PC to a mobile communication system using two or more flash memories or using a program using two or more banks.

도5 및 도6은 이 발명의 실시예에 따른 이동 통신 시스템의 각부 파형도이다.5 and 6 are waveform diagrams of respective parts of the mobile communication system according to the embodiment of the present invention.

도7은 이 발명의 제2 실시예에 따른 이동통신 시스템의 구성도이다.7 is a block diagram of a mobile communication system according to a second embodiment of the present invention.

도8은 이 발명의 제2 실시예에 따른 이동통신 시스템의 동작 흐름도이다.8 is an operation flowchart of a mobile communication system according to a second embodiment of the present invention.

Claims (8)

프로그램을 저장하기 위한 복수의 영역을 갖는 메모리;A memory having a plurality of areas for storing a program; 상기 메모리의 프로그램을 실행하는 메인 CPU;A main CPU executing a program of the memory; 상기 메인 CPU의 제어에 따라 시스템을 리셋시키고, 상기 메모리의 로딩 위치를 바꾸도록 제어하며, 상기 메인 CPU를 감시하는 제어부; A controller configured to reset the system according to the control of the main CPU, control to change the loading position of the memory, and monitor the main CPU; 상기 제어부의 제어에 따라 상기 메모리의 최상위 어드레스를 인버팅하는 스위치;A switch for inverting the highest address of the memory under control of the controller; 전원을 공급하기 위한 전원부;A power supply unit for supplying power; 상기 제어부의 제어에 따라 상기 전원부의 전원을 상기 메인 CPU로 스위칭하는 전원 전달부를 포함하는 이동통신 시스템.And a power transmission unit for switching the power of the power unit to the main CPU under the control of the controller. 제1항에 있어서, The method of claim 1, 상기 제어부는, 상기 메인 CPU로부터 일정 주기로 보고신호가 수신되지 않는 경우에 상기 전원 전달부를 제어하여 리셋을 실행하는 것을 특징으로 하는 이동통신 시스템. And the controller controls the power transmission unit to execute a reset when a report signal is not received from the main CPU at regular intervals. 제2항에 있어서,The method of claim 2, 상기 제어부는 상기 스위치를 제어하여 상기 메모리의 최상위 어드레스값을 인버팅하고, 상기 메인 CPU는 이전과 다른 메모리 영역을 로딩하여 실행하는 것을 특징으로 하는 이동통신 시스템. And the controller controls the switch to invert the highest address value of the memory, and the main CPU loads and executes a memory area different from the previous one. 제1항 내지 제3항중 어느 한항에 있어서,The method according to any one of claims 1 to 3, 외부의 PC로부터 프로그램이 상기 메모리의 다른 영역에 다운로드 완료되면, 상기 메인 CPU의 요청에 따라 상기 제어부가 상기 메인 CPU를 리셋시키고 다운로드 받은 프로그램을 실행하도록 하는 것을 특징으로 하는 이동통신 시스템.And when the program is downloaded from the external PC to another area of the memory, the controller resets the main CPU and executes the downloaded program according to a request of the main CPU. 프로그램을 저장하기 위한 복수의 메모리;A plurality of memories for storing a program; 상기 메모리의 프로그램을 실행하는 메인 CPU;A main CPU executing a program of the memory; 상기 메인 CPU의 제어에 따라 시스템을 리셋시키고, 상기 메모리중 로딩할 메모리를 선택하도록 제어하며, 상기 메인 CPU를 감시하는 제어부; A controller configured to reset a system according to control of the main CPU, control to select a memory to be loaded from the memory, and monitor the main CPU; 상기 제어부의 제어에 따라 리셋시에 상기 메모리를 선택하여 로딩하도록 상기 메인 CPU에 연결하는 스위치;A switch connected to the main CPU to select and load the memory upon reset under the control of the controller; 전원을 공급하기 위한 전원부;A power supply unit for supplying power; 상기 제어부의 제어에 따라 상기 전원부의 전원을 상기 메인 CPU로 스위칭하는 전원 전달부를 포함하는 이동통신 시스템.And a power transmission unit for switching the power of the power unit to the main CPU under the control of the controller. 제5항에 있어서, The method of claim 5, 상기 제어부는, 상기 메인 CPU로부터 일정 주기로 보고신호가 수신되지 않는 경우에 상기 전원 전달부를 제어하여 리셋을 실행하는 것을 특징으로 하는 이동통신 시스템. And the controller controls the power transmission unit to execute a reset when a report signal is not received from the main CPU at regular intervals. 제6항에 있어서,The method of claim 6, 상기 제어부는 상기 스위치를 제어하여 핀의 위치를 바꾸어 이전과 다른 메모리의 프로그램을 로딩하여 실행하도록 하는 것을 특징으로 하는 이동통신 시스템. The controller controls the switch to change the position of the pin to load and execute a program of a different memory than the previous one. 제5항 내지 제7항중 어느 한항에 있어서,The method according to any one of claims 5 to 7, 외부의 PC로부터 프로그램이 상기 메모리의 다른 영역에 다운로드 완료되면, 상기 메인 CPU의 요청에 따라 상기 제어부가 상기 메인 CPU를 리셋시키고 다운로드 받은 프로그램을 실행하도록 하는 것을 특징으로 하는 이동통신 시스템.And when the program is downloaded from the external PC to another area of the memory, the controller resets the main CPU and executes the downloaded program according to a request of the main CPU.
KR1020040014301A 2004-03-03 2004-03-03 A mobile communication system having self check function KR20050089124A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040014301A KR20050089124A (en) 2004-03-03 2004-03-03 A mobile communication system having self check function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040014301A KR20050089124A (en) 2004-03-03 2004-03-03 A mobile communication system having self check function

Publications (1)

Publication Number Publication Date
KR20050089124A true KR20050089124A (en) 2005-09-07

Family

ID=37271601

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040014301A KR20050089124A (en) 2004-03-03 2004-03-03 A mobile communication system having self check function

Country Status (1)

Country Link
KR (1) KR20050089124A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100694348B1 (en) * 2006-03-10 2007-03-12 주식회사 팬택 Mobile communication terminals having memory reset device and its memory reset method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100694348B1 (en) * 2006-03-10 2007-03-12 주식회사 팬택 Mobile communication terminals having memory reset device and its memory reset method

Similar Documents

Publication Publication Date Title
TWI363298B (en) Communication device and firmware update method thereof
KR100280637B1 (en) Computer system capable of data update of fixed flash ROM and its control method
JP4527348B2 (en) Interface device, method of updating firmware in interface device, and program thereof
US10037170B2 (en) Motherboard and a method for boot-up
US9864596B2 (en) Network switch system and operating method thereof
US20170286128A1 (en) BOOT online upgrading device and method
US20070119953A1 (en) Portable device and method for setting a hardware identity code corresponding to the portable device
US11604635B2 (en) Online program updating method
US20090199216A1 (en) Multi-level driver configuration
JP4840553B2 (en) Wireless communication apparatus, boot program rewriting method and program
CN109388421B (en) Storage device for quickly updating firmware
KR20050089124A (en) A mobile communication system having self check function
JP2010218103A (en) Electronic apparatus
KR100714970B1 (en) Computer
KR101986567B1 (en) Method of providing remote desktop service and method of operating remote desktop
KR20030041605A (en) Apparatus and method for remote upgrading of program in communication system
KR101666619B1 (en) Method and system for memory management in imbedded device environment
KR101900729B1 (en) Method for running PLC operating system
KR20020061195A (en) Program update system for flash memory and control method thereof
KR100606337B1 (en) an auto-upgrade changing device of the communication system and controlling method therefore
KR100588199B1 (en) Method for recovering download mode in program download fail state of portable terminal, and portable terminal employing it
JP2021174610A (en) Control system and control equipment
JP2000322265A (en) Memory device, method for reprogramming boot area of it and computer unit having the device
KR20020040047A (en) Flash rom write method for embedded system
KR100735273B1 (en) System for down loading image hierarchically and method thereof in exchange system

Legal Events

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