[go: up one dir, main page]

JP2009169485A - Information processing apparatus, semiconductor integrated circuit device, and boot method - Google Patents

Information processing apparatus, semiconductor integrated circuit device, and boot method Download PDF

Info

Publication number
JP2009169485A
JP2009169485A JP2008003832A JP2008003832A JP2009169485A JP 2009169485 A JP2009169485 A JP 2009169485A JP 2008003832 A JP2008003832 A JP 2008003832A JP 2008003832 A JP2008003832 A JP 2008003832A JP 2009169485 A JP2009169485 A JP 2009169485A
Authority
JP
Japan
Prior art keywords
program
volatile memory
boot program
boot
integrated circuit
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
JP2008003832A
Other languages
Japanese (ja)
Inventor
Makoto Okada
真 岡田
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.)
Fujitsu Semiconductor Ltd
Original Assignee
Fujitsu Semiconductor Ltd
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 Fujitsu Semiconductor Ltd filed Critical Fujitsu Semiconductor Ltd
Priority to JP2008003832A priority Critical patent/JP2009169485A/en
Publication of JP2009169485A publication Critical patent/JP2009169485A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

【課題】ブートプログラムとメインプログラムとが格納されたシリアルインタフェースの不揮発性メモリと、揮発性メモリとが接続される半導体集積回路装置であって、外部部品の増加を招くことがなく、かつ、設計期間の短縮化を図ることができ、かつ、ブートプログラムの改版時にレチクル費用が発生しないようにした半導体集積回路装置を提供する。
【解決手段】システムLSI2は、シリアルFlashメモリ3用のインタフェースであるブートローダ8を設け、シリアルFlashメモリ3からブートプログラムをリードし、該リードしたブートプログラムを実行してシリアルFlashメモリ3内のメインプログラムをSDRAM4にコピーする。
【選択図】図1
A semiconductor integrated circuit device to which a serial interface nonvolatile memory storing a boot program and a main program and a volatile memory is connected, without causing an increase in external parts, and designed Provided is a semiconductor integrated circuit device which can shorten the period and which does not incur reticle costs when a boot program is revised.
A system LSI includes a boot loader that is an interface for a serial flash memory, reads a boot program from the serial flash memory, executes the read boot program, and executes a main program in the serial flash memory Is copied to SDRAM4.
[Selection] Figure 1

Description

本発明は、メインプログラムが格納されたシリアルインタフェースの不揮発性メモリと、揮発性メモリとが接続された半導体集積回路装置を備える情報処理装置、並びに、このような情報処理装置に使用される半導体集積回路装置及びブート方法に関する。   The present invention relates to an information processing apparatus including a semiconductor integrated circuit device to which a nonvolatile memory of a serial interface storing a main program and a volatile memory are connected, and a semiconductor integrated device used in such an information processing device The present invention relates to a circuit device and a boot method.

携帯電話やPDA(personal digital assistant)等に搭載されているシステムLSI(large scale integrated circuit)は、低消費電力化と処理能力向上のため、システムリセット後に、Flash(フラッシュ)メモリに格納されているメインプログラムをSDRAM(synchronous dynamic random access memory)にコピーし、このコピーしたプログラムを実行する。これをシステムブートと呼ぶ。   System LSIs (large scale integrated circuits) installed in mobile phones and PDAs (personal digital assistants) are stored in flash memory after system reset to reduce power consumption and improve processing performance. The main program is copied to an SDRAM (synchronous dynamic random access memory), and the copied program is executed. This is called system boot.

Flashメモリには、パラレルインタフェースのFlashメモリ(以下、パラレルFlashメモリと言う)とシリアルインタフェースのFlashメモリ(以下、シリアルFlashメモリと言う)とがある。パラレルFlashメモリは、通常のCPU(central processing unit)外部バスでアクセスすることができるという長所がある。シリアルFlashメモリは、アドレス、リード/ライトの制御情報をシリアルで通信することによりデータをアクセスするものであり、アクセスに必要な信号数が少ないという長所がある。
特開2002−278781号公報 特開2002−287994号公報 特開平6−348504号公報
The flash memory includes a parallel interface flash memory (hereinafter referred to as a parallel flash memory) and a serial interface flash memory (hereinafter referred to as a serial flash memory). The parallel flash memory has an advantage that it can be accessed by an ordinary CPU (central processing unit) external bus. The serial flash memory accesses data by serially communicating address and read / write control information, and has the advantage that the number of signals required for access is small.
JP 2002-278781 A JP 2002-287994 A JP-A-6-348504

パラレルFlashメモリは、CPUから直接アクセスできるため、パラレルFlashメモリを使用する場合には、ブートシーケンスを容易に実現することができる。しかしながら、システムLSIに、Flashメモリにアクセスするための外部端子とSDRAMにアクセスするための外部端子とを別々に設ける必要があるため、システムLSIの外部端子数が多くなるという問題点がある。   Since the parallel Flash memory can be directly accessed from the CPU, the boot sequence can be easily realized when the parallel Flash memory is used. However, since it is necessary to separately provide an external terminal for accessing the flash memory and an external terminal for accessing the SDRAM in the system LSI, there is a problem that the number of external terminals of the system LSI increases.

これに対して、シリアルFlashメモリは、CPUから直接アドレッシングできないため、シリアルFlashメモリを使用する場合には、システムLSIの外部または内部にROM(read only memory)を搭載し、ROMにブートプログラムを格納することにより、ブートシーケンスを実現することが行われる。   In contrast, serial flash memory cannot be addressed directly from the CPU, so when using serial flash memory, a ROM (read only memory) is installed outside or inside the system LSI and the boot program is stored in the ROM. By doing so, the boot sequence is realized.

ここで、システムLSIの外部にROMを搭載する場合は、外部部品の増加が問題となる。また、システムLSIの内部にROMを搭載する場合は、システムLSIの開発と同時にブートプログラムを開発する必要があり、ブートプログラムの検証・評価のためにシステムシミュレーションを実施する必要がある。このため、開発期間が増大するという問題や、ブートプログラムの改版時にはシステムLSIの改版を伴うためのレチクル費用が発生するという問題がある。   Here, when a ROM is mounted outside the system LSI, an increase in external parts becomes a problem. When a ROM is mounted in the system LSI, it is necessary to develop a boot program simultaneously with the development of the system LSI, and it is necessary to perform a system simulation for verification and evaluation of the boot program. For this reason, there is a problem that the development period is increased, and there is a problem that a reticle cost is required for the revision of the system LSI when the boot program is revised.

なお、システムLSIにFlashメモリを搭載するという方法もあるが、このようにする場合には、汎用のFlashメモリを使用する場合に比較して、システムLSIの製造コストが高くなってしまうという問題がある。   Although there is a method of mounting a flash memory in the system LSI, in this case, there is a problem that the manufacturing cost of the system LSI becomes higher than when a general-purpose flash memory is used. is there.

本発明は、かかる点に鑑み、メインプログラムが格納されたシリアルインタフェースの不揮発性メモリと、揮発性メモリとが接続された半導体集積回路装置を備える情報処理装置であって、外部部品の増加を招くことがなく、かつ、設計期間の短縮化を図ることができ、かつ、ブートプログラムの改版時にレチクル費用が発生しないようにした情報処理装置を提供することを第1の目的とする。   In view of the above, the present invention is an information processing apparatus including a semiconductor integrated circuit device in which a serial interface nonvolatile memory storing a main program and a volatile memory are connected, and causes an increase in external components. It is a first object of the present invention to provide an information processing apparatus that can reduce the design period and that does not incur reticle costs when the boot program is revised.

また、本発明は、ブートプログラムとメインプログラムとが格納されたシリアルインタフェースの不揮発性メモリと、揮発性メモリとが接続される半導体集積回路装置であって、外部部品の増加を招くことがなく、かつ、設計期間の短縮化を図ることができ、かつ、ブートプログラムの改版時にレチクル費用が発生しないようにした半導体集積回路装置を提供することを第2の目的とする。   Further, the present invention is a semiconductor integrated circuit device in which a non-volatile memory having a serial interface in which a boot program and a main program are stored and a volatile memory are connected without causing an increase in external parts, A second object of the present invention is to provide a semiconductor integrated circuit device that can shorten the design period and that does not incur reticle costs when the boot program is revised.

また、本発明は、メインプログラムが格納されたシリアルインタフェースの不揮発性メモリと、揮発性メモリと、前記不揮発性メモリと前記揮発性メモリとが接続された半導体集積回路装置とを備える情報処理装置におけるブート方法であって、外部部品の増加を招くことがなく、かつ、設計期間の短縮化を図ることができ、かつ、ブートプログラムの改版時にレチクル費用が発生しないようにしたブート方法を提供することを第3の目的とする。   The present invention also relates to an information processing apparatus comprising a serial interface nonvolatile memory storing a main program, a volatile memory, and a semiconductor integrated circuit device to which the nonvolatile memory and the volatile memory are connected. To provide a boot method that does not cause an increase in external parts, can shorten a design period, and does not incur reticle costs when a boot program is revised. Is the third purpose.

本出願で開示する情報処理装置は、ブートプログラムとメインプログラムとが格納されたシリアルインタフェースの不揮発性メモリと、第1の揮発性メモリと、半導体集積回路装置とを備え、該半導体集積回路装置は、CPUと、第2の揮発性メモリと、システムリセット解除後、前記不揮発性メモリ内の前記ブートプログラムを前記第2の揮発性メモリにコピーし、該コピーが完了したときは、前記CPUのリセットを解除する前記不揮発性メモリ用のインタフェースとを備え、前記不揮発性メモリから前記ブートプログラムをリードし、該リードした前記ブートプログラムを実行して前記不揮発性メモリ内の前記メインプログラムを前記第1の揮発性メモリにコピーし、該コピーした前記メインプログラムを実行するものである。   An information processing apparatus disclosed in the present application includes a serial interface nonvolatile memory storing a boot program and a main program, a first volatile memory, and a semiconductor integrated circuit device. The CPU, the second volatile memory, and after releasing the system reset, the boot program in the nonvolatile memory is copied to the second volatile memory, and when the copying is completed, the CPU is reset. An interface for the non-volatile memory that releases the boot program, reads the boot program from the non-volatile memory, and executes the read boot program to execute the main program in the non-volatile memory as the first program. The program is copied to a volatile memory and the copied main program is executed.

本出願で開示する半導体集積回路装置は、ブートプログラムとメインプログラムとが格納されたシリアルインタフェースの不揮発性メモリと、第1の揮発性メモリとが接続される半導体集積回路装置であって、ブート手段を備え、該ブート手段は、CPUと、第2の揮発性メモリと、前記不揮発性メモリ内の前記ブートプログラムを前記第2の揮発性メモリにコピーし、該コピーが完了したときは、前記CPUのリセットを解除する前記不揮発性メモリ用のインタフェースとを含み、前記不揮発性メモリから前記ブートプログラムをリードし、該リードした前記ブートプログラムを実行して前記不揮発性メモリ内の前記メインプログラムを前記第1の揮発性メモリにコピーするものである。   A semiconductor integrated circuit device disclosed in the present application is a semiconductor integrated circuit device in which a serial interface nonvolatile memory storing a boot program and a main program and a first volatile memory are connected to each other. And the boot means copies the CPU, the second volatile memory, and the boot program in the nonvolatile memory to the second volatile memory, and when the copying is completed, the CPU An interface for the non-volatile memory for releasing the reset of the non-volatile memory, reading the boot program from the non-volatile memory, and executing the read boot program to execute the main program in the non-volatile memory 1 to a volatile memory.

本出願で開示するブート方法は、メインプログラムが格納されたシリアルインタフェースの不揮発性メモリと、揮発性メモリと、前記不揮発性メモリと前記揮発性メモリとが接続された半導体集積回路装置とを備える情報処理装置におけるブート方法であって、前記不揮発性メモリにブートプログラムを格納し、前記半導体集積回路装置が、前記不揮発性メモリから前記ブートプログラムをリードし、該リードした前記ブートプログラムを実行して前記不揮発性メモリ内の前記メインプログラムを前記揮発性メモリにコピーする工程を含むものである。   A boot method disclosed in the present application includes a serial interface nonvolatile memory in which a main program is stored, a volatile memory, and a semiconductor integrated circuit device to which the nonvolatile memory and the volatile memory are connected. A boot method in a processing device, wherein a boot program is stored in the nonvolatile memory, the semiconductor integrated circuit device reads the boot program from the nonvolatile memory, executes the read boot program, and executes the boot program The method includes a step of copying the main program in the nonvolatile memory to the volatile memory.

開示した情報処理装置においては、前記不揮発性メモリは、前記ブートプログラムと前記メインプログラムとを格納し、前記半導体集積回路装置は、前記不揮発性メモリから前記ブートプログラムをリードし、該リードした前記ブートプログラムを実行して前記不揮発性メモリ内の前記メインプログラムを前記揮発性メモリにコピーし、該コピーした前記メインプログラムを実行するとしているので、前記半導体集積回路装置の外部にも内部にも前記ブートプログラムを格納したROMを搭載する必要がない。   In the disclosed information processing apparatus, the nonvolatile memory stores the boot program and the main program, and the semiconductor integrated circuit device reads the boot program from the nonvolatile memory, and the read boot Since the program is executed to copy the main program in the nonvolatile memory to the volatile memory and the copied main program is executed, the boot is performed both inside and outside the semiconductor integrated circuit device. There is no need to install a ROM that stores the program.

このように、開示した情報処理装置によれば、前記半導体集積回路装置の外部に前記ブートプログラムを格納したROMを搭載する必要がないことから、外部部品の増加を招くことがない。また、前記半導体集積回路装置に前記ブートプログラムを格納したROMを搭載する必要がないことから、前記ブートプログラムの検証・評価のためにシステムシミュレーションを実施する必要がなく、設計期間の短縮化を図ることができる。また、前記半導体集積回路装置に前記ブートプログラムを格納したROMを搭載する必要がないことから、前記ブートプログラムの改版時に前記半導体集積回路装置を改版する必要がなく、前記ブートプログラムの改版時にレチクル費用が発生しないようにすることができる。   Thus, according to the disclosed information processing apparatus, it is not necessary to mount the ROM storing the boot program outside the semiconductor integrated circuit device, so that an increase in external parts is not caused. In addition, since it is not necessary to mount a ROM storing the boot program in the semiconductor integrated circuit device, it is not necessary to perform a system simulation for verification and evaluation of the boot program, thereby shortening the design period. be able to. In addition, since it is not necessary to mount the ROM storing the boot program in the semiconductor integrated circuit device, it is not necessary to update the semiconductor integrated circuit device when the boot program is revised, and the reticle cost is used when the boot program is revised. Can be prevented from occurring.

また、開示した半導体集積回路装置においては、前記ブート手段を設け、前記不揮発性メモリから前記ブートプログラムをリードし、該リードした前記ブートプログラムを実行して前記不揮発性メモリ内の前記メインプログラムを前記揮発性メモリにコピーするとしているので、外部にも内部にも前記ブートプログラムを格納したROMを搭載する必要がない。   In the disclosed semiconductor integrated circuit device, the boot unit is provided, the boot program is read from the nonvolatile memory, the read boot program is executed, and the main program in the nonvolatile memory is loaded. Since copying to a volatile memory is performed, there is no need to mount a ROM storing the boot program both externally and internally.

このように、開示した半導体集積回路装置によれば、外部に前記ブートプログラムを格納したROMを搭載する必要がないことから、外部部品の増加を招くことがない。また、内部に前記ブートプログラムを格納したROMを搭載する必要がないことから、前記ブートプログラムの検証・評価のためにシステムシミュレーションを実施する必要がなく、設計期間の短縮化を図ることができる。また、内部に前記ブートプログラムを格納したROMを搭載する必要がないことから、開示した半導体集積回路装置においては、前記ブートプログラムの改版時に改版する必要がなく、前記ブートプログラムの改版時にレチクル費用が発生しないようにすることができる。   As described above, according to the disclosed semiconductor integrated circuit device, it is not necessary to mount the ROM storing the boot program outside, so that an increase in external parts is not caused. In addition, since it is not necessary to mount a ROM storing the boot program therein, it is not necessary to perform a system simulation for verifying and evaluating the boot program, and the design period can be shortened. In addition, since it is not necessary to mount a ROM storing the boot program therein, the disclosed semiconductor integrated circuit device does not need to be revised when the boot program is revised, and the reticle cost is charged when the boot program is revised. It can be prevented from occurring.

また、開示したブート方法においては、前記不揮発性メモリに前記メインプログラムのほかに前記ブートプログラムを格納し、前記半導体集積回路装置が、前記不揮発性メモリから前記ブートプログラムをリードし、該リードした前記ブートプログラムを実行して前記不揮発性メモリ内の前記メインプログラムを前記揮発性メモリにコピーする工程を含むとしているので、前記半導体集積回路装置の外部にも内部にも前記ブートプログラムを格納したROMを搭載する必要がない。   In the disclosed boot method, the boot program is stored in the nonvolatile memory in addition to the main program, and the semiconductor integrated circuit device reads the boot program from the nonvolatile memory, and the read Since the method includes a step of executing a boot program and copying the main program in the nonvolatile memory to the volatile memory, a ROM storing the boot program inside and outside the semiconductor integrated circuit device is provided. There is no need to install.

このように、開示したブート方法によれば、前記半導体集積回路装置の外部に前記ブートプログラムを格納したROMを搭載する必要がないことから、外部部品の増加を招くことがない。また、前記半導体集積回路装置に前記ブートプログラムを格納したROMを搭載する必要がないことから、前記ブートプログラムの検証・評価のためにシステムシミュレーションを実施する必要がなく、設計期間の短縮化を図ることができる。また、前記半導体集積回路装置に前記ブートプログラムを格納したROMを搭載する必要がないことから、前記ブートプログラムの改版時に前記半導体集積回路装置を改版する必要がなく、前記ブートプログラムの改版時にレチクル費用が発生しないようにすることができる。   As described above, according to the disclosed boot method, it is not necessary to mount the ROM storing the boot program outside the semiconductor integrated circuit device. In addition, since it is not necessary to mount a ROM storing the boot program in the semiconductor integrated circuit device, it is not necessary to perform a system simulation for verification and evaluation of the boot program, thereby shortening the design period. be able to. In addition, since it is not necessary to mount the ROM storing the boot program in the semiconductor integrated circuit device, it is not necessary to update the semiconductor integrated circuit device when the boot program is revised, and the reticle cost is used when the boot program is revised. Can be prevented from occurring.

図1は本発明の情報処理装置の一実施形態を示すブロック回路図である。図1中、2は本発明の半導体集積回路装置の一実施形態であるシステムLSI、3はシステムLSI2に接続されたシリアルFlashメモリ、4はシステムLSI2に接続されたSDRAMである。シリアルFlashメモリ3には、あらかじめブートプログラム及びメインプログラムが格納される。   FIG. 1 is a block circuit diagram showing an embodiment of an information processing apparatus of the present invention. In FIG. 1, 2 is a system LSI which is an embodiment of the semiconductor integrated circuit device of the present invention, 3 is a serial flash memory connected to the system LSI 2, and 4 is an SDRAM connected to the system LSI 2. The serial flash memory 3 stores a boot program and a main program in advance.

システムLSI2は、CPU5と、CPUバス6と、RAM7と、シリアルFlashメモリ3用のインタフェースであるブートローダ(Boot Loader)8と、SDRAM4の書き込み動作及びリード動作を制御するメモリコントローラ9とを備えている。   The system LSI 2 includes a CPU 5, a CPU bus 6, a RAM 7, a boot loader (Boot Loader) 8 that is an interface for the serial Flash memory 3, and a memory controller 9 that controls a write operation and a read operation of the SDRAM 4. .

ブートローダ8は、シリアルFlashメモリ3からプログラムを読み出す機能を有するものであるが、シリアルFlashメモリ3からシリアルに読み出したプログラムをパラレル変換してCPUバス6に出力するシリアル/パラレル機能を有するものである。なお、システムLSI2においては、CPU5と、CPUバス6と、RAM7と、ブートローダ8と、メモリコントローラ9とでブート手段が構成されている。   The boot loader 8 has a function of reading a program from the serial flash memory 3, but has a serial / parallel function of converting the program read serially from the serial flash memory 3 into parallel and outputting it to the CPU bus 6. . In the system LSI 2, the CPU 5, the CPU bus 6, the RAM 7, the boot loader 8, and the memory controller 9 constitute a boot unit.

図2は本発明の情報処理装置の一実施形態の動作(本発明のブート方法の一実施形態)を示すフローチャートである。図2中のS1〜S5は工程を示しており、図1に示すS1〜S5と対応する。本発明の情報処理装置の一実施形態においては、システムリセット解除後、ブートローダ8は、シリアルFlashメモリ3に格納されているブートプログラムをシリアルFlashメモリ3からRAM7に転送し(S1)、この転送が完了すると、CPU5のリセット解除を行う(S2)。なお、本例では、リセットベクタはRAM7内を指すものとされる。   FIG. 2 is a flowchart showing the operation of one embodiment of the information processing apparatus of the present invention (one embodiment of the boot method of the present invention). S1 to S5 in FIG. 2 indicate processes, and correspond to S1 to S5 shown in FIG. In one embodiment of the information processing apparatus of the present invention, after the system reset is released, the boot loader 8 transfers the boot program stored in the serial Flash memory 3 from the serial Flash memory 3 to the RAM 7 (S1). When completed, the CPU 5 cancels the reset (S2). In this example, the reset vector indicates the inside of the RAM 7.

また、CPU5は、ブートローダ8によりリセットが解除されると、RAM7上のリセットベクタをフェッチし(S3)、RAM7内のブートプログラムを実行して、シリアルFlashメモリ3に格納されているメインプログラムをSDRAM4にコピーし(S4)、このコピーが完了すると、SDRAM4内のメインプログラムの先頭アドレスにジャンプしてメインプログラムを実行する(S5)。   When the reset is released by the boot loader 8, the CPU 5 fetches the reset vector on the RAM 7 (S 3), executes the boot program in the RAM 7, and executes the main program stored in the serial Flash memory 3 as the SDRAM 4. (S4) When this copy is completed, the program jumps to the start address of the main program in the SDRAM 4 and executes the main program (S5).

図3は本発明の情報処理装置の一実施形態におけるシリアルFlashメモリ3と、RAM7及びSDRAM4との関係を示す図である。即ち、本発明の情報処理装置の一実施形態においては、前述のように、ブートプログラム及びメインプログラムは、あらかじめシリアルFlashメモリ3に格納されており、ブートプログラムは、システムリセット解除後、ブートローダ8により、シリアルFlashメモリ3からRAM7に転送され、メインプログラムは、CPU5のリセット解除後、CPU5により、シリアルFlashメモリ3からSDRAM4に転送される。   FIG. 3 is a diagram showing the relationship between the serial flash memory 3, the RAM 7 and the SDRAM 4 in one embodiment of the information processing apparatus of the present invention. That is, in one embodiment of the information processing apparatus of the present invention, as described above, the boot program and the main program are stored in the serial flash memory 3 in advance, and the boot program is released by the boot loader 8 after releasing the system reset. The main program is transferred from the serial flash memory 3 to the RAM 7. After the reset of the CPU 5 is released, the main program is transferred from the serial flash memory 3 to the SDRAM 4 by the CPU 5.

図4は本発明の情報処理装置の一実施形態におけるリセット解除系統を示す図である。即ち、本発明の一実施形態においては、前述のように、システムリセット解除後、ブートローダ8は、シリアルFlashメモリ3に格納されているブートプログラムをRAM7に転送し、この転送完了後にCPU5のリセット解除を行う。   FIG. 4 is a diagram showing a reset release system in an embodiment of the information processing apparatus of the present invention. That is, in one embodiment of the present invention, as described above, after the system reset is released, the boot loader 8 transfers the boot program stored in the serial flash memory 3 to the RAM 7 and, after this transfer is completed, the CPU 5 reset is released. I do.

なお、シリアルFlashメモリ3に格納するブートプログラムにプログラムサイズを記述する場合には、ブートローダ8は、図5に示すように、プログラムの転送を行う転送手段10と、プログラムの転送量をカウントするカウンタ11と、CPU5のリセット解除を行うリセット解除手段12とを設けるほかに、ブートプログラムに記述されているプログラムサイズを格納するレジスタ13を設け、カウンタ11のカウント値がレジスタ13に格納したプログラムサイズになったときは、転送手段10は、ブートプログラムのシリアルFlashメモリ3からRAM7への転送を終了するように構成しても良く、このように構成する場合には、ブートプログラムのサイズを可変にすることができる。   When the program size is described in the boot program stored in the serial flash memory 3, the boot loader 8 includes a transfer means 10 for transferring the program and a counter for counting the transfer amount of the program as shown in FIG. 11 and reset canceling means 12 for canceling resetting of the CPU 5, a register 13 for storing the program size described in the boot program is provided, and the count value of the counter 11 is set to the program size stored in the register 13. In this case, the transfer means 10 may be configured to end the transfer of the boot program from the serial flash memory 3 to the RAM 7, and in this case, the size of the boot program is made variable. be able to.

以上のように、本発明の情報処理装置の一実施形態においては、シリアルFlashメモリ3にブートプログラムとメインプログラムとを格納し、システムLSI2は、シリアルFlashメモリ3からブートプログラムをリードし、該リードしたブートプログラムを実行してシリアルFlashメモリ3内のメインプログラムをSDRAM4にコピーし、該コピーしたメインプログラムを実行するとしているので、システムLSI2の外部にも内部にもブートプログラムを格納したROMを搭載する必要がない。   As described above, in one embodiment of the information processing apparatus of the present invention, the boot program and the main program are stored in the serial Flash memory 3, and the system LSI 2 reads the boot program from the serial Flash memory 3, and the read The boot program is executed, the main program in the serial flash memory 3 is copied to the SDRAM 4, and the copied main program is executed. Therefore, a ROM that stores the boot program both inside and outside the system LSI 2 is mounted. There is no need to do.

このように、本発明の情報処理装置の一実施形態によれば、システムLSI2の外部にブートプログラムを格納したROMを搭載する必要がないことから、外部部品の増加を招くことがない。また、システムLSI2にブートプログラムを格納したROMを搭載する必要がないことから、ブートプログラムの検証・評価のためにシステムシミュレーションを実施する必要がなく、設計期間の短縮化を図ることができる。また、システムLSI2にブートプログラムを格納したROMを搭載する必要がないことから、ブートプログラムの改版時にシステムLSI2を改版する必要がなく、ブートプログラムの改版時にレチクル費用が発生しないようにすることができる。   As described above, according to the embodiment of the information processing apparatus of the present invention, it is not necessary to mount the ROM storing the boot program outside the system LSI 2, so that the number of external components is not increased. Further, since it is not necessary to mount a ROM storing a boot program in the system LSI 2, it is not necessary to perform a system simulation for verification and evaluation of the boot program, and the design period can be shortened. Further, since it is not necessary to mount a ROM storing the boot program in the system LSI 2, it is not necessary to update the system LSI 2 when the boot program is revised, and it is possible to prevent the occurrence of reticle costs when the boot program is revised. .

ここで、本発明を整理すると、本発明には、少なくとも、以下の情報処理装置、半導体集積回路装置及びブート方法が含まれる。   Here, when the present invention is organized, the present invention includes at least the following information processing apparatus, semiconductor integrated circuit device, and boot method.

(付記1)ブートプログラムとメインプログラムとが格納されたシリアルインタフェースの不揮発性メモリと、第1の揮発性メモリと、半導体集積回路装置とを備え、該半導体集積回路装置は、CPUと、第2の揮発性メモリと、システムリセット解除後、前記不揮発性メモリ内の前記ブートプログラムを前記第2の揮発性メモリにコピーし、該コピーが完了したときは、前記CPUのリセットを解除する前記不揮発性メモリ用のインタフェースとを備え、前記不揮発性メモリから前記ブートプログラムをリードし、該リードした前記ブートプログラムを実行して前記不揮発性メモリ内の前記メインプログラムを前記第1の揮発性メモリにコピーし、該コピーした前記メインプログラムを実行することを特徴とする情報処理装置。   (Supplementary Note 1) A serial interface nonvolatile memory storing a boot program and a main program, a first volatile memory, and a semiconductor integrated circuit device, the semiconductor integrated circuit device including a CPU, a second After the system reset is released, the boot program in the nonvolatile memory is copied to the second volatile memory, and when the copying is completed, the CPU reset is released. An interface for memory, and reads the boot program from the nonvolatile memory, executes the read boot program, and copies the main program in the nonvolatile memory to the first volatile memory. An information processing apparatus that executes the copied main program.

(付記2)前記CPUは、前記インタフェースによってリセットが解除されたときは、前記第2の揮発性メモリにコピーされた前記ブートプログラムを実行して前記不揮発性メモリ内の前記メインプログラムを前記第1の揮発性メモリにコピーすることを特徴とする付記1に記載の情報処理装置。   (Supplementary Note 2) When the reset is released by the interface, the CPU executes the boot program copied to the second volatile memory to execute the main program in the nonvolatile memory. The information processing apparatus according to claim 1, wherein the information processing apparatus is copied to a volatile memory.

(付記3)前記インタフェースは、前記ブートプログラムに記述されたプログラムサイズを格納するレジスタと、前記ブートプログラムの前記不揮発性メモリから前記第2の揮発性メモリへの転送量をカウントするカウンタと、前記カウンタのカウント値が前記レジスタに格納した前記プログラムサイズになったときは、前記ブートプログラムの前記不揮発性メモリから前記第2の揮発性メモリへの転送を終了する転送手段とを備えることを特徴とする付記2に記載の情報処理装置。   (Supplementary Note 3) The interface includes a register that stores a program size described in the boot program, a counter that counts a transfer amount of the boot program from the nonvolatile memory to the second volatile memory, and Transfer means for terminating transfer of the boot program from the non-volatile memory to the second volatile memory when the count value of the counter reaches the program size stored in the register. The information processing apparatus according to appendix 2.

(付記4)ブートプログラムとメインプログラムとが格納されたシリアルインタフェースの不揮発性メモリと、第1の揮発性メモリとが接続される半導体集積回路装置であって、ブート手段を備え、該ブート手段は、CPUと、第2の揮発性メモリと、前記不揮発性メモリ内の前記ブートプログラムを前記第2の揮発性メモリにコピーし、該コピーが完了したときは、前記CPUのリセットを解除する前記不揮発性メモリ用のインタフェースとを含み、前記不揮発性メモリから前記ブートプログラムをリードし、該リードした前記ブートプログラムを実行して前記不揮発性メモリ内の前記メインプログラムを前記第1の揮発性メモリにコピーすることを特徴とする半導体集積回路装置。   (Supplementary Note 4) A semiconductor integrated circuit device to which a serial interface nonvolatile memory storing a boot program and a main program and a first volatile memory are connected, comprising boot means, the boot means comprising: The CPU, the second volatile memory, and the boot program in the nonvolatile memory are copied to the second volatile memory, and when the copying is completed, the reset of the CPU is released. The boot program is read from the nonvolatile memory, the read boot program is executed, and the main program in the nonvolatile memory is copied to the first volatile memory. A semiconductor integrated circuit device.

(付記5)前記CPUは、前記インタフェースによってリセットが解除されたときは、前記第2の揮発性メモリにコピーされた前記ブートプログラムを実行して前記不揮発性メモリ内の前記メインプログラムを前記第1の揮発性メモリにコピーすることを特徴とする付記4に記載の半導体集積回路装置。   (Supplementary Note 5) When the reset is released by the interface, the CPU executes the boot program copied to the second volatile memory to execute the main program in the nonvolatile memory as the first program. The semiconductor integrated circuit device according to appendix 4, wherein the semiconductor integrated circuit device is copied to a volatile memory.

(付記6)前記インタフェースは、前記ブートプログラムに記述されたプログラムサイズを格納するレジスタと、前記不揮発性メモリ内の前記ブートプログラムの前記第2の揮発性メモリへのコピーサイズをカウントするカウンタと、前記カウンタのカウント値が前記レジスタに格納した前記プログラムサイズになったときは、前記ブートプログラムの前記不揮発性メモリから前記第2の揮発性メモリへの転送を終了する転送手段とを備えることを特徴とする付記5に記載の半導体集積回路装置。   (Supplementary Note 6) The interface includes a register that stores a program size described in the boot program, a counter that counts a copy size of the boot program in the nonvolatile memory to the second volatile memory, and Transfer means for ending transfer of the boot program from the nonvolatile memory to the second volatile memory when the count value of the counter reaches the program size stored in the register. The semiconductor integrated circuit device according to appendix 5.

(付記7)メインプログラムが格納されたシリアルインタフェースの不揮発性メモリと、揮発性メモリと、前記不揮発性メモリと前記揮発性メモリとが接続された半導体集積回路装置とを備える情報処理装置におけるブート方法であって、前記不揮発性メモリにブートプログラムを格納し、前記半導体集積回路装置が、前記不揮発性メモリから前記ブートプログラムをリードし、該リードした前記ブートプログラムを実行して前記不揮発性メモリ内の前記メインプログラムを前記揮発性メモリにコピーする工程を含むことを特徴とするブート方法。   (Supplementary note 7) Boot method in an information processing apparatus comprising a serial interface nonvolatile memory storing a main program, a volatile memory, and a semiconductor integrated circuit device to which the nonvolatile memory and the volatile memory are connected A boot program stored in the non-volatile memory, the semiconductor integrated circuit device reads the boot program from the non-volatile memory, and executes the read boot program in the non-volatile memory. A boot method comprising the step of copying the main program to the volatile memory.

本発明の情報処理装置の一実施形態を示すブロック回路図である。It is a block circuit diagram showing one embodiment of an information processor of the present invention. 本発明の情報処理装置の一実施形態の動作を示すフローチャートである。It is a flowchart which shows operation | movement of one Embodiment of the information processing apparatus of this invention. 本発明の情報処理装置の一実施形態におけるシリアルFlashメモリとRAM及びSDRAMとの関係を示す図である。It is a figure which shows the relationship between the serial Flash memory, RAM, and SDRAM in one Embodiment of the information processing apparatus of this invention. 本発明の情報処理装置の一実施形態におけるリセット解除系統を示す図である。It is a figure which shows the reset cancellation | release system | strain in one Embodiment of the information processing apparatus of this invention. 本発明の半導体集積回路装置の一実施形態が備えるブートローダの構成例を示すブロック図である。It is a block diagram which shows the structural example of the boot loader with which one Embodiment of the semiconductor integrated circuit device of this invention is provided.

符号の説明Explanation of symbols

2…システムLSI(本発明の半導体集積回路装置の一実施形態)
3…シリアルFlashメモリ
4…SDRAM
5…CPU
6…CPUバス
7…RAM
8…ブートローダ
9…メモリコントローラ
10…転送手段
11…カウンタ
12…リセット解除手段
13…レジスタ
2. System LSI (One Embodiment of Semiconductor Integrated Circuit Device of the Present Invention)
3 ... Serial Flash memory 4 ... SDRAM
5 ... CPU
6 ... CPU bus 7 ... RAM
8 ... Boot loader 9 ... Memory controller 10 ... Transfer means 11 ... Counter 12 ... Reset release means 13 ... Register

Claims (6)

ブートプログラムとメインプログラムとが格納されたシリアルインタフェースの不揮発性メモリと、
第1の揮発性メモリと、
半導体集積回路装置とを備え、
該半導体集積回路装置は、
CPUと、
第2の揮発性メモリと、
システムリセット解除後、前記不揮発性メモリ内の前記ブートプログラムを前記第2の揮発性メモリにコピーし、該コピーが完了したときは、前記CPUのリセットを解除する
前記不揮発性メモリ用のインタフェースとを備え、
前記不揮発性メモリから前記ブートプログラムをリードし、該リードした前記ブートプログラムを実行して前記不揮発性メモリ内の前記メインプログラムを前記第1の揮発性メモリにコピーし、該コピーした前記メインプログラムを実行する
ことを特徴とする情報処理装置。
A serial interface non-volatile memory storing a boot program and a main program;
A first volatile memory;
A semiconductor integrated circuit device,
The semiconductor integrated circuit device includes:
CPU,
A second volatile memory;
After the system reset is released, the boot program in the nonvolatile memory is copied to the second volatile memory, and when the copying is completed, the nonvolatile memory interface for releasing the reset of the CPU is provided. Prepared,
The boot program is read from the nonvolatile memory, the read boot program is executed to copy the main program in the nonvolatile memory to the first volatile memory, and the copied main program is An information processing apparatus that executes the information processing apparatus.
前記CPUは、前記インタフェースによってリセットが解除されたときは、前記第2の揮発性メモリにコピーされた前記ブートプログラムを実行して前記不揮発性メモリ内の前記メインプログラムを前記第1の揮発性メモリにコピーする
ことを特徴とする請求項1に記載の情報処理装置。
When the reset is released by the interface, the CPU executes the boot program copied to the second volatile memory to transfer the main program in the nonvolatile memory to the first volatile memory. The information processing apparatus according to claim 1, wherein the information processing apparatus is copied.
前記インタフェースは、
前記ブートプログラムに記述されたプログラムサイズを格納するレジスタと、
前記ブートプログラムの前記不揮発性メモリから前記第2の揮発性メモリへの転送量をカウントするカウンタと、
前記カウンタのカウント値が前記レジスタに格納した前記プログラムサイズになったときは、前記ブートプログラムの前記不揮発性メモリから前記第2の揮発性メモリへの転送を終了する転送手段と、
を備えることを特徴とする請求項2に記載の情報処理装置。
The interface is
A register for storing a program size described in the boot program;
A counter for counting a transfer amount of the boot program from the nonvolatile memory to the second volatile memory;
Transfer means for ending transfer of the boot program from the nonvolatile memory to the second volatile memory when the count value of the counter reaches the program size stored in the register;
The information processing apparatus according to claim 2, further comprising:
ブートプログラムとメインプログラムとが格納されたシリアルインタフェースの不揮発性メモリと、第1の揮発性メモリとが接続される半導体集積回路装置であって、
ブート手段を備え、
該ブート手段は、
CPUと、
第2の揮発性メモリと、
前記不揮発性メモリ内の前記ブートプログラムを前記第2の揮発性メモリにコピーし、該コピーが完了したときは、前記CPUのリセットを解除する前記不揮発性メモリ用のインタフェースとを含み、
前記不揮発性メモリから前記ブートプログラムをリードし、該リードした前記ブートプログラムを実行して前記不揮発性メモリ内の前記メインプログラムを前記第1の揮発性メモリにコピーする
ことを特徴とする半導体集積回路装置。
A semiconductor integrated circuit device to which a serial interface nonvolatile memory storing a boot program and a main program and a first volatile memory are connected,
With boot means,
The boot means includes
CPU,
A second volatile memory;
Copying the boot program in the non-volatile memory to the second volatile memory, and when the copying is completed, an interface for the non-volatile memory that releases the reset of the CPU, and
A semiconductor integrated circuit comprising: reading the boot program from the nonvolatile memory; and executing the read boot program to copy the main program in the nonvolatile memory to the first volatile memory. apparatus.
前記CPUは、前記インタフェースによってリセットが解除されたときは、前記第2の揮発性メモリにコピーされた前記ブートプログラムを実行して前記不揮発性メモリ内の前記メインプログラムを前記第1の揮発性メモリにコピーする
ことを特徴とする請求項4に記載の半導体集積回路装置。
When the reset is released by the interface, the CPU executes the boot program copied to the second volatile memory to transfer the main program in the nonvolatile memory to the first volatile memory. The semiconductor integrated circuit device according to claim 4, wherein the semiconductor integrated circuit device is copied to a semiconductor device.
前記インタフェースは、
前記ブートプログラムに記述されたプログラムサイズを格納するレジスタと、
前記不揮発性メモリ内の前記ブートプログラムの前記第2の揮発性メモリへのコピーサイズをカウントするカウンタと、
前記カウンタのカウント値が前記レジスタに格納した前記プログラムサイズになったときは、前記ブートプログラムの前記不揮発性メモリから前記第2の揮発性メモリへの転送を終了する転送手段と、
を備えることを特徴とする請求項5に記載の半導体集積回路装置。
The interface is
A register for storing a program size described in the boot program;
A counter that counts the copy size of the boot program in the non-volatile memory to the second volatile memory;
Transfer means for ending transfer of the boot program from the nonvolatile memory to the second volatile memory when the count value of the counter reaches the program size stored in the register;
The semiconductor integrated circuit device according to claim 5, comprising:
JP2008003832A 2008-01-11 2008-01-11 Information processing apparatus, semiconductor integrated circuit device, and boot method Pending JP2009169485A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008003832A JP2009169485A (en) 2008-01-11 2008-01-11 Information processing apparatus, semiconductor integrated circuit device, and boot method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008003832A JP2009169485A (en) 2008-01-11 2008-01-11 Information processing apparatus, semiconductor integrated circuit device, and boot method

Publications (1)

Publication Number Publication Date
JP2009169485A true JP2009169485A (en) 2009-07-30

Family

ID=40970616

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008003832A Pending JP2009169485A (en) 2008-01-11 2008-01-11 Information processing apparatus, semiconductor integrated circuit device, and boot method

Country Status (1)

Country Link
JP (1) JP2009169485A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015048922A1 (en) * 2013-10-02 2015-04-09 Intel Corporation Trusted boot and runtime operation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002278781A (en) * 2001-03-16 2002-09-27 Tokyo Electron Device Ltd Storage device, storage device control method, and program
JP2003271391A (en) * 2002-03-08 2003-09-26 Samsung Electronics Co Ltd Boot system and method using NAND flash memory
JP2006155303A (en) * 2004-11-30 2006-06-15 Canon Inc Control device
JP2007264978A (en) * 2006-03-28 2007-10-11 Brother Ind Ltd Information processing apparatus and activation method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002278781A (en) * 2001-03-16 2002-09-27 Tokyo Electron Device Ltd Storage device, storage device control method, and program
JP2003271391A (en) * 2002-03-08 2003-09-26 Samsung Electronics Co Ltd Boot system and method using NAND flash memory
JP2006155303A (en) * 2004-11-30 2006-06-15 Canon Inc Control device
JP2007264978A (en) * 2006-03-28 2007-10-11 Brother Ind Ltd Information processing apparatus and activation method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015048922A1 (en) * 2013-10-02 2015-04-09 Intel Corporation Trusted boot and runtime operation
US9384352B2 (en) 2013-10-02 2016-07-05 Intel Corporation Trusted boot and runtime operation

Similar Documents

Publication Publication Date Title
CN107357666B (en) Multi-core parallel system processing method based on hardware protection
US10102155B2 (en) Method and device of information protection for micro control unit chip
US10168957B2 (en) Directed placemat of data in memory
CN113760751B (en) Method for generating test case, electronic device and storage medium
JP6005392B2 (en) Method and apparatus for routing
CN103778099B (en) Information processing equipment
GB2554942A (en) Verifying firmware binary images using a hardware design and formal assertions
CN111666210A (en) Chip verification method and device
US20150046759A1 (en) Semiconductor integrated circuit device
JP2009169485A (en) Information processing apparatus, semiconductor integrated circuit device, and boot method
JP2022550074A (en) conversion load instruction
CN100430888C (en) Method and device for writing data into non-volatile memory
JP5309938B2 (en) Request processing apparatus, request processing system, and access test method
JP2013246630A (en) Boot system and system initializing method
JP5006121B2 (en) Logic verification device and logic verification method
CN115269199B (en) Data processing method, device, electronic device and computer-readable storage medium
CN119201695A (en) Instruction verification method, device, electronic device and storage medium
US12332733B2 (en) Determining an error handling mode
US20250181466A1 (en) Hardware Test Mode for Processor Core
US12541463B2 (en) Hardware based address sanitizer for embedded systems
US20250200258A1 (en) Generalized qed pre-silicon verification framework
CN113065302B (en) Method for simulating logic system design, simulator and readable storage medium
TWI446259B (en) Integrated circuit for executing external codes and method thereof
KR102706427B1 (en) A chip design method to optimize circuit performance according to PVT operation condition change
WO2025137346A1 (en) Processor instruction for secure pointer arithmetic

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101117

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120619

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120626

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20121023