KR20000051669A - Apparatus and method for transplanting system program using internal memory and external memory - Google Patents
Apparatus and method for transplanting system program using internal memory and external memory Download PDFInfo
- Publication number
- KR20000051669A KR20000051669A KR1019990002240A KR19990002240A KR20000051669A KR 20000051669 A KR20000051669 A KR 20000051669A KR 1019990002240 A KR1019990002240 A KR 1019990002240A KR 19990002240 A KR19990002240 A KR 19990002240A KR 20000051669 A KR20000051669 A KR 20000051669A
- Authority
- KR
- South Korea
- Prior art keywords
- memory
- external memory
- program
- storage means
- internal memory
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/654—Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/72—Code refactoring
-
- 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/445—Program loading or initiating
Abstract
Description
본 발명은 메모리 중첩을 이용한 시스템 프로그램 이식 장치 및 그 방법과, 그를 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system program implantation apparatus using memory overlap and a method thereof, and a computer readable recording medium storing a program for realizing the same.
종래에 사용하던 비휘발성 메모리(ROM 등)는 적용 시스템상에서 재 프로그래밍 작업이 거의 불가능하였으며, 프로그램의 변경시 기기의 분해, 메모리의 교체 및 재조립 과정이 필요하였다. 이 과정에서 비용이 증가하고, 프로그램 변경시 새로운 프로그램을 기기에 적용하기 힘든 문제점이 있었다.Conventionally used nonvolatile memory (ROM, etc.) was almost impossible to reprogram on the applied system. When the program was changed, disassembly of the device, memory replacement and reassembly were necessary. In this process, the cost increases and there is a problem that it is difficult to apply a new program to the device when changing the program.
따라서, 상기한 바와 같은 제반 문제점을 해결하기 위하여 안출된 본 발명은, 시스템에 재 프로그래밍이 가능한 메모리를 이용하여 그 메모리에 프로그램을 이식하기 위해 외부 메모리를 접속하면 마이크로 프로세서가 두 메모리를 선택할 수 있는 회로를 이용하여 프로그램을 외부 메모리로부터 내부 메모리로 이식하는 시스템 프로그램 이식 장치 및 그 방법과, 그를 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하는 데 그 목적이 있다.Accordingly, the present invention has been made to solve the above problems, the microprocessor can select the two memory when the external memory to connect the program to the memory using the reprogrammable memory in the system SUMMARY OF THE INVENTION An object of the present invention is to provide a system program implantation apparatus and method for porting a program from an external memory to an internal memory using a circuit, and a computer-readable recording medium having recorded thereon a program for realizing the program.
도 1 은 본 발명에 따른 시스템 프로그램 이식 장치의 일실시예 구성도.1 is a configuration diagram of an embodiment of a system program implantation apparatus according to the present invention;
도 2 는 본 발명에 따른 시스템 프로그램 이식 장치의 메모리 선택 회로의 구성도.2 is a block diagram of a memory selection circuit of a system program implantation apparatus according to the present invention;
도 3 은 본 발명에 따른 시스템 프로그램 이식 방법의 일실시예 흐름도.3 is a flowchart of an embodiment of a system program porting method according to the present invention;
* 도면의 주요 부분에 대한 부호의 설명* Explanation of symbols for the main parts of the drawings
101 : 마이크로 프로세서 102 : 메모리 선택 회로101: microprocessor 102: memory selection circuit
103 : 내부 메모리 104 : 커넥터103: internal memory 104: connector
105 : 외부 메모리105: external memory
상기 목적을 달성하기 위한 본 발명은, 시스템 프로그램 이식 장치에 있어서, 시스템 내부에 위치하되 재 프로그래밍 가능한 프로그램을 저장하기 위한 제 1 저장 수단; 시스템 외부에 위치하되 상기 제 1 저장 수단의 프로그램을 업데이트할 대상 프로그램을 저장하기 위한 제 2 저장 수단; 시스템과 상기 제 2 저장 수단을 접속 및 분리시키기 위한 접속 및 분리 수단; 상기 제 2 저장 수단의 프로그램을 읽어 상기 제 1 저장 수단의 프로그램을 업데이트하기 위한 처리 수단; 및 상기 처리 수단의 선택 신호에 따라 상기 제 1 저장 수단 또는 상기 제 2 저장 수단을 선택하기 위한 선택 수단을 포함한다.According to an aspect of the present invention, there is provided a system program implantation apparatus comprising: first storage means for storing a reprogrammable program located inside a system; Second storage means for storing a target program that is located outside the system and to update a program of the first storage means; Connecting and disconnecting means for connecting and disconnecting a system and said second storage means; Processing means for reading a program of the second storage means and updating the program of the first storage means; And selection means for selecting the first storage means or the second storage means in accordance with a selection signal of the processing means.
또한, 본 발명은, 시스템 프로그램 이식 장치에 적용되는 시스템 프로그램 이식 방법에 있어서, 외부 메모리가 접속되어 있는지를 확인하여 외부 메모리의 소정의 데이터를 읽는 제 1 단계; 메모리를 내부 메모리로 전환하여 외부 메모리에서 읽은 소정의 데이터를 내부 메모리에 기록하는 제 2 단계; 및 업데이트할 데이터를 내부 메모리에 모두 기록하였는지를 확인하여 메모리를 외부 메모리로 전환하여 상기 제 1 단계의 외부 메모리의 소정의 데이터를 읽는 과정부터 반복 수행하는 제 3 단계를 포함한다.In addition, the present invention provides a system program transplantation method applied to a system program implantation apparatus, comprising: a first step of checking whether an external memory is connected and reading predetermined data of the external memory; Converting the memory into the internal memory to write predetermined data read from the external memory into the internal memory; And a third step of confirming whether all data to be updated is written to the internal memory, and converting the memory to an external memory to repeat reading predetermined data of the external memory of the first step.
또한, 본 발명은 프로세서를 구비한 시스템 프로그램 이식 장치에, 외부 메모리가 접속되어 있는지를 확인하여 외부 메모리의 소정의 데이터를 읽는 제 1 기능; 메모리를 내부 메모리로 전환하여 외부 메모리에서 읽은 소정의 데이터를 내부 메모리에 기록하는 제 2 기능; 및 업데이트할 데이터를 내부 메모리에 모두 기록하였는지를 확인하여 메모리를 외부 메모리로 전환하여 상기 제 1 기능의 외부 메모리의 소정의 데이터를 읽는 과정부터 반복 수행하는 제 3 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.The present invention also provides a system program implantation apparatus having a processor, comprising: a first function of checking whether an external memory is connected and reading predetermined data of the external memory; A second function of converting the memory into the internal memory to write predetermined data read from the external memory into the internal memory; And a computer for recording a program for realizing a third function of repetitively performing the process of reading predetermined data from the external memory of the first function by checking whether all data to be updated has been recorded in the internal memory. Provide a readable recording medium.
이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 1 은 본 발명에 따른 시스템 프로그램 이식 장치의 일실시예 구성도로서, 마이크로 프로세서(101), 메모리 선택 회로(102), 내부 메모리(103), 커넥터(104) 및 외부 메모리(105)를 구비한다.1 is a configuration diagram of an embodiment of a system program implantation apparatus according to the present invention, which includes a microprocessor 101, a memory selection circuit 102, an internal memory 103, a connector 104, and an external memory 105. do.
도면에 도시된 바와 같이, 내부 메모리(103)는 시스템에서 사용되는 메모리로서 플래쉬 메모리, EEPROM(Electrically Erasable Programmable Read Only Memory) 등의 재 프로그래밍 가능한 메모리이며, 외부 메모리(105)는 내부 메모리(105)를 재 프로그래밍하기 위한 코드가 들어있는 메모리로 ROM, 플래쉬 메모리, EEPROM 등 회로 접속이 가능한 어떠한 메모리로 구성하여도 무방하다.As shown in the figure, the internal memory 103 is a memory used in the system and is a reprogrammable memory such as a flash memory, an electrically erasable programmable read only memory (EEPROM), and the external memory 105 is an internal memory 105. It can be configured as any memory that can be connected to the circuit such as ROM, flash memory, EEPROM, etc., which contains the code for reprogramming.
커넥터(104)는 시스템과 외부 메모리(105)를 접속/분리할 수 있는 구조이며, 외부 메모리(105)를 접속하면 내부 메모리(103)와 주소 공간이 중첩된다.The connector 104 has a structure capable of connecting / disconnecting the system and the external memory 105. When the external memory 105 is connected, the connector 104 overlaps the internal memory 103 and the address space.
메모리 선택 회로(102)는 마이크로 프로세서(101)에서 출력되는 내부 메모리 선택 신호(/M1_Slect)를 외부 메모리 감지 신호(/M2_Detect)와, 내부 메모리 또는 외부 메모리 설정 신호(/M_Change)를 조합하여 중첩된 주소 공간중 내부 메모리(103)를 선택하는 /M1_Select 신호 또는 외부 메모리(105)를 선택하는 /M2_Select 신호 중 한가지를 선택하는 신호를 출력하게 된다.The memory selection circuit 102 combines an internal memory selection signal / M1_Slect output from the microprocessor 101 with an external memory detection signal / M2_Detect and an internal memory or external memory setting signal / M_Change. A signal for selecting one of the / M1_Select signal for selecting the internal memory 103 or the / M2_Select signal for selecting the external memory 105 in the address space is output.
도 2 는 본 발명에 따른 시스템 프로그램 이식 장치의 메모리 선택 회로의 구성도이다.2 is a configuration diagram of a memory selection circuit of a system program implantation apparatus according to the present invention.
도면에 도시된 바와 같이, /M_Select 신호는 마이크로 프로세서에서 메모리를 선택하는 신호이며, /M_Select 신호는 메모리 선택 회로에 의해 /M1_Select 신호 또는 /M2_Select 신호 중 한가지 신호로 출력된다. 이때, 메모리 선택 회로는 /M2_Detect 신호를 이용하여 외부 메모리가 접속되어 있는지를 판단하고, 외부 메모리가 접속된 경우에만 /M_Change 신호에 맞추어 내부 메모리 및 외부 메모리를 선택할 수 있다. 도 2의 메모리 선택 회로에서는 /M_Change 신호가 하이(high) 값일때 내부 메모리를 선택하고, 로우(low)일 때 외부 메모리를 선택한다.As shown in the figure, the / M_Select signal is a signal for selecting a memory in the microprocessor, and the / M_Select signal is output as one of the / M1_Select signal and the / M2_Select signal by the memory selection circuit. At this time, the memory selection circuit determines whether an external memory is connected by using the / M2_Detect signal, and selects the internal memory and the external memory according to the / M_Change signal only when the external memory is connected. In the memory selection circuit of FIG. 2, the internal memory is selected when the / M_Change signal is high, and the external memory is selected when the / M_Change signal is low.
아래의 (표 1)은 도 2의 메모리 선택 회로에 대한 로우 액티브(low active) 진리표(Truth Table)를 나타낸다.Table 1 below shows a low active Truth Table for the memory selection circuit of FIG.
시스템의 특성상 전원이 켜진 상태에서 외부 메모리를 접속하거나 분리할 수는 없다. 따라서, 시스템이 온(ON)된 상황에서 메모리를 접근하는 경우하는 다음의 두가지 초기 상태 중 한가지를 가진다.Due to the nature of the system, it is not possible to connect or disconnect external memory while the power is on. Thus, when the system accesses the memory in the ON state, it has one of two initial states.
아래의 (표 2)는 외부 메모리가 접속되지 않은 상태에서 전원이 온(ON)된 경우의 로우 액티브 진리표이고, 아래의 (표 3)는 외부 메모리가 접속된 상태에서 전원이 온(ON)된 경우의 로우 액티브 진리표이다.(Table 2) below is a low active truth table when the power is ON when the external memory is not connected, and (Table 3) below is the power ON when the external memory is connected. The low active truth table of the case.
또한, 외부 메모리로부터 내부 메모리로 프로그램을 이식하는 업데이트 프로그램이 시작되면 외부 메모리가 있는지 또는 없는지를 /M2_Detect가 하이(high) 경우인지 또는 로우(low)인지를 근거로 마이크로 프로세서가 판단한다. 만약, 외부 메모리가 없으면 업데이트 프로그램은 실행을 마친다.In addition, when an update program for porting a program from an external memory to an internal memory is started, the microprocessor determines whether the external memory is present or not based on whether / M2_Detect is high or low. If there is no external memory, the update program finishes running.
외부 메모리가 있는 경우 외부 메모리로부터 프로그램을 읽어들인다. 이때, 1바이트 또는 일정 블록(수 바이트 - 수십 바이트)를 읽을 수 있다. 업데이트할 대상을 읽은 후 메모리를 내부 메모리로 전환, 기록한다(즉, 아래의 (표 4)와 같이 마이크로 프로세서가 /M_Change를 로우(low)에서 하이(high)로 바꾼다).If there is an external memory, the program is read from the external memory. At this time, one byte or a predetermined block (several bytes-several tens of bytes) can be read. After reading the target to update, the memory is converted to internal memory and written (ie, the microprocessor changes / M_Change from low to high as shown in Table 4 below).
도 3 은 본 발명에 따른 시스템 프로그램 이식 방법의 일실시예 흐름도이다.3 is a flowchart of an embodiment of a system program porting method according to the present invention.
도면에 도시된 바와 같이, 외부 메모리가 접속되어 있는지를 확인하여(301) 외부 메모리가 접속되어 있으면 외부 메모리의 소정의 데이터를 읽고(302), 메모리를 내부 메모리로 전환하여(303) 외부 메모리에서 읽은 소정의 데이터를 내부 메모리에 기록한다(304).As shown in the figure, it is checked whether the external memory is connected (301), if the external memory is connected, read predetermined data of the external memory (302), and switch the memory to the internal memory (303) in the external memory The read predetermined data is written to the internal memory (304).
이후, 업데이트할 데이터를 내부 메모리에 모두 기록하였는지를 확인하여(305) 모두 기록하지 않았으면 메모리를 외부 메모리로 전환하여(306) 외부 메모리의 소정의 데이터를 읽는 과정부터 반복 수행한다.Thereafter, if all data to be updated are recorded in the internal memory (305), if not all are recorded, the memory is switched to the external memory (306), and the predetermined data of the external memory is repeatedly read.
이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 있어 본 발명의 기술적 사상을 벗어나지 않는 범위내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 한정되는 것이 아니다.The present invention described above is capable of various substitutions, modifications, and changes without departing from the spirit of the present invention for those skilled in the art to which the present invention pertains, and the above-described embodiments and accompanying It is not limited to the drawing.
상기와 같은 본 발명은, 시스템 내부 메모리 및 외부 메모리를 개별적으로 선택이 가능하므로 소프트웨어를 이용하여 외부 메모리의 내용을 내부 메모리로 이식할 수 있으므로써 조립 완성된 시스템을 분해할 필요없이 컴퓨터에 외부 메모리를 접속하여 외부 메모리의 내용을 내부 메모리로 이식하면 시스템의 프로그램을 변경할 수 있고, 시스템 생산시 각 국가별 또는 언어별 등 시스템의 프로그램만 개별적으로 변경되는 경우에 시스템 양산후 개별적으로 필요한 프로그램을 이식할 수 있는 효과가 있다.In the present invention as described above, since the system internal memory and the external memory can be selected separately, the contents of the external memory can be ported to the internal memory using software, thereby eliminating the need to disassemble the assembled system. You can change the program of the system by connecting the contents of the external memory to the internal memory by connecting to the system.In case that only the program of the system, such as each country or language, is changed individually when the system is produced, the necessary programs are transferred after mass production. It can work.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019990002240A KR20000051669A (en) | 1999-01-25 | 1999-01-25 | Apparatus and method for transplanting system program using internal memory and external memory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019990002240A KR20000051669A (en) | 1999-01-25 | 1999-01-25 | Apparatus and method for transplanting system program using internal memory and external memory |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20000051669A true KR20000051669A (en) | 2000-08-16 |
Family
ID=19572287
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019990002240A KR20000051669A (en) | 1999-01-25 | 1999-01-25 | Apparatus and method for transplanting system program using internal memory and external memory |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20000051669A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR940015804A (en) * | 1992-12-30 | 1994-07-21 | 정장호 | Program field upgrade circuit for FLASH EPROM |
KR19980074527A (en) * | 1997-03-25 | 1998-11-05 | 이정식 | ROMBIOS Data Modification Apparatus and Method Using Infrared Port of Personal Computer |
KR19980082250A (en) * | 1997-05-02 | 1998-12-05 | 윤종용 | BIOS upgrade method using serial communication |
JPH113219A (en) * | 1997-06-13 | 1999-01-06 | Sony Corp | Firmware changing method and disk device |
KR19990000120A (en) * | 1997-06-03 | 1999-01-15 | 구자홍 | How to change the facsimile device and its running program |
-
1999
- 1999-01-25 KR KR1019990002240A patent/KR20000051669A/en not_active Application Discontinuation
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR940015804A (en) * | 1992-12-30 | 1994-07-21 | 정장호 | Program field upgrade circuit for FLASH EPROM |
KR19980074527A (en) * | 1997-03-25 | 1998-11-05 | 이정식 | ROMBIOS Data Modification Apparatus and Method Using Infrared Port of Personal Computer |
KR19980082250A (en) * | 1997-05-02 | 1998-12-05 | 윤종용 | BIOS upgrade method using serial communication |
KR19990000120A (en) * | 1997-06-03 | 1999-01-15 | 구자홍 | How to change the facsimile device and its running program |
JPH113219A (en) * | 1997-06-13 | 1999-01-06 | Sony Corp | Firmware changing method and disk device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1808764B1 (en) | Generating incremental program updates | |
KR101088192B1 (en) | A method and system for flash memory programming | |
CN111538521B (en) | Intelligent contract deployment and transaction method and device | |
CN101553789A (en) | Method and system for managing a suspend request in a flash memory | |
KR100276785B1 (en) | Electronic device | |
CN103605542A (en) | Online updater of FPGA configuration files | |
CN110096306B (en) | Application version switching method and device, electronic equipment and storage medium | |
CN112015408A (en) | Component rendering method and device, storage medium and electronic device | |
CN109766113B (en) | Firmware updating method and device of solid state hard disk controller | |
CN110489167B (en) | Double-kernel code stream downloading method and device, computer equipment and storage medium | |
JPH11110222A (en) | Method and device for loading program | |
KR20000051669A (en) | Apparatus and method for transplanting system program using internal memory and external memory | |
US10146200B2 (en) | Apparatus and method for updating operating system in programmable logic controller | |
WO2020129324A1 (en) | Module, information processing device equipped with same, and program data updating method for updating program data of module | |
CN113515082A (en) | Polling communication method and device | |
CN114594970A (en) | DSP software remote upgrading system and method | |
KR20010028132A (en) | Apparatus and method for changing FPGA logic circuit in board to communicating host device | |
CN110442074B (en) | Processing device for programmable logic controller program | |
KR100316584B1 (en) | Flash Memory To Share With Booting And Main Operation Program In System And Upgrade Method In That Memory | |
CN210864686U (en) | Program burning device | |
JPH08307246A (en) | Method for configuring integrated circuit device and logic circuit | |
KR100414218B1 (en) | Self initializing device and method of communication mobile station | |
JP2003108397A (en) | Firmware rewriting method | |
JP4599707B2 (en) | Version management method for download data | |
KR20200035823A (en) | Method for downloading FPGA firmware data using FPGA firmware download system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application |