KR100233082B1 - Method for controlling inter memory in digital signal processor - Google Patents
Method for controlling inter memory in digital signal processor Download PDFInfo
- Publication number
- KR100233082B1 KR100233082B1 KR1019970001034A KR19970001034A KR100233082B1 KR 100233082 B1 KR100233082 B1 KR 100233082B1 KR 1019970001034 A KR1019970001034 A KR 1019970001034A KR 19970001034 A KR19970001034 A KR 19970001034A KR 100233082 B1 KR100233082 B1 KR 100233082B1
- Authority
- KR
- South Korea
- Prior art keywords
- digital signal
- program
- signal processing
- signal processor
- buffer
- Prior art date
Links
Images
Classifications
-
- 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/14—Handling requests for interconnection or transfer
- G06F13/16—Handling requests for interconnection or transfer for access to memory bus
- G06F13/1668—Details of memory controller
- G06F13/1673—Details of memory controller using buffers
-
- 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/14—Handling requests for interconnection or transfer
- G06F13/16—Handling requests for interconnection or transfer for access to memory bus
- G06F13/1668—Details of memory controller
- G06F13/1689—Synchronisation and timing concerns
Abstract
가. 청구범위에 기재된 발명이 속하는 기술분야end. The technical field to which the invention described in the claims belongs
디지털 신호 처리 장치Digital signal processing unit
나. 발명이 해결하려고 하는 기술적 과제I. The technical problem that the invention is trying to solve
디지털 신호 처리 장치에서 내부메모리를 제어한다.The internal memory is controlled by the digital signal processing apparatus.
다. 발명의 해결 방법의 요지All. Summary of the Solution of the Invention
프로그램을 1차 다운 로딩한 후 신호처리부의 상태를 점검하여 상기 신호처리부를 셋업시키고, 초기 매개변수 값을 메모리에 복사한 후 프로그램을 2차 다운 로딩하여 상기 프로그램을 수행한다.After the first download of the program, the state of the signal processor is checked to set up the signal processor, the initial parameter values are copied to the memory, and the program is secondly downloaded to perform the program.
라. 발명의 중요한 용도la. Important uses of the invention
디지털 처리 장치에서 내부메모리를 효율적으로 제어할 수 있다.Internal memory can be efficiently controlled by the digital processing device.
Description
본 발명은 디지털 신호 처리 장치에서 내부메모리를 제어하는 방법에 관한 것으로, 특히 내부메모리에서 수행 프로그램의 다운 로딩을 제어하는 방법에 관한 것이다.The present invention relates to a method of controlling an internal memory in a digital signal processing apparatus, and more particularly, to a method of controlling downloading of an execution program in an internal memory.
도 1은 종래 디지털 신호 처리 장치의 구성을 나타내는 도면으로서, 디지털 신호 처리 장치에 대한 제어 동작을 수행하는 중앙처리장치(100)와 디지털 신호 처리 동작을 수행하는 디지털 신호 처리 장치(110)와 타이머(120)으로 구성된다.1 is a diagram illustrating a configuration of a conventional digital signal processing apparatus, which includes a
도 1을 참조하여 종래 디지털 신호 처리 장치에서 수행 프로그램의 다운 로딩을 위한 동작을 설명한다. 디지털 신호 처리 장치(110)는 디지털 신호 처리부(111)와 ROM(112)과 RAM(113)과 어드레스버퍼(114)와 데이터버퍼(115)와 버퍼제어부(116)와 리셋제어부(117)로 구성된다. 디지털 신호 처리부(111)는 ROM(112) 및 RAM(113)으로부터 데이터 및 프로그램을 인가받아 상기 데이터를 상기 프로그램에 따라 처리한다. ROM(112)은 디지털 신호 처리부(111)에서 수행되는 신호 처리 과정을 제어하는 프로그램을 저장한다. RAM(113)은 신호 처리 과정에서 필요한 데이터 또는 상기 신호 처리 과정에서 발생되는 데이터를 저장한다. 어드레스버퍼(114)는 중앙처리장치(100)에서 인가되는 어드레스를 입력받아 저장하고, 제어신호에 응답하여 상기 어드레스를 출력한다. 데이터버퍼(114)는 인가되는 제어신호에 응답하여 중앙처리장치(100)에서 출력되는 데이터를 입력받거나 RAM(113)에서 출력되는 데이터를 중앙처리장치(100)로 전달한다. 버퍼제어부(116)는 중앙처리장치(100)의 제어를 받아 어드레스버퍼(114)와 데이터버퍼(115)의 동작을 제어하는 제어신호를 생성하여 각 버퍼(114,115)로 인가한다. 리셋제어부(117)는 중앙처리장치(100)의 제어를 받아 디지털 신호 처리부(111)를 리셋시키는 리셋신호를 인가한다. 종래 디지털 신호 처리 장치에서 ROM(112) 및 RAM(113)의 수행 프로그램을 다운 로딩하는 방법은 중앙처리장치(100)가 버퍼제어부(116)와 리셋제어부(117)를 제어하여 프로그램을 두 번에 걸쳐 다운 로딩한다. 디지털 신호 처리 장치(110)에서 다운 로딩을 하기 위해 중앙처리장치(100)는 디지털 신호 처리부(111)를 리셋시켜야 한다. 이와 같이 디지털 신호 처리부(111)를 리셋시키면, 디지털 신호 처리부(111)에 접속된 각종 입출력 장치에도 영향을 미치게 된다. 예를 들어, 디지털 신호 처리부(111)에 타이머(120)가 접속되어 있는 경우 중앙처리장치(100)가 리셋제어부(117)를 제어하여 디지털 신호 처리부(111)를 리셋시키면, 상기 리셋되는 동안 타이머(120)에서 신호가 발생되지 않는다. 따라서, 종래의 디지털 신호 처리 장치(110)에서 디지털 신호 처리부(111)가 리셋되는 동안 디지털 신호 처리부(111)에 접속된 타이머(120)를 사용할 수 없으므로 시스템 클럭을 공급받기 위해 별도의 타이머가 필요하다. 그러므로, 상기 시스템 클럭을 공급하기 위한 두개의 타이머가 필요하므로 비효율적이다.An operation for downloading an execution program in a conventional digital signal processing apparatus will be described with reference to FIG. 1. The
따라서, 본 발명의 목적은 디지털 신호 처리 장치에서 내부메모리를 제어하는 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a method for controlling an internal memory in a digital signal processing apparatus.
본 발명의 다른 목적은 디지털 신호 처리 장치의 내부메모리에서 프로그램을 다운 로딩하는 방법을 제공함에 있다.Another object of the present invention is to provide a method for downloading a program from the internal memory of the digital signal processing apparatus.
이러한 목적들을 달성하기 위한 본 발명은 디지털 신호 처리 장치에서 램에 프로그램을 1차 다운 로딩한 후 신호처리부의 상태를 점검하고, 상기 신호처리부를 셋업시키고, 초기 매개변수 값을 상기 램에 복사하고, 2차 다운 로딩하여 프로그램을 수행하는 것을 특징으로 한다.In order to achieve the above object, the present invention first downloads a program to RAM in a digital signal processing apparatus, and then checks the state of the signal processing unit, sets up the signal processing unit, copies initial parameter values to the RAM, Characterized in that the program is executed by the second download.
도 1은 종래 디지털 신호 처리 장치의 블록 구성을 나타내는 도면.1 is a block diagram of a conventional digital signal processing apparatus.
도 2는 본 발명의 실시예에 따른 디지털 신호 처리 장치의 블록 구성을 나타내는 도면.2 is a block diagram of a digital signal processing apparatus according to an embodiment of the present invention;
도 3은 본 발명의 실시예에 따른 디지털 신호 처리 장치의 내부메모리를 제어하는 흐름을 나타내는 도면.3 is a flow chart for controlling an internal memory of a digital signal processing apparatus according to an embodiment of the present invention.
이하 본 발명의 바람직한 실시예를 첨부된 도면들을 참조하여 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 2는 본 발명의 실시예에 따른 디지털 신호 처리 장치의 구성을 나타내는 도면으로서, 본 발명의 실시예에 따른 제어 동작을 수행하는 중앙처리장치(100)와 디지털 신호 처리 동작을 수행하는 디지털 신호 처리 장치(110)와 타이머(120)로 구성된다.2 is a diagram illustrating a configuration of a digital signal processing apparatus according to an embodiment of the present invention, wherein the
도 1 및 도 2를 참조하면, 본 발명의 실시예에 따른 디지털 신호 처리 장치(110)는 도 1에 도시된 것과 같은 종래 디지털 신호 처리 장치와 비교해볼때 제2버퍼제어부(200)와 제2어드레스버퍼(210)와 제2데이터버퍼(220)와 인터럽트발생부(230)를 더 구비한다. 제2버퍼제어부(200)는 중앙처리장치(100)의 제어를 받아 제2어드레스버퍼(210) 및 제2데이터버퍼(220)를 제어하는 제어신호를 생성하여 각 버퍼(210,220)로 인가한다. 제2어드레스버퍼(210)는 중앙처리장치(100)로부터 어드레스를 입력받아 상기 인가되는 제어신호에 응답하여 상기 어드레스를 일시 저장하거나 출력한다. 제2데이터버퍼(220)는 중앙처리장치(100)로부터 데이터를 입력받아 상기 인가되는 제어신호에 응답하여 상기 데이터를 일시 저장하거나 출력한다. 인터럽트발생부(230)는 중앙처리장치(100)의 제어에 따라 디지털 신호 처리부(111)로 인터럽트신호를 인가한다.1 and 2, the digital
도 3은 본 발명의 실시예에 따른 디지털 신호 처리 장치에서 메모리를 제어하는 흐름을 나타내는 도면이다.3 is a diagram illustrating a flow of controlling a memory in a digital signal processing apparatus according to an embodiment of the present invention.
도 2 및 도 3을 참조하면, 중앙처리장치(100)는 리셋제어부(117)를 제어하여 디지털 신호 처리부(111)를 리셋(reset)시킨다. 그리고, 중앙처리장치(100)는 제1버퍼제어부(116)를 제어하여 제1어드레스버퍼(114) 및 제1데이터버퍼(115)를 개방한다. 310과정에서 중앙처리장치(100)는 제1데이터버퍼(114)를 통해 RAM(113)에 1차 프로그램을 다운 로딩한다. 상기 1차 프로그램은 RAM(113)에 초기 매개변수를 입력하고, ROM(112)의 데이터를 체크하여 디지털 신호 처리 장치(110)가 정상적으로 동작하는지의 여부에 대한 데이터를 중앙처리장치(100)로 인가하는 동작을 수행하도록 하는 프로그램이다. 그리고, 중앙처리장치(100)는 상기 1차 프로그램의 다운 로딩이 완료되면, 리셋제어부(117)를 제어하여 디지털 신호 처리부(111)의 리셋상태를 해제한다. 또한, 중앙처리장치(100)는 디지털 신호 처리부(111)의 리셋상태를 해제한 후 제2버퍼제어부(200)를 제어하여 제2어드레스버퍼(210) 및 제2데이터버퍼(220)를 개방한다. 그러면, 디지털 신호 처리부(111)는 RAM(113)에 1차 다운 로딩된 프로그램을 억세스하여 상기 프로그램에 따라 신호 처리 동작을 수행한다. 디지털 신호 처리부(111)는 상기 프로그램의 수행이 완료되면, ROM(112)의 첫 번째 번지로 점프한다. 그러면, ROM(112)은 프로그램이 수행됨을 알리기 위해 제어코드(6288H)를 중앙처리장치(100)로 인가한다. 즉, ROM(112)은 디지털 신호 처리부(111)에 의해 첫번째 번지로 점프함에 따라 프로그램이 수행됨을 중앙처리장치(100)에게 알리기 위해서 그에 대응되는 코드데이터(6288H)를 제2데이터버퍼(220)를 통해 중앙처리장치(100)로 인가한다.2 and 3, the
320과정에서 중앙처리장치(100)는 ROM(112)으로부터 인가되는 데이터에 따라 디지털 신호 장치(110)의 상태를 점검한다.In
330과정에서 중앙처리장치(100)는 리셋제어부(117)를 통해 디지털 신호 처리부(111)를 셋업(set-up)하여 타이머(120)를 세팅시키는 동작을 수행한다.In
340과정에서 중앙처리장치(100)는 RAM(113)에 초기 매개 변수를 복사한다.In
중앙처리장치(100)는 ROM(112)에서 상기 프로그램 수행에 대응되는 제어신호를 인가받고, 제2버퍼제어부(200)을 제어하여 제2어드레스버퍼(210) 및 제2데이터버퍼(220)을 단속한다.The
350과정에서 중앙처리장치(100)는 제1버퍼제어부(116)를 제어하여 제1어드레스버퍼(114) 및 제1데이터버퍼(115)를 개방하여 2차 프로그램을 다운 로딩한다. 이때, 상기 2차 프로그램은 디지털신호처리부(111)에서 ROM(112)에 저장된 프로그램을 제2어드레스버퍼(210)와 제2데이터버퍼(220)를 통해 RAM(113)에 복사하는 동작을 수행하도록 하는 프로그램이다. 그리고, 본 발명에 따른 2차 프로그램의 다운 로딩은 중앙처리장치(100)에서 디지털신호처리장치(110)를 리셋시키지 않고, 프로그램을 다운 로딩하는 것이다.In
상기 2차 프로그램의 다운 로딩이 완료되면, 중앙처리장치(100)는 제2버퍼제어부(200)를 제어하여 제2어드레스버퍼(210) 및 제2데이터버퍼(220)를 개방한다. 또한, 중앙처리장치(100)는 제1버퍼제어부(116)를 제어하여 제1어드레스버퍼(114) 및 제1데이터버퍼(115)를 단속한다.When the downloading of the secondary program is completed, the
또한, 중앙처리장치(100)는 상기 2차 프로그램의 다운 로딩이 완료됨에 따라 인터럽트발생부(230)를 제어하여 디지털 신호 처리부(111)로 인터럽트신호를 인가한다. 그러면, 디지털 신호 처리부(111)는 상기 인터럽트신호에 응답하여 ROM(112)에 저장된 인터럽트 서비스 루틴(interrupt service routine)에 따라 인터럽트 동작을 수행한다. RAM(113)은 제2어드레스버퍼(210) 및 제2데이터버퍼(220)를 통해 ROM(112)에 저장된 상기 인터럽트 경로를 읽어들여 복사한다.In addition, the
이와 같이 디지털 신호 처리부(111)는 ROM(112)에서 저장된 상기 인터럽트 서비스 루틴에 따라 RAM(113)에 상기 제어코드(A5A5H)를 복사하면, 인터럽트 서비스 동작을 완료한다. 디지털 신호 처리부(111)는 제2어드레스버퍼(210)를 통해 RAM(113)의 번지를 선택하고, 제2데이터버퍼(220)를 통해 상기 선택된 번지로 제어코드(A5A5H)를 전달한다.As described above, when the
360과정에서 중앙처리장치(100)는 RAM(113)의 번지로 점프하여 프로그램을 수행한다. 즉, 중앙처리장치(100)는 디지털 신호 처리 장치(110)를 제어하여 상기 다운로딩된 프로그램을 수행한다. RAM(113)에 미리 초기 데이터를 복사하여 두어 2차 프로그램의 다운 로딩시 오버헤드가 없이 프로그램을 사용할 수 있어 시스템의 성능을 향상시킨다.In
상술한 바와 같이 본 발명은 디지털 신호 처리 장치에서 프로그램 로딩시 디지털 신호 처리부를 리셋하지 않으므로 상기 디지털 신호 처리부에 부속된 타이머를 최대한 활용할 수 있는 이점이 있다.As described above, the present invention does not reset the digital signal processing unit when the program is loaded in the digital signal processing apparatus, so that the timer included in the digital signal processing unit can be utilized to the maximum.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970001034A KR100233082B1 (en) | 1997-01-15 | 1997-01-15 | Method for controlling inter memory in digital signal processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970001034A KR100233082B1 (en) | 1997-01-15 | 1997-01-15 | Method for controlling inter memory in digital signal processor |
Publications (2)
Publication Number | Publication Date |
---|---|
KR19980065855A KR19980065855A (en) | 1998-10-15 |
KR100233082B1 true KR100233082B1 (en) | 1999-12-01 |
Family
ID=19494756
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019970001034A KR100233082B1 (en) | 1997-01-15 | 1997-01-15 | Method for controlling inter memory in digital signal processor |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100233082B1 (en) |
-
1997
- 1997-01-15 KR KR1019970001034A patent/KR100233082B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR19980065855A (en) | 1998-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2001265412A (en) | Programmable controller | |
KR100233082B1 (en) | Method for controlling inter memory in digital signal processor | |
JP2861962B2 (en) | Computer program simulation apparatus and method | |
KR100303307B1 (en) | Downloading device and method for debugging operation in real time operating system | |
JPH0573296A (en) | Microcomputer | |
JPH0581041A (en) | Information processor | |
KR19990081076A (en) | How to upgrade program in memory | |
CN114756452A (en) | Method and device for simulating program overtime | |
JPS62162104A (en) | Flow chart type programmable controller | |
JPH05197680A (en) | Dynamic terminal name simulation method | |
JPS62163142A (en) | Apparatus for correcting computer program | |
JPH05334098A (en) | Method and device for interruption control | |
JPH0583937B2 (en) | ||
JPH06161769A (en) | Software down-loading system of control system | |
JP2004342001A (en) | Semiconductor integrated circuit device | |
JPH0433135A (en) | Program system for debugging | |
JPH02219137A (en) | Evaluation system for test program | |
JPH02277146A (en) | Program debugging system | |
KR20020053266A (en) | Apparatus for controlling initialization of system and method therefor | |
JPH04373031A (en) | Software debugging method and device for computer | |
JPS62249234A (en) | Compilation interrupting/restarting system | |
JPH03233703A (en) | Sequence controller | |
JPS6065350A (en) | Control method of effective executing speed of cpu | |
JPS62190544A (en) | Higher link unit for programmable controller | |
JPS62151768A (en) | Testing method for interface signal between channel device and input/output controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20070810 Year of fee payment: 9 |
|
LAPS | Lapse due to unpaid annual fee |