JP2003076550A - Data processor, semiconductor circuit and data processing system - Google Patents

Data processor, semiconductor circuit and data processing system

Info

Publication number
JP2003076550A
JP2003076550A JP2001267603A JP2001267603A JP2003076550A JP 2003076550 A JP2003076550 A JP 2003076550A JP 2001267603 A JP2001267603 A JP 2001267603A JP 2001267603 A JP2001267603 A JP 2001267603A JP 2003076550 A JP2003076550 A JP 2003076550A
Authority
JP
Japan
Prior art keywords
memory
program
data
control circuit
execution
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.)
Pending
Application number
JP2001267603A
Other languages
Japanese (ja)
Inventor
Yukihiro Sakamoto
幸弘 阪本
Miki Abe
三樹 阿部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP2001267603A priority Critical patent/JP2003076550A/en
Publication of JP2003076550A publication Critical patent/JP2003076550A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a data processor for simplifying access procedures from a control circuit to an external memory. SOLUTION: A DSP (digital signal processor) 20 of an LSI (large scale integrated circuit) 13 executes a boot program and downloads an execution program 10 by using a function of DMA- CNT (direct memory access controller) 21 in the process. Then the DSP 20 downloads and uses data 11 from the external memory 4 by using the function of the DMA- CNT 21 during execution of the execution program 10. The DSP 20 is controlled by a host CPU 2.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、プログラムおよび
データへのアクセスを簡単化できるデータ処理装置、半
導体回路およびデータ処理システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device, a semiconductor circuit and a data processing system capable of simplifying access to programs and data.

【0002】[0002]

【従来の技術】半導体チップに組み込まれたCPU(Cen
tral Processing Unit) やDSP(Digital Signal Proc
essor)などの制御回路(演算回路)は、ブートプログラ
ムを実行中に、SRAMやフラッシュメモリなどの書き
換え可能な外部メモリに記憶された実行プログラムを当
該制御回路内のプログラム用メモリにダウンロードす
る。また、上述したCPUやDSPは、上述した実行プ
ログラムを実行中に、当該実行プログラムが記憶された
外部メモリとは別の外部メモリとの間でデータの入出力
を行う。
2. Description of the Related Art A CPU (Cen
tral Processing Unit) and DSP (Digital Signal Proc)
A control circuit (arithmetic circuit) such as an essor) downloads the execution program stored in a rewritable external memory such as SRAM or flash memory to the program memory in the control circuit during execution of the boot program. Further, the CPU or DSP described above inputs / outputs data to / from an external memory other than the external memory in which the execution program is stored during execution of the execution program.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述し
た従来のシステムでは、異なる外部メモリに実行プログ
ラムおよびデータをそれぞれ記憶するため、外部メモリ
と制御回路との間のデータバスの幅や接続端子の数が多
く、また、制御回路における外部メモリへのアクセス手
順が煩雑になるという問題がある。
However, in the above-described conventional system, since the execution programs and data are stored in different external memories, the width of the data bus between the external memory and the control circuit and the number of connection terminals are different. However, there is a problem that the access procedure to the external memory in the control circuit becomes complicated.

【0004】本発明は上述した従来技術の問題点に鑑み
てなされ、外部メモリと制御回路との間のデータバスの
幅を縮小でき、接続端子の数を削減できるデータ処理装
置、半導体回路およびデータ処理システムを提供するこ
とを目的とする。また、本発明は、制御回路から外部メ
モリへのアクセス手順を簡単化できるデータ処理装置、
半導体回路およびデータ処理システムを提供することを
目的とする。
The present invention has been made in view of the above-mentioned problems of the prior art, and can reduce the width of the data bus between the external memory and the control circuit and reduce the number of connection terminals, the semiconductor circuit and the data. The purpose is to provide a processing system. Further, the present invention provides a data processing device capable of simplifying an access procedure from a control circuit to an external memory,
An object is to provide a semiconductor circuit and a data processing system.

【0005】[0005]

【課題を解決するための手段】上述した従来技術の問題
点を解決し、上述した目的を達成するために、第1の発
明のデータ処理装置は、実行プログラムとデータとを記
憶する外部メモリと、前記実行プログラムを実行する半
導体回路とを有し、前記半導体回路は、ブートプログラ
ムを記憶するプログラム用メモリと、データ用メモリ
と、前記外部メモリから前記プログラム用メモリへの前
記実行プログラムの転送を制御し、前記外部メモリと前
記データ用メモリとの間のデータ転送を制御するメモリ
制御回路と、前記プログラム用メモリから読み出した前
記ブートプログラムに基づいてブート処理を行い、当該
ブート処理において、前記外部メモリから前記プログラ
ム用メモリに前記実行プログラムを転送することを前記
メモリ制御回路に指示し、前記プログラム用メモリから
読み出した前記実行プログラムに基づいて処理を行い、
当該処理の過程で、前記外部メモリと前記データ用メモ
リとの間のデータ転送を前記メモリ制御回路に指示する
制御回路とを有する。
In order to solve the above-mentioned problems of the prior art and achieve the above-mentioned object, a data processing apparatus according to the first invention comprises an external memory for storing an execution program and data. And a semiconductor circuit that executes the execution program, the semiconductor circuit including a program memory that stores a boot program, a data memory, and a transfer of the execution program from the external memory to the program memory. A memory control circuit for controlling and controlling data transfer between the external memory and the data memory, and boot processing based on the boot program read from the program memory, and in the boot processing, the external processing is performed. Instructing the memory control circuit to transfer the execution program from the memory to the program memory. And performs processing based on the execution program read out from the memory for the program,
And a control circuit for instructing the memory control circuit to transfer data between the external memory and the data memory during the process.

【0006】第1の発明のデータ処理装置の作用は以下
のようになる。先ず、制御回路が、ブートプログラムを
プログラム用メモリから読み出し、当該ブートプログラ
ムに基づいてブート処理を行う。そして、制御回路が、
当該ブート処理において、外部メモリから前記プログラ
ム用メモリに実行プログラムを転送することをメモリ制
御回路に指示する。そして、メモリ制御回路の制御によ
って、前記外部メモリから前記プログラム用メモリに前
記実行プログラムが転送される。そして、制御回路が、
前記プログラム用メモリから読み出した前記実行プログ
ラムに基づいて処理を行う。制御回路は、当該処理の過
程で、前記外部メモリと前記データ用メモリとの間のデ
ータ転送を前記メモリ制御回路に指示する。メモリ制御
回路の制御によって、前記外部メモリと前記データ用メ
モリとの間でデータ転送が行われる。
The operation of the data processor of the first invention is as follows. First, the control circuit reads the boot program from the program memory and performs boot processing based on the boot program. And the control circuit
In the boot process, the memory control circuit is instructed to transfer the execution program from the external memory to the program memory. Then, under the control of the memory control circuit, the execution program is transferred from the external memory to the program memory. And the control circuit
Processing is performed based on the execution program read from the program memory. The control circuit instructs the memory control circuit to transfer data between the external memory and the data memory during the process. Under the control of the memory control circuit, data transfer is performed between the external memory and the data memory.

【0007】また、第1の発明のデータ処理装置は、好
ましくは、前記制御回路は、前記外部メモリから前記プ
ログラム用メモリに転送する前記実行プログラムのサイ
ズを示すプログラムサイズデータを、前記データ処理装
置の外部の制御装置から受け、当該プログラムサイズデ
ータをレジスタに記憶し、前記メモリ制御回路は、前記
レジスタに記憶されたプログラムサイズデータを基に、
前記外部メモリから前記プログラム用メモリに前記実行
プログラムを転送する。
In the data processor of the first invention, preferably, the control circuit stores program size data indicating the size of the execution program transferred from the external memory to the program memory. Received from an external controller, stores the program size data in a register, the memory control circuit, based on the program size data stored in the register,
The execution program is transferred from the external memory to the program memory.

【0008】また、第1の発明のデータ処理装置は、好
ましくは、前記制御回路は、前記ブートプログラムを実
行中に、前記外部メモリから前記プログラム用メモリに
前記実行プログラムを転送することを前記メモリ制御回
路に指示する。
In the data processor of the first invention, preferably, the control circuit transfers the execution program from the external memory to the program memory while the boot program is being executed. Instruct the control circuit.

【0009】また、第1の発明のデータ処理装置は、好
ましくは、前記制御回路は、前記データ処理装置の外部
の制御装置から、前記外部メモリから前記プログラム用
メモリに転送された前記実行プログラムの実行開始ベク
タアドレスを受け、当該実行開始ベクタアドレスをレジ
スタに記憶し、前記メモリ制御回路は、前記レジスタに
記憶された実行開始ベクタアドレスを基に、前記外部メ
モリから前記プログラム用メモリに前記実行プログラム
を転送する。
Further, in the data processing apparatus of the first invention, preferably, the control circuit executes the execution program transferred from the external memory to the program memory from a control apparatus external to the data processing apparatus. The execution start vector address is received, the execution start vector address is stored in a register, and the memory control circuit stores the execution program in the program memory from the external memory based on the execution start vector address stored in the register. To transfer.

【0010】また、第1の発明のデータ処理装置は、好
ましくは、前記制御回路は、前記レジスタに記憶された
実行開始ベクタアドレスに、プログラムカウンタを設定
して前記実行プログラムを実行する。
In the data processor of the first invention, preferably, the control circuit sets a program counter at an execution start vector address stored in the register to execute the execution program.

【0011】また、第1の発明のデータ処理装置は、好
ましくは、前記制御回路は、前記実行プログラムを実行
中に、前記メモリ制御回路にデータ転送要求を出力し、
前記メモリ制御回路は、前記データ転送要求に基づい
て、前記外部メモリと前記データ用メモリとの間でデー
タ転送を行う。
Further, in the data processor of the first invention, preferably, the control circuit outputs a data transfer request to the memory control circuit during execution of the execution program,
The memory control circuit transfers data between the external memory and the data memory based on the data transfer request.

【0012】また、第2の発明の半導体回路は、ブート
プログラムを記憶するプログラム用メモリと、データ用
メモリと、外部メモリから前記プログラム用メモリへの
実行プログラムの転送を制御し、前記外部メモリと前記
データ用メモリとの間のデータ転送を制御するメモリ制
御回路と、前記プログラム用メモリから読み出した前記
ブートプログラムに基づいてブート処理を行い、当該ブ
ート処理において、前記外部メモリから前記プログラム
用メモリに前記実行プログラムを転送することを前記メ
モリ制御回路に指示し、前記プログラム用メモリから読
み出した前記実行プログラムに基づいて処理を行い、当
該処理の過程で、前記外部メモリと前記データ用メモリ
との間のデータ転送を前記メモリ制御回路に指示する制
御回路とを有する。
The semiconductor circuit of the second invention controls the transfer of an execution program from a program memory for storing a boot program, a data memory, and an external memory to the external memory. A memory control circuit for controlling data transfer to and from the data memory, and boot processing based on the boot program read from the program memory, and in the boot processing, the external memory to the program memory. Instructing the memory control circuit to transfer the execution program, performing processing based on the execution program read from the program memory, and in the process of the processing, between the external memory and the data memory. Control circuit for instructing the memory control circuit to transfer the data

【0013】また、第3の発明のデータ処理システム
は、実行プログラムとデータとを記憶する外部メモリ
と、前記実行プログラムを実行する半導体回路と前記半
導体回路を制御する制御装置とを有し、前記半導体回路
は、ブートプログラムを記憶するプログラム用メモリ
と、データ用メモリと、前記外部メモリから前記プログ
ラム用メモリへの前記実行プログラムの転送を制御し、
前記外部メモリと前記データ用メモリとの間のデータ転
送を制御するメモリ制御回路と、前記プログラム用メモ
リから読み出した前記ブートプログラムに基づいてブー
ト処理を行い、当該ブート処理において、前記外部メモ
リから前記プログラム用メモリに前記実行プログラムを
転送することを前記メモリ制御回路に指示し、前記プロ
グラム用メモリから読み出した前記実行プログラムに基
づいて処理を行い、当該処理の過程で、前記外部メモリ
と前記データ用メモリとの間のデータ転送を前記メモリ
制御回路に指示する制御回路とを有する。
A data processing system according to a third aspect of the present invention has an external memory for storing an execution program and data, a semiconductor circuit for executing the execution program, and a control device for controlling the semiconductor circuit. The semiconductor circuit controls a program memory that stores a boot program, a data memory, and a transfer of the execution program from the external memory to the program memory,
A memory control circuit that controls data transfer between the external memory and the data memory, and boot processing is performed based on the boot program read from the program memory. Instructing the memory control circuit to transfer the execution program to the program memory, processing is performed based on the execution program read from the program memory, and in the process of the processing, the external memory and the data And a control circuit for instructing the memory control circuit to transfer data to and from the memory.

【0014】[0014]

【発明の実施の形態】以下、本発明の実施形態に係わる
データ処理システムについて説明する。図1は、本実施
形態のデータ処理システム1の全体構成図である。図1
に示すように、データ処理システム1は、例えば、ホス
トCPU2、LSI3および外部メモリ4を有する。図
1に示すように、ホストCPU2とLSI(Large Scale
Integrated Circuit)3とは、信号線30およびデータ
バス31を介して接続されている。また、LSI3と外
部メモリ4とは、信号線32、データバス33およびア
ドレスバス34を介して接続されている。ここで、ホス
トCPU2が本発明の制御装置に対応し、LSI3が本
発明の半導体回路に対応し、外部メモリ4が本発明の外
部メモリに対応している。
DETAILED DESCRIPTION OF THE INVENTION A data processing system according to an embodiment of the present invention will be described below. FIG. 1 is an overall configuration diagram of a data processing system 1 of this embodiment. Figure 1
As shown in, the data processing system 1 has, for example, a host CPU 2, an LSI 3, and an external memory 4. As shown in FIG. 1, the host CPU 2 and the LSI (Large Scale)
The integrated circuit 3 is connected via a signal line 30 and a data bus 31. The LSI 3 and the external memory 4 are connected via a signal line 32, a data bus 33 and an address bus 34. Here, the host CPU 2 corresponds to the control device of the present invention, the LSI 3 corresponds to the semiconductor circuit of the present invention, and the external memory 4 corresponds to the external memory of the present invention.

【0015】以下、データ処理システム1の各構成要素
について説明する。 〔ホストCPU2〕ホストCPU2は、例えば、信号線
30を介して、LSI3が外部メモリ4からデータ用メ
モリ44にデータバス33を介して読み込む実行プログ
ラム10のプログラムサイズデータおよび実行開始ベク
タデータなどを示す制御信号をLSI3に出力する。
Hereinafter, each component of the data processing system 1 will be described. [Host CPU 2] The host CPU 2 indicates, for example, program size data and execution start vector data of the execution program 10 that the LSI 3 reads from the external memory 4 to the data memory 44 via the data bus 33 via the signal line 30. The control signal is output to the LSI 3.

【0016】〔LSI3〕図1に示すように、LSI3
は、DSP20およびDMA_CNT(Direct Memory A
ccess CoNTroller) 21を有する。ここで、DMA_C
NT21が本発明のメモリ制御回路に対応している。な
お、LSI3は、図1に示す機能以外に、ビデオ処理回
路やオーディオ処理回路などが内蔵されていてもよい。
[LSI3] As shown in FIG.
Is a DSP 20 and a DMA_CNT (Direct Memory A
ccess CoNTroller) 21. Where DMA_C
NT21 corresponds to the memory control circuit of the present invention. Note that the LSI 3 may have a built-in video processing circuit, audio processing circuit, or the like in addition to the functions shown in FIG.

【0017】図2に示すように、DSP20は、例え
ば、プロセッサ41、レジスタ群42、プログラム用メ
モリ43およびデータ用メモリ44を有する。ここで、
プロセッサ41が本発明の制御回路に対応し、プログラ
ム用メモリ43が本発明のプログラム用メモリに対応
し、データ用メモリ44が本発明のデータ用メモリに対
応している。
As shown in FIG. 2, the DSP 20 has, for example, a processor 41, a register group 42, a program memory 43, and a data memory 44. here,
The processor 41 corresponds to the control circuit of the present invention, the program memory 43 corresponds to the program memory of the present invention, and the data memory 44 corresponds to the data memory of the present invention.

【0018】プロセッサ41は、信号線30を介してホ
ストCPU2から入力した制御信号に基づいて動作す
る。また、プロセッサ41は、プログラム用メモリ43
に予め記憶されているプログラム用メモリ43を実行し
てブート処理を行う。また、プロセッサ41は、データ
バス33を介して外部メモリ4からデータ用メモリ44
に読み込まれた(ダウンロードされた)実行プログラム
10を実行して処理を行う。また、プロセッサ41は、
DMA_CNT21にデータ転送要求などの要求を出力
する。
The processor 41 operates based on a control signal input from the host CPU 2 via the signal line 30. Further, the processor 41 has a program memory 43.
The program memory 43 stored in advance is executed to perform boot processing. In addition, the processor 41 uses the data bus 33 to transfer data from the external memory 4 to the data memory 44.
The execution program 10 that has been read (downloaded) is executed to perform processing. In addition, the processor 41
A request such as a data transfer request is output to the DMA_CNT 21.

【0019】レジスタ群42は、ホストCPU2からの
制御信号によって示された、データバス33を介して外
部メモリ4からデータ用メモリ44に読み込む実行プロ
グラム10のプログラムサイズデータおよび実行開始ベ
クタデータなどのデータを記憶する。
The register group 42 stores data such as program size data and execution start vector data of the execution program 10 read from the external memory 4 to the data memory 44 via the data bus 33, which is indicated by a control signal from the host CPU 2. Memorize

【0020】プログラム用メモリ43は、図2に示すよ
うに、予めブートプログラム50を記憶している。ま
た、プログラム用メモリ43は、プロセッサ41がブー
トプログラム50を実行中に、図3に示すように、外部
メモリ4から転送された実行プログラム10を記憶す
る。
As shown in FIG. 2, the program memory 43 stores a boot program 50 in advance. Further, the program memory 43 stores the execution program 10 transferred from the external memory 4 as illustrated in FIG. 3 while the processor 41 is executing the boot program 50.

【0021】データ用メモリ44は、例えば、プロセッ
サ41が実行プログラム10を実行中に、外部メモリ4
から転送されたデータ11を記憶する。
The data memory 44 is, for example, the external memory 4 while the processor 41 is executing the execution program 10.
The data 11 transferred from is stored.

【0022】〔外部メモリ4〕図1に示すように、外部
メモリ4は、プログラム用記憶領域4aと、データ用記
憶領域4bとを有する。プログラム用記憶領域4aに
は、実行プログラム10が記憶されている。データ用記
憶領域4bには、データ11が記憶されている。データ
処理システム1の立ち上げ時(電源投入時)に、図示し
ないフラッシュメモリなどのメモリからプログラム用記
憶領域4aおよびデータ用記憶領域4bに、実行プログ
ラム10およびメインプロセッサ11が読み込まれる。
[External Memory 4] As shown in FIG. 1, the external memory 4 has a program storage area 4a and a data storage area 4b. The execution program 10 is stored in the program storage area 4a. The data 11 is stored in the data storage area 4b. When the data processing system 1 is started up (when the power is turned on), the execution program 10 and the main processor 11 are read from a memory such as a flash memory (not shown) into the program storage area 4a and the data storage area 4b.

【0023】以下、図1に示すデータ処理システム1の
動作例を説明する。図4および図5は、図1に示すデー
タ処理システム1の動作例を説明するための図である。 ステップST1:図1に示すホストCPU2は、信号線
30を介して、LSI3が外部メモリ4からデータ用メ
モリ44にデータバス33を介して読み込む実行プログ
ラム10のプログラムサイズデータおよび実行開始ベク
タデータなどを示す制御信号をLSI3に出力する。プ
ログラムサイズデータおよび実行開始ベクタデータは、
図2に示すレジスタ群42に記憶される。
An operation example of the data processing system 1 shown in FIG. 1 will be described below. 4 and 5 are diagrams for explaining an operation example of the data processing system 1 shown in FIG. Step ST1: The host CPU 2 shown in FIG. 1 stores the program size data and the execution start vector data of the execution program 10 which the LSI 3 reads from the external memory 4 into the data memory 44 via the data bus 33 via the signal line 30. The control signal shown is output to the LSI 3. Program size data and execution start vector data are
It is stored in the register group 42 shown in FIG.

【0024】ステップST2:図1に示すホストCPU
2は、信号線30を介して、ブート開始指示を示す制御
信号をLSI3に出力する。
Step ST2: Host CPU shown in FIG.
2 outputs a control signal indicating a boot start instruction to the LSI 3 via the signal line 30.

【0025】ステップST3:図1に示すLSI3のD
SP20は、ステップST2でブート開始指示を示す制
御信号をホストCPU2から入力すると、図2に示すプ
ロセッサ41が、プログラム用メモリ43からブートプ
ログラム50を読み出し、ブートプログラム50に基づ
いてブート処理を開始する。
Step ST3: D of the LSI 3 shown in FIG.
When the control signal indicating the boot start instruction is input from the host CPU 2 in step ST2, the SP 20 reads the boot program 50 from the program memory 43 by the processor 41 shown in FIG. 2 and starts the boot process based on the boot program 50. .

【0026】ステップST4:図2に示すプロセッサ4
1は、ステップST3で開始したブート処理において、
レジスタ群42からプログラムサイズデータおよび実行
開始ベクタデータを読み出し、当該読み出したプログラ
ムサイズデータおよび実行開始ベクタデータと共に実行
プログラムの転送要求をDMA_CNT21に出力す
る。
Step ST4: Processor 4 shown in FIG.
1 is the boot process started in step ST3,
The program size data and the execution start vector data are read from the register group 42, and a transfer request for the execution program is output to the DMA_CNT 21 together with the read program size data and the execution start vector data.

【0027】ステップST5:図1に示すDMA_CN
T21は、ステップST4で入力した転送要求に基づい
て、指定されたプログラムサイズデータおよび実行開始
ベクタデータを基に、アドレスバス34を用いて指定し
た外部メモリ4のプログラム用記憶領域4a内のアドレ
スから実行プログラム10を読み出して図2に示すプロ
セッサ41に書き込む。
Step ST5: DMA_CN shown in FIG.
From the address in the program memory area 4a of the external memory 4 designated using the address bus 34, T21 is based on the designated program size data and execution start vector data based on the transfer request input in step ST4. The execution program 10 is read and written in the processor 41 shown in FIG.

【0028】ステップST6:図2に示すプロセッサ4
1は、ステップST5でプログラム用メモリ43に書き
込んだ実行プログラム10を読み出し、プログラムカウ
ンタを実行開始ベクタデータに応じて設定し、実行プロ
グラム10に基づいた処理を開始する。
Step ST6: Processor 4 shown in FIG.
1 reads the execution program 10 written in the program memory 43 in step ST5, sets the program counter according to the execution start vector data, and starts the processing based on the execution program 10.

【0029】ステップST7:図2に示すプロセッサ4
1は、ステップST6で開始した処理の過程で、外部メ
モリ4のデータ用記憶領域4bからデータを読み出した
り、データ用記憶領域4bにデータを書き込む場合、す
なわちデータ用記憶領域4bとの間でデータ転送を行う
場合に、DMA_CNT21にデータ転送要求を出力す
る。
Step ST7: Processor 4 shown in FIG.
1 indicates a case where data is read from the data storage area 4b of the external memory 4 or written in the data storage area 4b in the process of the process started in step ST6, that is, data is exchanged with the data storage area 4b. When performing the transfer, the data transfer request is output to the DMA_CNT 21.

【0030】ステップST8:図1に示すDMA_CN
T21は、ステップST7で入力した転送要求に基づい
て、データ用メモリ44あるいはレジスタ群42に記憶
されたデータを読み出して、アドレスバス34を用いて
指定した外部メモリ4のプログラム用記憶領域4a内の
アドレスに書き込む。また、DMA_CNT21は、ス
テップST7で入力した転送要求に基づいて、アドレス
バス34を用いて指定した外部メモリ4のプログラム用
記憶領域4a内のアドレスから読み出したデータを、デ
ータ用メモリ44あるいはレジスタ群42に書き込む。
Step ST8: DMA_CN shown in FIG.
At T21, based on the transfer request input at step ST7, the data stored in the data memory 44 or the register group 42 is read out and stored in the program storage area 4a of the external memory 4 designated using the address bus 34. Write to address. Further, the DMA_CNT 21 reads the data read from the address in the program storage area 4a of the external memory 4 designated using the address bus 34 on the basis of the transfer request input in step ST7, and outputs the data memory 44 or the register group 42. Write in.

【0031】以上説明したように、データ処理システム
1によれば、図1に示すように、単体の外部メモリ4
に、実行プログラム10およびデータ11を記憶するこ
とから、外部メモリの数を従来に比べて削減できる。ま
た、データ処理システム1によれば、外部メモリの数を
削減できため、データバス、アドレスバス、制御線およ
び接続端子の数も削減できる。また、データ処理システ
ム1によれば、LSI3が、実行プログラム10および
データ11にアクセスするファームウェア(処理方法)
を統一でき、処理を簡単化できる。また、データ処理シ
ステム1によれば、図1に示すDMA_CNT21は、
外部メモリ4へのアクセスのみを制御すればよく、処理
を簡単にできる。
As described above, according to the data processing system 1, as shown in FIG.
Moreover, since the execution program 10 and the data 11 are stored, the number of external memories can be reduced as compared with the conventional one. Further, according to the data processing system 1, since the number of external memories can be reduced, the number of data buses, address buses, control lines and connection terminals can be reduced. According to the data processing system 1, the LSI 3 accesses the execution program 10 and the data 11 by firmware (processing method).
Can be unified and the processing can be simplified. Further, according to the data processing system 1, the DMA_CNT 21 shown in FIG.
Only the access to the external memory 4 needs to be controlled, and the processing can be simplified.

【0032】[0032]

【発明の効果】以上説明したように、本発明によれば、
外部メモリと制御回路との間のデータバスの幅を縮小で
き、接続端子の数を削減できるデータ処理装置、半導体
回路およびデータ処理システムを提供することができ
る。また、本発明によれば、制御回路から外部メモリへ
のアクセス手順を簡単化できるデータ処理装置、半導体
回路およびデータ処理システムを提供することができ
る。
As described above, according to the present invention,
It is possible to provide a data processing device, a semiconductor circuit, and a data processing system that can reduce the width of a data bus between an external memory and a control circuit and reduce the number of connection terminals. Further, according to the present invention, it is possible to provide a data processing device, a semiconductor circuit, and a data processing system that can simplify the procedure for accessing the external memory from the control circuit.

【図面の簡単な説明】[Brief description of drawings]

【図1】図1は、本発明の実施形態のデータ処理システ
ムの全体構成図である。
FIG. 1 is an overall configuration diagram of a data processing system according to an embodiment of the present invention.

【図2】図2は、図1に示すDSPの機能ブロック図で
ある。
FIG. 2 is a functional block diagram of the DSP shown in FIG.

【図3】図3は、外部メモリからDSPに実行プログラ
ムを転送した後における図1に示すDSPの機能ブロッ
ク図である。
FIG. 3 is a functional block diagram of the DSP shown in FIG. 1 after transferring an execution program from an external memory to the DSP.

【図4】図4は、図1に示すデータ処理システムの動作
例を説明するための図である。
FIG. 4 is a diagram for explaining an operation example of the data processing system shown in FIG. 1.

【図5】図5は、図1に示すデータ処理システムの動作
例を説明するための図である。
FIG. 5 is a diagram for explaining an operation example of the data processing system shown in FIG. 1.

【符号の説明】[Explanation of symbols]

1…データ処理システム、2…ホストCPU、3…LS
I、4…外部メモリ、4a…プログラム用記憶領域、4
b…データ用記憶領域、10…実行プログラム、11…
データ、20…DSP、21…DMA_CNT、30…
信号線、31…データバス、32…信号線、33…デー
タバス、34…アドレスバス、41…プロセッサ、42
…レジスタ群、43…プログラム用メモリ、44…デー
タ用メモリ、50…ブートプログラム
1 ... Data processing system, 2 ... Host CPU, 3 ... LS
I, 4 ... External memory, 4a ... Program storage area, 4
b ... data storage area, 10 ... execution program, 11 ...
Data, 20 ... DSP, 21 ... DMA_CNT, 30 ...
Signal line, 31 ... Data bus, 32 ... Signal line, 33 ... Data bus, 34 ... Address bus, 41 ... Processor, 42
... register group, 43 ... program memory, 44 ... data memory, 50 ... boot program

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】実行プログラムとデータとを記憶する外部
メモリと、 前記実行プログラムを実行する半導体回路と を有し、 前記半導体回路は、 ブートプログラムを記憶するプログラム用メモリと、 データ用メモリと、 前記外部メモリから前記プログラム用メモリへの前記実
行プログラムの転送を制御し、前記外部メモリと前記デ
ータ用メモリとの間のデータ転送を制御するメモリ制御
回路と、 前記プログラム用メモリから読み出した前記ブートプロ
グラムに基づいてブート処理を行い、当該ブート処理に
おいて、前記外部メモリから前記プログラム用メモリに
前記実行プログラムを転送することを前記メモリ制御回
路に指示し、前記プログラム用メモリから読み出した前
記実行プログラムに基づいて処理を行い、当該処理の過
程で、前記外部メモリと前記データ用メモリとの間のデ
ータ転送を前記メモリ制御回路に指示する制御回路とを
有するデータ処理装置。
1. An external memory that stores an execution program and data; and a semiconductor circuit that executes the execution program, wherein the semiconductor circuit includes a program memory that stores a boot program, a data memory, and A memory control circuit that controls the transfer of the execution program from the external memory to the program memory, and controls the data transfer between the external memory and the data memory; and the boot read from the program memory. A boot process is performed based on a program, and in the boot process, the memory control circuit is instructed to transfer the execution program from the external memory to the program memory, and the execution program read from the program memory is executed. Process based on the The data processing device and a control circuit for instructing data transfer between the memory and the data memory to the memory control circuit.
【請求項2】前記制御回路は、前記外部メモリから前記
プログラム用メモリに転送する前記実行プログラムのサ
イズを示すプログラムサイズデータを、前記データ処理
装置の外部の制御装置から受け、当該プログラムサイズ
データをレジスタに記憶し、 前記メモリ制御回路は、前記レジスタに記憶されたプロ
グラムサイズデータを基に、前記外部メモリから前記プ
ログラム用メモリに前記実行プログラムを転送する請求
項1に記載のデータ処理装置。
2. The control circuit receives program size data indicating a size of the execution program transferred from the external memory to the program memory from a control device external to the data processing device, and receives the program size data. The data processing device according to claim 1, wherein the data is stored in a register, and the memory control circuit transfers the execution program from the external memory to the program memory based on the program size data stored in the register.
【請求項3】前記制御回路は、前記ブートプログラムを
実行中に、前記外部メモリから前記プログラム用メモリ
に前記実行プログラムを転送することを前記メモリ制御
回路に指示する請求項1に記載のデータ処理装置。
3. The data processing according to claim 1, wherein the control circuit instructs the memory control circuit to transfer the execution program from the external memory to the program memory during execution of the boot program. apparatus.
【請求項4】前記制御回路は、前記データ処理装置の外
部の制御装置から、前記外部メモリから前記プログラム
用メモリに転送された前記実行プログラムの実行開始ベ
クタアドレスを受け、当該実行開始ベクタアドレスをレ
ジスタに記憶し、 前記メモリ制御回路は、前記レジスタに記憶された実行
開始ベクタアドレスを基に、前記外部メモリから前記プ
ログラム用メモリに前記実行プログラムを転送する請求
項1に記載のデータ処理装置。
4. The control circuit receives an execution start vector address of the execution program transferred from the external memory to the program memory from a control device external to the data processing device, and outputs the execution start vector address. The data processing device according to claim 1, wherein the data is stored in a register, and the memory control circuit transfers the execution program from the external memory to the program memory based on an execution start vector address stored in the register.
【請求項5】前記制御回路は、前記レジスタに記憶され
た実行開始ベクタアドレスに、プログラムカウンタを設
定して前記実行プログラムを実行する請求項4に記載の
データ処理装置。
5. The data processing device according to claim 4, wherein the control circuit sets a program counter at an execution start vector address stored in the register to execute the execution program.
【請求項6】前記制御回路は、前記実行プログラムを実
行中に、前記メモリ制御回路にデータ転送要求を出力
し、 前記メモリ制御回路は、前記データ転送要求に基づい
て、前記外部メモリと前記データ用メモリとの間でデー
タ転送を行う請求項1に記載のデータ処理装置。
6. The control circuit outputs a data transfer request to the memory control circuit during execution of the execution program, and the memory control circuit outputs the data to the external memory and the data based on the data transfer request. The data processing device according to claim 1, wherein data is transferred to and from the memory for use.
【請求項7】ブートプログラムを記憶するプログラム用
メモリと、 データ用メモリと、 外部メモリから前記プログラム用メモリへの実行プログ
ラムの転送を制御し、前記外部メモリと前記データ用メ
モリとの間のデータ転送を制御するメモリ制御回路と、 前記プログラム用メモリから読み出した前記ブートプロ
グラムに基づいてブート処理を行い、当該ブート処理に
おいて、前記外部メモリから前記プログラム用メモリに
前記実行プログラムを転送することを前記メモリ制御回
路に指示し、前記プログラム用メモリから読み出した前
記実行プログラムに基づいて処理を行い、当該処理の過
程で、前記外部メモリと前記データ用メモリとの間のデ
ータ転送を前記メモリ制御回路に指示する制御回路とを
有する半導体回路。
7. A program memory for storing a boot program, a data memory, a transfer of an execution program from an external memory to the program memory, and data between the external memory and the data memory. A memory control circuit that controls transfer; and a boot process based on the boot program read from the program memory, wherein in the boot process, the execution program is transferred from the external memory to the program memory. Instructing the memory control circuit to perform processing based on the execution program read from the program memory, and in the process of the processing, transfer data between the external memory and the data memory to the memory control circuit. A semiconductor circuit having a control circuit for instructing.
【請求項8】前記制御回路は、前記外部メモリから前記
プログラム用メモリに転送する前記実行プログラムのサ
イズを示すプログラムサイズデータを、前記データ処理
装置の外部の制御装置から受け、当該プログラムサイズ
データをレジスタに記憶し、 前記メモリ制御回路は、前記レジスタに記憶されたプロ
グラムサイズデータを基に、前記外部メモリから前記プ
ログラム用メモリに前記実行プログラムを転送する請求
項7に記載の半導体回路。
8. The control circuit receives program size data indicating a size of the execution program transferred from the external memory to the program memory from a control device external to the data processing device, and receives the program size data. The semiconductor circuit according to claim 7, wherein the memory control circuit stores the execution program in the register, and the memory control circuit transfers the execution program from the external memory to the program memory based on the program size data stored in the register.
【請求項9】前記制御回路は、前記ブートプログラムを
実行中に、前記外部メモリから前記プログラム用メモリ
に前記実行プログラムを転送することを前記メモリ制御
回路に指示する請求項7に記載の半導体回路。
9. The semiconductor circuit according to claim 7, wherein the control circuit instructs the memory control circuit to transfer the execution program from the external memory to the program memory during execution of the boot program. .
【請求項10】前記制御回路は、前記データ処理装置の
外部の制御装置から、前記外部メモリから前記プログラ
ム用メモリに転送された前記実行プログラムの実行開始
ベクタアドレスを受け、当該実行開始ベクタアドレスを
レジスタに記憶し、 前記メモリ制御回路は、前記レジスタに記憶された実行
開始ベクタアドレスを基に、前記外部メモリから前記プ
ログラム用メモリに前記実行プログラムを転送する請求
項7に記載の半導体回路。
10. The control circuit receives an execution start vector address of the execution program transferred from the external memory to the program memory from a control device external to the data processing device, and receives the execution start vector address. The semiconductor circuit according to claim 7, wherein the semiconductor control circuit stores the execution program in a register, and the memory control circuit transfers the execution program from the external memory to the program memory based on an execution start vector address stored in the register.
【請求項11】前記制御回路は、前記レジスタに記憶さ
れた実行開始ベクタアドレスに、プログラムカウンタを
設定して前記実行プログラムを実行する請求項10に記
載の半導体回路。
11. The semiconductor circuit according to claim 10, wherein the control circuit sets a program counter at an execution start vector address stored in the register to execute the execution program.
【請求項12】前記制御回路は、前記実行プログラムを
実行中に、前記メモリ制御回路にデータ転送要求を出力
し、 前記メモリ制御回路は、前記データ転送要求に基づい
て、前記外部メモリと前記データ用メモリとの間でデー
タ転送を行う請求項7に記載の半導体回路。
12. The control circuit outputs a data transfer request to the memory control circuit during execution of the execution program, and the memory control circuit outputs the data to the external memory and the data based on the data transfer request. 8. The semiconductor circuit according to claim 7, which performs data transfer with a memory for use.
【請求項13】実行プログラムとデータとを記憶する外
部メモリと、 前記実行プログラムを実行する半導体回路と、 前記半導体回路を制御する制御装置とを有し、 前記半導体回路は、 ブートプログラムを記憶するプログラム用メモリと、 データ用メモリと、 前記外部メモリから前記プログラム用メモリへの前記実
行プログラムの転送を制御し、前記外部メモリと前記デ
ータ用メモリとの間のデータ転送を制御するメモリ制御
回路と、 前記プログラム用メモリから読み出した前記ブートプロ
グラムに基づいてブート処理を行い、当該ブート処理に
おいて、前記外部メモリから前記プログラム用メモリに
前記実行プログラムを転送することを前記メモリ制御回
路に指示し、前記プログラム用メモリから読み出した前
記実行プログラムに基づいて処理を行い、当該処理の過
程で、前記外部メモリと前記データ用メモリとの間のデ
ータ転送を前記メモリ制御回路に指示する制御回路とを
有するデータ処理システム。
13. An external memory for storing an execution program and data, a semiconductor circuit for executing the execution program, and a controller for controlling the semiconductor circuit, wherein the semiconductor circuit stores a boot program. A program memory, a data memory, and a memory control circuit that controls transfer of the execution program from the external memory to the program memory and controls data transfer between the external memory and the data memory. Instructing the memory control circuit to perform a boot process based on the boot program read from the program memory, and transferring the execution program from the external memory to the program memory in the boot process, Based on the execution program read from the program memory And a control circuit for instructing the memory control circuit to transfer data between the external memory and the data memory in the course of the processing.
【請求項14】前記制御装置は、前記外部メモリから前
記プログラム用メモリに転送する前記実行プログラムの
サイズを示すプログラムサイズデータを前記半導体回路
に出力し、 前記制御回路は、前記プログラムサイズデータをレジス
タに記憶し、 前記メモリ制御回路は、前記レジスタに記憶されたプロ
グラムサイズデータを基に、前記外部メモリから前記プ
ログラム用メモリに前記実行プログラムを転送する請求
項13に記載のデータ処理システム。
14. The control device outputs program size data indicating the size of the execution program transferred from the external memory to the program memory to the semiconductor circuit, and the control circuit registers the program size data in a register. 14. The data processing system according to claim 13, wherein the memory control circuit transfers the execution program from the external memory to the program memory based on the program size data stored in the register.
JP2001267603A 2001-09-04 2001-09-04 Data processor, semiconductor circuit and data processing system Pending JP2003076550A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001267603A JP2003076550A (en) 2001-09-04 2001-09-04 Data processor, semiconductor circuit and data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001267603A JP2003076550A (en) 2001-09-04 2001-09-04 Data processor, semiconductor circuit and data processing system

Publications (1)

Publication Number Publication Date
JP2003076550A true JP2003076550A (en) 2003-03-14

Family

ID=19093710

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001267603A Pending JP2003076550A (en) 2001-09-04 2001-09-04 Data processor, semiconductor circuit and data processing system

Country Status (1)

Country Link
JP (1) JP2003076550A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011013775A (en) * 2009-06-30 2011-01-20 Canon Inc Information-processing device, method for controlling information-processing device, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011013775A (en) * 2009-06-30 2011-01-20 Canon Inc Information-processing device, method for controlling information-processing device, and program

Similar Documents

Publication Publication Date Title
JP4822465B2 (en) Data processing system
JP2007206885A (en) Computer system and system starting method
JP2822782B2 (en) Single chip microcomputer
JPH04363746A (en) Microcomputer system having dma function
JP2000010913A (en) Information processing device and method and distribution medium
JP3514651B2 (en) Reboot control device
US20030181994A1 (en) Microprocessor performing efficient external bus access
JPS61296407A (en) Multiprocessor type numerical controller
JP3694005B2 (en) Digital signal processing apparatus and digital signal processing method
JP2003076550A (en) Data processor, semiconductor circuit and data processing system
JP2568017B2 (en) Microprocessor and data processing system using the same
JPH10111806A (en) Program staritng system
JP2001297006A (en) Semiconductor integrated circuit device and information processing system
JP3168845B2 (en) Digital signal processor
JP5002238B2 (en) Digital signal processor system and starting method of digital signal processor
JP3139310B2 (en) Digital signal processor
JP2000357152A (en) Dma controller and its control method
JPH1139278A (en) Processor and memory access method
JP2513037B2 (en) Micro computer
JPS63298657A (en) Ipl system
JP2001159905A (en) Programmable controller
JP2002182901A (en) Coprocessor data access controller, its method and its instruction format
JP2003067190A (en) Program transfer control device
JPS6148746B2 (en)
JP2003196253A (en) Single chip microcomputer