JP2007148750A - Computer device - Google Patents

Computer device Download PDF

Info

Publication number
JP2007148750A
JP2007148750A JP2005341890A JP2005341890A JP2007148750A JP 2007148750 A JP2007148750 A JP 2007148750A JP 2005341890 A JP2005341890 A JP 2005341890A JP 2005341890 A JP2005341890 A JP 2005341890A JP 2007148750 A JP2007148750 A JP 2007148750A
Authority
JP
Japan
Prior art keywords
memory
interface
boot
bus
ddma
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.)
Granted
Application number
JP2005341890A
Other languages
Japanese (ja)
Other versions
JP5034007B2 (en
Inventor
Atsushi Kobayashi
篤史 小林
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.)
MegaChips Corp
Original Assignee
MegaChips LSI Solutions Inc
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 MegaChips LSI Solutions Inc filed Critical MegaChips LSI Solutions Inc
Priority to JP2005341890A priority Critical patent/JP5034007B2/en
Publication of JP2007148750A publication Critical patent/JP2007148750A/en
Application granted granted Critical
Publication of JP5034007B2 publication Critical patent/JP5034007B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To simplify a structure of a boot sequencer controlling a boot process in a computer system capable of self-booting through a nonvolatile memory such as a NAND type flash memory. <P>SOLUTION: A DDMA bus 32 which is used for DMA transfer between the DDMA bus and an externally-built SDRAM 43 is arranged in a system LSI 10 separately from a host bus 31. A NAND type flash memory 41 is connected with the DDMA bus 32 via a DDMA interface 132 and selector 22, and a dual port RAM 42 is also connected with the DDMA bus 32 via a DDMA interface 143 and selector 23. Access points of the DDMA interfaces 132 and 143 are switched to a data transfer path 33 in the system LSI 10 prior to booting, and a boot program is transmitted from the NAND type flash memory 41 to the dual port RAM 42. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、不揮発性メモリからのセルフブートが可能なコンピュータ装置に関する。   The present invention relates to a computer device capable of self-booting from a nonvolatile memory.

従来より、NAND型フラッシュメモリからのセルフブートが可能なコンピュータ装置は、NAND型フラッシュメモリからランダムアクセスメモリへブートプログラムを転送し、ランダムアクセスメモリに格納されたブートプログラムをCPUが読み出して実行するように構成されている。   Conventionally, a computer device capable of self-booting from a NAND flash memory transfers a boot program from the NAND flash memory to the random access memory, and the CPU reads and executes the boot program stored in the random access memory. It is configured.

しかし、従来技術では、ブートプログラムの転送にあたって、ブートプロセスを制御するブートシーケンサがデータ転送を扱う必要があり、ブートシーケンサの構成が複雑になってしまうという問題があった。   However, in the prior art, when transferring the boot program, there is a problem that the boot sequencer that controls the boot process needs to handle data transfer, and the configuration of the boot sequencer becomes complicated.

本発明は、この問題を解決するためになされたもので、NAND型フラッシュメモリ等の不揮発性メモリからのセルフブートが可能なコンピュータ装置において、ブートプロセスを制御するブートシーケンサの構成を簡略化することを目的とする。   The present invention has been made to solve this problem, and in a computer device capable of self-booting from a non-volatile memory such as a NAND flash memory, the configuration of a boot sequencer for controlling the boot process is simplified. With the goal.

上記課題を解決するため、請求項1の発明は、コンピュータ装置であって、CPUと、前記CPUのブートに用いられるブートプログラムが格納された第1メモリを、第3メモリとの間のDMA転送に用いられるバスに接続可能な第1インターフェースと、前記CPUが前記ブートプログラムを読み出す場合の読み出し先となる第2メモリを、前記バスに接続可能な第2インターフェースと、前記バスとは別に設けられた、前記第1インターフェースと前記第2インターフェースとの間をデータ転送可能に結合するデータ転送路と、前記第1インターフェース及び前記第2インターフェースの接続先を前記バスと前記データ転送路との間で切り替える第1セレクタと、前記ブートに先立って、前記第1インターフェース及び前記第2インターフェースが前記データ転送路に接続された状態で、前記第1メモリから前記第2メモリへブートプログラムを転送するトリガを与えるブートシーケンサとを備える。   In order to solve the above-mentioned problems, the invention of claim 1 is a computer apparatus, wherein a DMA transfer between a CPU and a first memory storing a boot program used for booting the CPU is transferred to a third memory. A first interface connectable to the bus used for the above and a second memory as a read destination when the CPU reads the boot program are provided separately from the second interface connectable to the bus and the bus. Further, a data transfer path that couples the first interface and the second interface so that data transfer is possible, and a connection destination of the first interface and the second interface is between the bus and the data transfer path. A first selector for switching, and prior to the boot, the first interface and the second interface; In a state where Esu is connected to the data transfer path, and a boot sequencer to trigger forwarding the first boot program from the memory to the second memory.

請求項2の発明は、請求項1に記載のコンピュータ装置において、前記ブートプログラムの前記第1メモリから前記第2メモリへの転送にあたって、前記第1インターフェースは、データを前記第1メモリからシーケンシャルに読み出して順次出力し、前記第2インターフェースは、順次入力されたデータを前記第2メモリへシーケンシャルに書き込む。   According to a second aspect of the present invention, in the computer device according to the first aspect, when the boot program is transferred from the first memory to the second memory, the first interface sequentially transfers data from the first memory. The data is read and sequentially output, and the second interface sequentially writes the sequentially input data to the second memory.

請求項3の発明は、請求項1又は請求項2に記載のコンピュータ装置において、前記第1インターフェース及び前記第2インターフェースの制御主体を前記CPUと前記ブートシーケンサとの間で切り替える第2セレクタをさらに備え、前記制御主体を前記ブートシーケンサとした状態で前記ブートプログラムの前記第1メモリから前記第2メモリへの転送を行い、前記転送が終了した後に、前記制御主体を前記CPUへ切り替える。   A third aspect of the present invention is the computer apparatus according to the first or second aspect, further comprising a second selector that switches a control subject of the first interface and the second interface between the CPU and the boot sequencer. The boot program is transferred from the first memory to the second memory in a state where the control subject is the boot sequencer, and after the transfer is completed, the control subject is switched to the CPU.

請求項4の発明は、請求項1ないし請求項3のいずれかに記載のコンピュータ装置において、前記第1メモリは、不揮発性のメモリであり、前記第2メモリは、1バイト単位でランダムにアクセス可能なランダムアクセスメモリであることを特徴とするコンピュータ装置。   According to a fourth aspect of the present invention, in the computer apparatus according to any one of the first to third aspects, the first memory is a non-volatile memory, and the second memory is randomly accessed in units of 1 byte. A computer device characterized by being a random access memory.

請求項1ないし請求項4の発明によれば、第1メモリから第2メモリへのブートプログラムの転送にあたって、ブートシーケンサがブートプログラムの第1メモリから第2メモリへの転送を扱う必要がないので、ブートシーケンサの構成を簡略化することができる。   According to the first to fourth aspects of the invention, when transferring the boot program from the first memory to the second memory, the boot sequencer does not need to handle the transfer of the boot program from the first memory to the second memory. The configuration of the boot sequencer can be simplified.

請求項2の発明によれば、ブートプログラムの第1メモリから第2メモリへの転送にあたって、アドレスの制御を行う必要がないので、ブートプログラムの第1メモリから第2メモリへの転送を容易に行うことができる。   According to the invention of claim 2, since it is not necessary to control the address when transferring the boot program from the first memory to the second memory, the transfer of the boot program from the first memory to the second memory is facilitated. It can be carried out.

<1 構成>
図1は、本発明の望ましい実施形態に係るシステムLSI(Large Scale Integration)10を含むコンピュータ1の構成を示すブロック図である。システムLSI10は、移動体通信端末のベースバンドLSIと接続され、画像処理、音声処理及び通信処理等を実行するアプリケーションコンピュータの主要部として機能している。
<1 configuration>
FIG. 1 is a block diagram showing a configuration of a computer 1 including a system LSI (Large Scale Integration) 10 according to a preferred embodiment of the present invention. The system LSI 10 is connected to a baseband LSI of a mobile communication terminal and functions as a main part of an application computer that executes image processing, audio processing, communication processing, and the like.

図1に示すように、システムLSI10は、メモリからフェッチした命令をデコードして実行するCPU11と、ブートプロセスを制御するブートシーケンサ12と、外付のNAND型フラッシュメモリ41へのアクセスを制御するペリフェラルであるNANDフラッシュインターフェース13と、2キロバイトの記憶容量を有する内蔵のデュアルポートRAM(Random Access Memory)42へのアクセスを制御するペリフェラルであるホストインターフェース14とを備える。   As shown in FIG. 1, the system LSI 10 includes a CPU 11 that decodes and executes an instruction fetched from a memory, a boot sequencer 12 that controls a boot process, and a peripheral that controls access to an external NAND flash memory 41. And a host interface 14 which is a peripheral for controlling access to a built-in dual port RAM (Random Access Memory) 42 having a storage capacity of 2 kilobytes.

システムLSI10では、CPU11が、システムバス15、バスコントローラ16及びセレクタ21を介してホストバス31に接続され、ブートシーケンサ12が、セレクタ21を介してホストバス31に接続されている。セレクタ21は、ホストバス31に接続されたペリフェラルの制御主体を、CPU11とブートシーケンサ12との間で切り替える。さらに、システムLSI10では、NAND型フラッシュメモリ41が、NANDフラッシュインターフェース13を介してホストバス31に接続され、デュアルポートRAM42が、ホストインターフェース14を介してホストバス31に接続されている。NANDフラッシュインターフェース13及びホストインターフェース14の動作は、それぞれ、ペリフェラルコントロールレジスタ(以下「レジスタ」)131及び141に書き込まれたレジスタ値によって設定される。   In the system LSI 10, the CPU 11 is connected to the host bus 31 via the system bus 15, the bus controller 16 and the selector 21, and the boot sequencer 12 is connected to the host bus 31 via the selector 21. The selector 21 switches the control subject of the peripheral connected to the host bus 31 between the CPU 11 and the boot sequencer 12. Further, in the system LSI 10, the NAND flash memory 41 is connected to the host bus 31 via the NAND flash interface 13, and the dual port RAM 42 is connected to the host bus 31 via the host interface 14. The operations of the NAND flash interface 13 and the host interface 14 are set by register values written in peripheral control registers (hereinafter referred to as “registers”) 131 and 141, respectively.

これらの構成により、CPU11は、ホストインターフェース14を介してデュアルポートRAM42へのデータの書き込み及びデュアルポートRAM42からのデータの読み出しを行うことができるとともに、ホストインターフェース14のレジスタ141に書き込みを行うことができる。同様に、CPU11は、NANDフラッシュインターフェース13を介してNAND型フラッシュメモリ41へのデータの書き込み及びNAND型フラッシュメモリ41からのデータの読み出しを行うことができるとともに、NANDフラッシュインターフェース13のレジスタ131に書き込みを行うことができる。   With these configurations, the CPU 11 can write data to the dual port RAM 42 and read data from the dual port RAM 42 via the host interface 14, and can write to the register 141 of the host interface 14. it can. Similarly, the CPU 11 can write data to the NAND flash memory 41 and read data from the NAND flash memory 41 via the NAND flash interface 13 and write to the register 131 of the NAND flash interface 13. It can be performed.

また、これらの構成により、ワイヤードROM(Read Only Memory)をベースとした小規模のプロセッサであるブートシーケンサ12は、NANDフラッシュインターフェース13のレジスタ131及びホストインターフェース14のレジスタ141に書き込みを行うことができる。   Also, with these configurations, the boot sequencer 12, which is a small-scale processor based on a wired ROM (Read Only Memory), can write to the register 131 of the NAND flash interface 13 and the register 141 of the host interface 14. .

さらに、システムLSI10には、ホストバス31とは別に、外付のSDRAM(Synchronous Dynamic Random Access Memory)43との間のDMA(Direct Memory Access)転送に用いられるバス(以下「DDMAバス」)32が設けられている。SDRAM43は、SDRAM43へのアクセスを制御するSDRAMインターフェース17を介してDDMAバス32に接続されている。   In addition to the host bus 31, the system LSI 10 includes a bus (hereinafter referred to as “DDMA bus”) 32 used for DMA (Direct Memory Access) transfer with an external SDRAM (Synchronous Dynamic Random Access Memory) 43. Is provided. The SDRAM 43 is connected to the DDMA bus 32 via the SDRAM interface 17 that controls access to the SDRAM 43.

NANDフラッシュインターフェース13は、NAND型フラッシュメモリ41をDDMAバス32に接続可能なDDMAインターフェース132を備えており、ホストインターフェース114は、デュアルポートRAM42をDDMAバス32に接続可能なDDMAインターフェース143を備えている。NAND型フラッシュメモリ41は、DDMAインターフェース132及びセレクタ22を介してDDMAバス32に接続され、デュアルポートRAM42は、DDMAインターフェース143及びセレクタ23を介してDDMAバス32に接続されている。   The NAND flash interface 13 includes a DDMA interface 132 that can connect the NAND flash memory 41 to the DDMA bus 32, and the host interface 114 includes a DDMA interface 143 that can connect the dual port RAM 42 to the DDMA bus 32. . The NAND flash memory 41 is connected to the DDMA bus 32 via the DDMA interface 132 and the selector 22, and the dual port RAM 42 is connected to the DDMA bus 32 via the DDMA interface 143 and the selector 23.

システムLSI10には、DDMAバス32とは別に、DDMAインターフェース132とDDMAインターフェース143との間をデータ転送可能に結合するショートカットパスとなるデータ転送路33が設けられている。セレクタ22及び23は、それぞれ、DDMAインターフェース132及び143の接続先を、DDMAバス32とデータ転送路33との間で切り替える。   In addition to the DDMA bus 32, the system LSI 10 is provided with a data transfer path 33 serving as a shortcut path that couples the DDMA interface 132 and the DDMA interface 143 so that data can be transferred. The selectors 22 and 23 switch the connection destinations of the DDMA interfaces 132 and 143 between the DDMA bus 32 and the data transfer path 33, respectively.

これらの構成により、DDMAインターフェース132及び143がDDMAバス32に接続されているときは、NAND型フラッシュメモリ41とSDRAM43との間又はデュアルポートRAM42とSDRAM43との間で双方向にデータ転送が可能となる。このデータ転送は、CPU11を介することなく行われるので、CPU11に負荷をかけることなく高速に行うことができる。ただし、DDMAインターフェース132及び143がDDMAバス32に接続されているときは、NAND型フラッシュメモリ41からデュアルポートRAM42へのデータ転送を行うことはできない。一方、DDMAインターフェース132及び143がデータ転送路33に接続されているときは、NAND型フラッシュメモリ41からデュアルポートRAM42へのデータ転送が可能となる。   With these configurations, when the DDMA interfaces 132 and 143 are connected to the DDMA bus 32, bidirectional data transfer is possible between the NAND flash memory 41 and the SDRAM 43 or between the dual port RAM 42 and the SDRAM 43. Become. Since this data transfer is performed without going through the CPU 11, it can be performed at high speed without imposing a load on the CPU 11. However, when the DDMA interfaces 132 and 143 are connected to the DDMA bus 32, data transfer from the NAND flash memory 41 to the dual port RAM 42 cannot be performed. On the other hand, when the DDMA interfaces 132 and 143 are connected to the data transfer path 33, data transfer from the NAND flash memory 41 to the dual port RAM 42 becomes possible.

デュアルポートRAM42は、1バイト単位でランダムにアクセス可能なランダムアクセスメモリである。したがって、デュアルポートRAM42を0番地に配置しておけば、CPU11がブートプログラムを読み出しする場合の読み出し先としてデュアルポートRAM11を利用することができる。しかし、デュアルポートRAM42は、揮発性メモリであるとともに、ホストであるベースバンドLSIとの間のデータ受け渡しにも用いられるから、ブートプログラムを持続的に格納しておくことができない。そこで、システムLSI10では、不揮発性メモリであるNAND型フラッシュメモリ41にブートプログラムを格納しておき、ブートに先立って、NAND型フラッシュメモリ41からデュアルポートRAM42へブートプログラムを転送し、CPU11がデュアルポートRAM42からブートプログラムの命令をフェッチすることができるようにしている。ここで、NAND型フラッシュメモリ41に格納されたブートプログラムは書き換え可能であるから、システムLSI10では、ブート時の動作を変更することが容易である。もちろん、不揮発性メモリとして、NAND型フラッシュメモリ41の代わりに、NOR型フラッシュメモリやAND型フラッシュメモリを採用することも妨げられない。   The dual port RAM 42 is a random access memory that can be randomly accessed in units of 1 byte. Therefore, if the dual port RAM 42 is arranged at address 0, the dual port RAM 11 can be used as a read destination when the CPU 11 reads the boot program. However, since the dual port RAM 42 is a volatile memory and is also used for data exchange with the baseband LSI as a host, it cannot store a boot program continuously. Therefore, in the system LSI 10, the boot program is stored in the NAND flash memory 41, which is a non-volatile memory, and the boot program is transferred from the NAND flash memory 41 to the dual port RAM 42 prior to booting. A boot program instruction can be fetched from the RAM 42. Here, since the boot program stored in the NAND flash memory 41 can be rewritten, the system LSI 10 can easily change the operation at the time of booting. Of course, the use of a NOR flash memory or an AND flash memory as a nonvolatile memory instead of the NAND flash memory 41 is not prevented.

NAND型フラッシュメモリ41からデュアルポートRAM42へのブートプログラムの転送は、DDMAインターフェース132及び143がデータ転送路33に接続された状態で、(1)NANDフラッシュインターフェース13が、NAND型フラッシュメモリ41のブートプログラムが格納されている空間(デュアルポートRAM42の記憶容量と同じ2キロバイトの空間)からデータをシーケンシャルに読み出して順次出力し、(2)ホストインターフェース14が、順次入力されたデータをデュアルポートRAM42へシーケンシャルに書き込むことによって行われる。このようなブートプログラムの転送は、すでにあるDMA転送の仕組みの一部を利用しているので、システムLSI10に大規模な回路を追加することなく実現可能である。さらに、このようなブートプログラムの転送は、アドレスの制御を行うことなく自律的に実行されるので、ブートシーケンサ12を簡略化するのに寄与している。すなわち、ブートシーケンサ12は、ブートプログラムの転送にあたって、レジスタ131及び141に所定のレジスタ値を書き込み、ソースアドレス、デスティネーションアドレス及び転送データ長等の転送対象のデータの情報を指定するだけであり、NAND型フラッシュメモリ41からのデータの読み出し及びデュアルポートRAM42へのデータの書き込みを実際に扱う必要はない。   The boot program is transferred from the NAND flash memory 41 to the dual port RAM 42 in a state where the DDMA interfaces 132 and 143 are connected to the data transfer path 33, and (1) the NAND flash interface 13 boots the NAND flash memory 41. Data is sequentially read out from the space in which the program is stored (the space of 2 kilobytes that is the same as the storage capacity of the dual port RAM 42) and sequentially output. (2) The host interface 14 transfers the sequentially input data to the dual port RAM 42. This is done by writing sequentially. Such a transfer of the boot program can be realized without adding a large-scale circuit to the system LSI 10 because a part of the existing DMA transfer mechanism is used. Further, such a transfer of the boot program is autonomously executed without controlling the address, which contributes to simplifying the boot sequencer 12. That is, when transferring the boot program, the boot sequencer 12 simply writes predetermined register values in the registers 131 and 141 and designates information of data to be transferred such as a source address, a destination address, and a transfer data length, There is no need to actually handle reading data from the NAND flash memory 41 and writing data to the dual port RAM 42.

<2 動作>
図2は、システムLSI10におけるブート手順を示すフローチャートである。
<2 operation>
FIG. 2 is a flowchart showing a boot procedure in the system LSI 10.

図2を参照して、システムLSI10のリセットが解除されると、最初に、ブートシーケンサ12が起動される(ステップS101)。ブートシーケンサ12の起動時には、CPU11は、リセットされたままになっている。また、ブートシーケンサ12の起動時には、バスの設定は、ブートプログラム転送用の設定となっている。すなわち、セレクタ21により、NANDフラッシュインターフェース13及びホストインターフェース14の制御主体はブートシーケンサ12となっており、セレクタ22及び23により、DDMAインターフェース132及び143の接続先がデータ転送路33となり、DDMAインターフェース132及び143がデータ転送路33で直結された状態となっている。   Referring to FIG. 2, when the reset of system LSI 10 is released, first, boot sequencer 12 is activated (step S101). When the boot sequencer 12 is activated, the CPU 11 remains reset. When the boot sequencer 12 is started, the bus setting is a setting for transferring the boot program. That is, the selector 21 controls the NAND flash interface 13 and the host interface 14 as the boot sequencer 12, and the selectors 22 and 23 connect the DDMA interfaces 132 and 143 to the data transfer path 33, and the DDMA interface 132. And 143 are directly connected by the data transfer path 33.

続いて、ブートシーケンサ12が、レジスタ131及び141の設定すなわちレジスタ131及び141への所定のレジスタ値の書き込みを行うことによって、ブートプログラムの転送のトリガをNANDフラッシュインターフェース13及びホストインターフェース14に与える。(ステップS102)。   Subsequently, the boot sequencer 12 sets the registers 131 and 141, that is, writes predetermined register values to the registers 131 and 141, thereby giving a boot program transfer trigger to the NAND flash interface 13 and the host interface 14. (Step S102).

システムLSI10では、ステップS102におけるレジスタ131及び141の設定に応答して、NAND型フラッシュメモリ41からデュアルポートRAM42へのブートプログラムの転送が行われる(ステップS103)。ブートプログラムの転送においては、DDMAインターフェース132、データ転送路及33及びDDMAインターフェース143を用いて自律的にデータ転送が行われるので、ブートシーケンサ12は、NANDフラッシュインターフェース13からのステータス信号を参照しつつ転送のタイミングを制御するだけでよい。   In the system LSI 10, in response to the setting of the registers 131 and 141 in step S102, the boot program is transferred from the NAND flash memory 41 to the dual port RAM 42 (step S103). In the transfer of the boot program, data transfer is autonomously performed using the DDMA interface 132, the data transfer path 33, and the DDMA interface 143. Therefore, the boot sequencer 12 refers to the status signal from the NAND flash interface 13. It is only necessary to control the transfer timing.

ブートプログラムの転送が終了すると、ブートシーケンサ12は、DONE信号によってブートプログラムの転送の終了を通知する(ステップS104)。   When the transfer of the boot program is completed, the boot sequencer 12 notifies the end of the transfer of the boot program by a DONE signal (Step S104).

DONE信号に応答して、システムLSI10では、バス設定が通常動作用の設定に変更される(ステップS105)。すなわち、セレクタ21により、NANDフラッシュインターフェース13及びホストバスインターフェース14の制御主体がCPU11に切り替えられるとともに、DDMAインターフェース132及び143の接続先がDDMAバス32に切り替えられる。   In response to the DONE signal, the system LSI 10 changes the bus setting to a setting for normal operation (step S105). That is, the selector 21 switches the control subject of the NAND flash interface 13 and the host bus interface 14 to the CPU 11 and switches the connection destinations of the DDMA interfaces 132 and 143 to the DDMA bus 32.

さらに、DONE信号に応答して、システムLSI10では、CPU11のリセットが解除される(ステップS106)。なお、CPU11のリセットが解除されたときには、NAND型フラッシュメモリ41からデュアルポートRAM42へのブートプログラムの転送は完了しているので、CPU11は、リセットが解除された直後から、デュアルポートRAM42に格納されたブートプログラムの命令をフェッチして実行することができる(ステップS107)。   Further, in response to the DONE signal, the system LSI 10 releases the reset of the CPU 11 (step S106). When the reset of the CPU 11 is released, the transfer of the boot program from the NAND flash memory 41 to the dual port RAM 42 is completed, so that the CPU 11 is stored in the dual port RAM 42 immediately after the reset is released. The boot program command can be fetched and executed (step S107).

このようなステップS101〜S107により、システムLSI10では、NAND型フラッシュメモリ41に準備されたブートプログラムによるセルフブートを行うことができる。   Through such steps S101 to S107, the system LSI 10 can perform self-boot by the boot program prepared in the NAND flash memory 41.

なお、システムLSI10では、ブートプログラムの実行後は、NAND型フラッシュメモリ41に格納された、画像処理、音声処理及び通信処理等のためのプログラムが、SDRAM43にロードされ、CPU11により実行される。もちろん、当該プログラムのロードに先立って、第2のブートプログラムをロードするようにすることも妨げられない。   In the system LSI 10, after execution of the boot program, programs for image processing, sound processing, communication processing, and the like stored in the NAND flash memory 41 are loaded into the SDRAM 43 and executed by the CPU 11. Of course, prior to loading the program, loading the second boot program is not prevented.

本発明の望ましい実施形態に係るシステムLSI10の構成を示すブロック図である。1 is a block diagram showing a configuration of a system LSI 10 according to a preferred embodiment of the present invention. システムLSI10におけるブート手順を示すフローチャートである。4 is a flowchart showing a boot procedure in the system LSI 10.

符号の説明Explanation of symbols

1 コンピュータ
10 システムLSI
11 CPU
12 ブートシーケンサ
13 NANDフラッシュインターフェース
14 ホストインターフェース
21〜23 セレクタ
32 DDMAバス
33 データ転送路
41 NAND型フラッシュメモリ
42 デュアルポートRAM
131,141 レジスタ
132,143 DDMAインターフェース
1 computer
10 System LSI
11 CPU
12 Boot Sequencer 13 NAND Flash Interface 14 Host Interface 21-23 Selector 32 DDMA Bus 33 Data Transfer Path 41 NAND Flash Memory 42 Dual Port RAM
131, 141 Register 132, 143 DDMA interface

Claims (4)

コンピュータ装置であって、
CPUと、
前記CPUのブートに用いられるブートプログラムが格納された第1メモリを、第3メモリとの間のDMA転送に用いられるバスに接続可能な第1インターフェースと、
前記CPUが前記ブートプログラムを読み出す場合の読み出し先となる第2メモリを、前記バスに接続可能な第2インターフェースと、
前記バスとは別に設けられた、前記第1インターフェースと前記第2インターフェースとの間をデータ転送可能に結合するデータ転送路と、
前記第1インターフェース及び前記第2インターフェースの接続先を前記バスと前記データ転送路との間で切り替える第1セレクタと、
前記ブートに先立って、前記第1インターフェース及び前記第2インターフェースが前記データ転送路に接続された状態で、前記第1メモリから前記第2メモリへブートプログラムを転送するトリガを与えるブートシーケンサと、
を備えることを特徴とするコンピュータ装置。
A computer device,
CPU,
A first interface capable of connecting a first memory storing a boot program used for booting the CPU to a bus used for DMA transfer with the third memory;
A second interface that can be connected to the bus, a second memory to be read when the CPU reads the boot program;
A data transfer path that is provided separately from the bus and connects the first interface and the second interface so that data can be transferred;
A first selector that switches a connection destination of the first interface and the second interface between the bus and the data transfer path;
A boot sequencer for providing a trigger for transferring a boot program from the first memory to the second memory in a state where the first interface and the second interface are connected to the data transfer path prior to the boot;
A computer apparatus comprising:
請求項1に記載のコンピュータ装置において、
前記ブートプログラムの前記第1メモリから前記第2メモリへの転送にあたって、
前記第1インターフェースは、
データを前記第1メモリからシーケンシャルに読み出して順次出力し、
前記第2インターフェースは、
順次入力されたデータを前記第2メモリへシーケンシャルに書き込む、
ことを特徴とするコンピュータ装置。
The computer apparatus according to claim 1.
In transferring the boot program from the first memory to the second memory,
The first interface is
Data is sequentially read from the first memory and sequentially output,
The second interface is
Sequentially writes the sequentially input data to the second memory;
The computer apparatus characterized by the above-mentioned.
請求項1又は請求項2に記載のコンピュータ装置において、
前記第1インターフェース及び前記第2インターフェースの制御主体を前記CPUと前記ブートシーケンサとの間で切り替える第2セレクタをさらに備え、
前記制御主体を前記ブートシーケンサとした状態で前記ブートプログラムの前記第1メモリから前記第2メモリへの転送を行い、前記転送が終了した後に、前記制御主体を前記CPUへ切り替えることを特徴とするコンピュータ装置。
The computer apparatus according to claim 1 or 2,
A second selector for switching a control subject of the first interface and the second interface between the CPU and the boot sequencer;
The boot program is transferred from the first memory to the second memory in a state where the control subject is the boot sequencer, and the control subject is switched to the CPU after the transfer is completed. Computer device.
請求項1ないし請求項3のいずれかに記載のコンピュータ装置において、
前記第1メモリは、不揮発性のメモリであり、
前記第2メモリは、1バイト単位でランダムにアクセス可能なランダムアクセスメモリである、
ことを特徴とするコンピュータ装置。
The computer apparatus according to any one of claims 1 to 3,
The first memory is a nonvolatile memory;
The second memory is a random access memory that can be randomly accessed in 1-byte units.
The computer apparatus characterized by the above-mentioned.
JP2005341890A 2005-11-28 2005-11-28 Computer equipment Expired - Fee Related JP5034007B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005341890A JP5034007B2 (en) 2005-11-28 2005-11-28 Computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005341890A JP5034007B2 (en) 2005-11-28 2005-11-28 Computer equipment

Publications (2)

Publication Number Publication Date
JP2007148750A true JP2007148750A (en) 2007-06-14
JP5034007B2 JP5034007B2 (en) 2012-09-26

Family

ID=38210104

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005341890A Expired - Fee Related JP5034007B2 (en) 2005-11-28 2005-11-28 Computer equipment

Country Status (1)

Country Link
JP (1) JP5034007B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001297006A (en) * 2000-04-17 2001-10-26 Hitachi Ltd Semiconductor integrated circuit device and information processing system
JP2004220575A (en) * 2002-12-27 2004-08-05 Ricoh Co Ltd Interface circuit of card type memory, asic carrying its circuit and image forming apparatus carrying asic
JP2004334486A (en) * 2003-05-07 2004-11-25 Internatl Business Mach Corp <Ibm> Starting system using boot code and starting method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001297006A (en) * 2000-04-17 2001-10-26 Hitachi Ltd Semiconductor integrated circuit device and information processing system
JP2004220575A (en) * 2002-12-27 2004-08-05 Ricoh Co Ltd Interface circuit of card type memory, asic carrying its circuit and image forming apparatus carrying asic
JP2004334486A (en) * 2003-05-07 2004-11-25 Internatl Business Mach Corp <Ibm> Starting system using boot code and starting method

Also Published As

Publication number Publication date
JP5034007B2 (en) 2012-09-26

Similar Documents

Publication Publication Date Title
JP5290516B2 (en) Memory device, system having memory device, and method of operating embedded device
JP4819301B2 (en) Boot system and method using NAND flash memory
KR100634436B1 (en) Multi chip system and its boot code fetch method
US20060245274A1 (en) Apparatus and method for controlling NAND flash memory
KR100758301B1 (en) Memory card and method storing data thereof
KR20070060101A (en) Systems and methods for providing nonvolatile memory management in wireless phones
KR20070082229A (en) Multi-processor system and method of initializing thereof
JPWO2008117520A1 (en) MEMORY CONTROLLER, NONVOLATILE MEMORY SYSTEM, AND HOST DEVICE
US20100169546A1 (en) Flash memory access circuit
JP5287301B2 (en) Descriptor transfer device, I / O controller, and descriptor transfer method
JP5622429B2 (en) Microcomputer
JP2000276370A (en) Microcomputer, electronic equipment and emulation method
JP5034007B2 (en) Computer equipment
WO2012008068A1 (en) Microcontroller and method of controlling the same
JP7006410B2 (en) Control device, image forming device and circuit device
JP3956305B2 (en) Nonvolatile semiconductor memory device and data processing device
JP4793798B2 (en) Microcomputer
JP2004258935A (en) Semiconductor device
JP2005276104A (en) Microcomputer
JP5823000B2 (en) Microcomputer
JP2000305771A (en) Method for loading software to microcomputer incorporating nonvolatile memory
JP2009237666A (en) Electronic appliance
JP4876459B2 (en) Multiprocessor system, multiprocessor system activation method, and portable terminal
JP2006313421A (en) Microcomputer and debug method
JP2009048322A (en) Interface module and semiconductor integrated circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081110

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20081110

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20081110

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110613

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110621

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110819

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120501

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120522

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150713

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5034007

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees