KR20000002133A - Method for exchanging a system boot rom with a new one - Google Patents
Method for exchanging a system boot rom with a new one Download PDFInfo
- Publication number
- KR20000002133A KR20000002133A KR1019980022722A KR19980022722A KR20000002133A KR 20000002133 A KR20000002133 A KR 20000002133A KR 1019980022722 A KR1019980022722 A KR 1019980022722A KR 19980022722 A KR19980022722 A KR 19980022722A KR 20000002133 A KR20000002133 A KR 20000002133A
- Authority
- KR
- South Korea
- Prior art keywords
- boot rom
- boot
- rom
- contents
- board
- Prior art date
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/4406—Loading of operating system
- G06F9/441—Multiboot arrangements, i.e. selecting an operating system to be loaded
Abstract
Description
본 발명은 이동통신 시스템 및 부트 롬(BOOT ROM)을 사용하는 시스템에 있어서, 부트 롬으로서 플래쉬 메모리(Flash Memory)를 사용하고, 이 플래쉬 메모리의 삭제(Erase)와 프로그램(Program) 및 검증(Verify)을 담당하는 응용 소프트웨어(Application software ; 이하, 'AP'라 칭함)를 이용하여 원격지 시스템의 부트 롬이나 다량의 부트 롬의 내용을 간단하게 변경할 수 있도록 한 부트 롬을 사용하는 시스템에서의 부트 롬 변경방법에 관한 것이다.The present invention uses a flash memory as a boot ROM in a mobile communication system and a system using a boot ROM, and erases, programs, and verifies the flash memory. Boot ROM on a system that uses a boot ROM to easily change the contents of a boot ROM or a large number of boot ROMs by using application software (hereinafter referred to as "AP"). It is about a change method.
종래의 이동통신 시스템에서는 부트 롬으로서 EEPROM을 많이 사용하고 있다.In the conventional mobile communication system, many EEPROMs are used as boot ROMs.
이러한 EEPROM을 한 번 프로그램하기 위해서는 시스템에서 해당 보드(Board)를 탈장하고, 이 탈장된 보드에서 EEPROM을 빼내어 EEPROM 삭제기를 통해 기존의 프로그램 내용을 삭제한 다음 프로그래머(Programer)를 사용하여 새로운 내용으로 프로그램함으로써 EEPROM, 즉 부트 롬의 내용을 변경하였다.To program such EEPROM once, remove the board from the system, remove the EEPROM from the board, delete the existing program contents through the EEPROM eraser, and then program with the new contents using the programmer. By changing the contents of the EEPROM, that is, the boot ROM.
그러나, 상기와 같은 종래의 부트 롬 변경방법은 다량의 부트 롬을 변경하고자 할 경우 각각의 부트 롬에 대해 해당 보드 및 부트 롬 탈장, 삭제, 프로그래밍 등, 일련의 과정을 모두 실행해야 하므로 상당한 시간이 소요되게 되고, 특히 운용중에 있는 시스템의 경우에는 일단 시스템 운용을 중지시키고 나서 부트 롬의 내용을 변경해야 하므로 시스템 운용 측면에서 매우 비효율적인 문제점이 있었다.However, the conventional method of changing the boot ROM as described above requires a considerable amount of time since a series of processes, such as dismounting, deleting, and programming the corresponding board and boot ROM, must be performed for each boot ROM. In particular, in the case of a system in operation, since the contents of the boot ROM must be changed after stopping the system operation, there was a very inefficient problem in terms of system operation.
그리고, 원격지에 있는 시스템인 경우에는 부트 롬을 변경하기 위해서 담당자가 해당 원격지까지 직접 찾아가서 일일이 변경해야 하는 번거로운 문제가 있으며, 또한 EEPROM의 삭제 및 프로그래밍을 위한 동작에 있어서 EEPROM 삭제기 등 특별한 장비가 필요하므로 매우 불편한 점이 있었다.In addition, in the case of a remote system, there is a problem that a person in charge must directly go to the remote site in order to change the boot ROM and change it manually, and special equipment such as an EEPROM eraser is required in the operation for deleting and programming the EEPROM. It was very inconvenient because it was necessary.
본 발명은 상기와 같은 문제점을 해결하기 위해 안출한 것으로서, 그 목적은 부트 롬으로서 쓰기가 가능한 플래쉬 메모리를 사용하고, 이 플래쉬 메모리의 삭제와 프로그램 및 검증을 담당하는 AP를 이용하여 운용 센터로부터 부트 롬의 변경 내용을 로딩받아 원격지 시스템의 부트 롬이나 다량의 부트 롬의 내용을 간단하고도 용이하게 변경할 수 있도록 한 부트 롬을 사용하는 시스템에서의 부트 롬 변경방법을 제공하는 데에 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object thereof is to use a flash memory that can be written as a boot ROM, and to boot from an operation center using an AP that is responsible for erasing, programming, and verifying the flash memory. The purpose of the present invention is to provide a method of changing a boot ROM on a system using a boot ROM that is loaded with changes of a ROM so that the contents of a boot ROM of a remote system or a large number of boot ROMs can be easily and easily changed.
도 1은 본 발명에 의한 부트 롬 변경방법을 적용하기 위한 시스템 운용 센터 및 원격지 시스템의 간략한 블록 구성도,1 is a simplified block diagram of a system operation center and a remote system for applying a boot ROM changing method according to the present invention;
도 2는 본 발명에 의한 부트 롬 변경방법을 보인 동작 흐름도.2 is an operation flowchart showing a boot ROM change method according to the present invention;
<도면의 주요부분에 대한 부호의 설명><Description of the symbols for the main parts of the drawings>
10 : 상위 블록 또는 시스템 운용 센터10: upper block or system operation center
20 : 하위 블록 또는 원격지 시스템20: lower block or remote system
21 : 외부 인터페이스부 22 : 부트 롬부21: external interface unit 22: boot ROM unit
23 : 메모리부 24 : CPU23: memory 24: CPU
이러한 목적을 달성하기 위한 본 발명의 부트 롬을 사용하는 시스템에서의 부트 롬 변경방법은, 부트 롬으로서 플래쉬 메모리를 사용하고, 해당 보드가 변경을 원하는 부트 롬의 내용을 상위 블록 또는 시스템 운용 센터에 등록하는 대로 상위 블록 또는 시스템 운용 센터에서 해당 보드로 부트 롬의 변경 명령을 전달하고, 이 변경 명령에 따라 해당 보드가 AP를 실행시킴으로써 상위 블록 또는 시스템 운용 센터로부터 변경될 부트 롬의 내용을 패킷 형태로 로딩받아 메모리부에 저장시킨 후, AP를 통해 기존의 부트 롬의 내용을 삭제하고 상기 메모리부에 저장된 새로운 내용으로 부트 롬의 내용을 프로그래밍하며, 이후 부트 롬의 내용과 상기 메모리에 저장된 내용을 비교하여 서로 동일한지 검증하여, 검증 결과 서로 내용이 동일하여 정상적인 결과가 나오면 AP 실행을 종료하고, 비정상적인 결과가 나오면 다시 부트 롬을 프로그래밍하여 정상적인 결과가 나올 때까지 부트 롬의 내용 변경을 반복 수행하도록 함을 특징으로 한다.The boot ROM change method in the system using the boot ROM of the present invention for achieving the above object, using a flash memory as a boot ROM, and the contents of the boot ROM which the board wants to change to the upper block or the system operation center. As it registers, it sends the boot ROM change command from the upper block or the system operation center to the board, and the board executes the AP according to the change command, and the contents of the boot ROM to be changed from the upper block or the system operation center are changed. After loading the data into the memory, the contents of the existing boot ROM are deleted through the AP, the contents of the boot ROM are programmed with the new contents stored in the memory, and then the contents of the boot ROM and the contents stored in the memory are stored. Compare and verify that they are identical to each other. When it comes out, it finishes running the AP, and when an abnormal result occurs, the boot ROM is programmed again so that the contents of the boot ROM are repeatedly changed until a normal result is obtained.
이하, 첨부된 도면을 참고하여 본 발명에 의한 부트 롬을 사용하는 시스템에서의 부트 롬 변경방법을 상세히 설명한다.Hereinafter, a method of changing a boot ROM in a system using a boot ROM according to the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명에 의한 부트 롬 변경방법을 적용하기 위한 시스템 운용 센터 및 원격지 시스템의 간략한 블록 구성도로서, 하위 블록 또는 원격지의 외부 시스템과 데이터 통신을 수행하고 이를 운용 관리하는 상위 블록 또는 시스템 운용 센터(10)와, 상기 상위 블록 또는 시스템 운용 센터(10)와의 데이터 통신을 위해 이더넷(Ethernet), HDLC(High level Data Link Control procedures), UART, 패럴 정합(Parallel interface) 등으로 인터페이스하는 외부 인터페이스부(21), 상기 외부 인터페이스부(21)를 통해 상위 블록 또는 시스템 운용 센터(10)로부터 운용 시스템(Operation System ; 이하, 'OS'라 칭함) 및 여러 가지 AP를 로딩받아 실행시키는 부트 롬부(22), 상기 부트 롬부(22)에 의해 OS 및 AP가 실행됨에 따라 발생하는 데이터를 임시 저장하는 메모리부(23), 상기 외부 인터페이스부(21)와 부트 롬부(22) 및 메모리부(23)의 동작을 제어하는 CPU(24)로 이루어진 하위 블록 또는 원격지 시스템(20)으로 구성된다.1 is a simplified block diagram of a system operation center and a remote system for applying a boot ROM change method according to the present invention. The upper block or system operation for performing data communication and operation management with a lower block or an external system at a remote location is shown in FIG. External interface for interfacing with the center 10 and the upper block or the system operation center 10 through Ethernet, high level data link control procedures (HDLC), UART, parallel interface, etc. A boot ROM unit which loads and executes an operation system (hereinafter, referred to as an “OS”) and various APs from an upper block or the system operation center 10 through the external interface unit 21. 22) a memory unit 23 for temporarily storing data generated when an OS and an AP are executed by the boot ROM unit 22, and the external interface unit 21. Consists of a bit rombu 22 and a CPU (24) sub-block, or the remote computer (20) consisting of a for controlling the operation of memory 23.
상기 하위 블록 또는 원격지 시스템(20)에서의 각 보드들은 부트 롬을 이용하여 OS 및 여러 가지 AP들을 상위 블록 또는 시스템 운용 센터(10)로부터 로딩받아 실행시키며, 이때 OS 및 AP가 실행되면 부트 롬을 아무런 일도 하지 않게 된다.Each board in the lower block or the remote system 20 loads and executes an OS and various APs from the upper block or the system operation center 10 by using a boot ROM, and when the OS and AP are executed, the boot ROM is executed. Do nothing.
그리고, 상기 AP중에는 플래쉬 메모리의 내용을 삭제하고, 프로그래밍하며, 검증하는 AP가 하나 더 포함되어 있어, 본 발명에서는 이 AP를 이용하여 플래쉬 메모리의 내용을 간단하게 변경하고자 하는 것이다.In addition, the AP includes one AP for deleting, programming, and verifying the contents of the flash memory. In the present invention, the contents of the flash memory are simply changed using the AP.
상기와 같이 구성된 시스템 운용 센터(10)에서의 원격지 시스템(20)내 부트 롬의 변경방법을 도 2의 동작 흐름도를 참고하여 설명한다.A method of changing the boot ROM in the remote system 20 in the system operation center 10 configured as described above will be described with reference to the operation flowchart of FIG. 2.
앞에서도 설명하였듯이 본 발명에서는 쓰기가 가능하고 부트 롬의 내용 삭제와 프로그래밍 및 검증을 담당하는 AP의 실행이 가능한 플래쉬 메모리를 부트 롬으로 사용해야 한다.As described above, in the present invention, a flash memory capable of being written and capable of executing an AP that is responsible for erasing, programming, and verifying the contents of the boot ROM should be used as the boot ROM.
먼저, 하위 블록 또는 원격지 시스템(10)내의 해당 보드가 변경을 원하는 부트 롬부(22), 즉 플래쉬 메모리의 내용을 외부 인터페이스부(21)를 통해 상기 상위 블록 또는 시스템 운용 센터(20)에 등록한다(S1).First, the contents of the boot ROM 22, that is, the flash memory, which the corresponding board in the lower block or the remote system 10 wants to change are registered in the upper block or the system operation center 20 through the external interface 21. (S1).
그러면, 상기 상위 블록 또는 시스템 운용 센터(10)에서는 상기 해당 보드로 플래쉬 메모리의 변경 명령을 전달한다(S2).Then, the upper block or the system operation center 10 transmits a change command of the flash memory to the corresponding board (S2).
상기 단계(S2)에서 전달된 변경 명령에 따라 해당 보드가 플래쉬 메모리를 삭제하고, 프로그램하며, 검증하는 AP를 실행시켜 상위 블록 또는 시스템 운용 센터(10)로부터 변경될 플래쉬 메모리의 내용을 외부 인터페이스부(21)를 통해 패킷(Packet) 형태로 로딩(Loding)받아 메모리부(23)에 임시 저장한다(S3).According to the change command transmitted in the step S2, the board deletes the flash memory, executes an AP for verifying the program, and verifies the contents of the flash memory to be changed from the upper block or the system operation center 10 by the external interface unit. Received in the form of a packet (Packet) via the (21) and temporarily stored in the memory unit (23) (S3).
이어, 해당 보드가 상기 AP를 통해 기존의 플래쉬 메모리의 내용을 삭제하고(S4), 상기 메모리부(23)에 저장된 새로운 내용으로 플래쉬 메모리의 내용을 프로그래밍한다(S5).Subsequently, the board deletes the contents of the existing flash memory through the AP (S4) and programs the contents of the flash memory with the new contents stored in the memory unit 23 (S5).
이후, AP를 이용하여 상기 프로그래밍된 플래쉬 메모리의 새로운 내용과 상기 메모리부(23)에 저장된 내용을 비교하여 서로 동일한지 검증한다(S6).Thereafter, new contents of the programmed flash memory are compared with contents stored in the memory unit 23 using the AP to verify whether they are the same (S6).
상기 단계(S6)에서의 검증 결과 상기 플래쉬 메모리의 내용과 상기 메모리부(23)의 내용이 동일하여 정상적인 결과가 나오면 그대로 AP 실행을 종료하고(S7), 비정상적인 결과가 나오면 상기 단계(S5)에서부터 다시 플래쉬 메모리를 프로그래밍하여 정상적인 결과가 나올 때까지 플래쉬 메모리의 내용 변경을 반복 수행하도록 한다.As a result of the verification in step S6, the contents of the flash memory and the contents of the memory unit 23 are the same, and when the normal result is obtained, the execution of the AP is terminated as is (S7). Reprogram the flash memory again and again to change the contents of the flash memory until you get a normal result.
이상, 상기 설명에서와 같이 본 발명은 시스템 운용 센터에서 간단한 명령으로 운용중인 원격지 시스템의 다량의 부트 롬을 시스템의 운용에 지장을 주지 않고서도 변경할 수 있으며, 또한 기존의 부트 롬 변경을 위한 인적, 물적, 시간적 자원을 절감시킬 수 있게 되는 효과가 있다.As described above, the present invention can change a large number of boot ROMs of a remote system being operated by a simple command in a system operation center without affecting the operation of the system, and also for changing the existing boot ROM, There is an effect that can save physical and time resources.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019980022722A KR20000002133A (en) | 1998-06-17 | 1998-06-17 | Method for exchanging a system boot rom with a new one |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019980022722A KR20000002133A (en) | 1998-06-17 | 1998-06-17 | Method for exchanging a system boot rom with a new one |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20000002133A true KR20000002133A (en) | 2000-01-15 |
Family
ID=19539786
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019980022722A KR20000002133A (en) | 1998-06-17 | 1998-06-17 | Method for exchanging a system boot rom with a new one |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20000002133A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100474461B1 (en) * | 2002-06-28 | 2005-03-10 | 삼성전자주식회사 | Apparatus for copying operating system |
US8140896B2 (en) | 2006-01-14 | 2012-03-20 | Samsung Electronics Co., Ltd. | System and method for downloading system program |
-
1998
- 1998-06-17 KR KR1019980022722A patent/KR20000002133A/en not_active Application Discontinuation
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100474461B1 (en) * | 2002-06-28 | 2005-03-10 | 삼성전자주식회사 | Apparatus for copying operating system |
US8140896B2 (en) | 2006-01-14 | 2012-03-20 | Samsung Electronics Co., Ltd. | System and method for downloading system program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6754828B1 (en) | Algorithm for non-volatile memory updates | |
US7991988B2 (en) | Communication device and firmware update method thereof | |
US20050060699A1 (en) | Method and system for updating software | |
US20060086785A1 (en) | Portable electronic apparatus and method of updating application in portable electronic apparatus | |
US6651123B1 (en) | File system locking | |
CN109240720B (en) | Firmware upgrading method of android system and storage device | |
US9891908B2 (en) | Updatable integrated-circuit radio | |
JP2009505304A (en) | Embedded memory access control | |
CN107566169A (en) | A kind of firmware upgrade method and router based on openwrt | |
CN102722408A (en) | Method and apparatus for communication equipment software update | |
EP2778910B1 (en) | Systems and methods to extend rom functionality | |
KR20210041972A (en) | Apparatus for updating vehicle ECU software | |
KR20000002133A (en) | Method for exchanging a system boot rom with a new one | |
EP1514176B1 (en) | Method and apparatus for writing data to a non-volatile memory | |
JP2008123106A (en) | Microcomputer and debug method for microcomputer | |
US8347387B1 (en) | Addressing security in writes to memory | |
Ji et al. | Implementation and research of bootloader for automobile ECU remote incremental update | |
CN115102855A (en) | Intelligent water meter embedded software online upgrading method and system | |
CN114925368A (en) | Secure element and method for launching an application | |
JP6334776B1 (en) | Electronic control unit | |
Mujica et al. | On-the-fly dynamic reprogramming mechanism for increasing the energy efficiency and supporting multi-experimental capabilities in WSNs | |
JPH0935018A (en) | Portable information recording medium and its access method | |
US20020032022A1 (en) | Mobile telephone device and a method for rewriting software used therein | |
JP7234567B2 (en) | Electronic information storage medium, processing method in electronic information storage medium, and program | |
CN109343888B (en) | FPGA program remote online updating system and method based on DSP |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WITN | Withdrawal due to no request for examination |