JP2009230410A - Information processor and radio communication equipment - Google Patents
Information processor and radio communication equipment Download PDFInfo
- Publication number
- JP2009230410A JP2009230410A JP2008074275A JP2008074275A JP2009230410A JP 2009230410 A JP2009230410 A JP 2009230410A JP 2008074275 A JP2008074275 A JP 2008074275A JP 2008074275 A JP2008074275 A JP 2008074275A JP 2009230410 A JP2009230410 A JP 2009230410A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- program
- cpu
- instruction
- external memory
- 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
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Memory System (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本発明は、複数のメモリから選択した1つのメモリのプログラムを実行する情報処理装置及び無線通信装置に関し、特に消費電力を低減することができる情報処理装置及び無線通信装置に関するものである。 The present invention relates to an information processing apparatus and a wireless communication apparatus that execute a program in one memory selected from a plurality of memories, and more particularly to an information processing apparatus and a wireless communication apparatus that can reduce power consumption.
信号を受信する受信回路と、信号を送信する送信回路と、受信回路及び送信回路を制御する通信制御回路とを備えた無線装置が用いられている(例えば、特許文献1参照)。このような無線装置の通信制御回路には、複数のメモリと、この複数のメモリから選択した1つのメモリのプログラムを実行するCPUと、両者の間でデータの授受を行うバスとが設けられている。 2. Description of the Related Art A wireless device including a reception circuit that receives a signal, a transmission circuit that transmits a signal, and a communication control circuit that controls the reception circuit and the transmission circuit is used (see, for example, Patent Document 1). The communication control circuit of such a wireless device includes a plurality of memories, a CPU that executes a program of one memory selected from the plurality of memories, and a bus that exchanges data between the two. Yes.
図5は、情報処理装置の参考例を示す図である。第1メモリ100には、大きなメインプログラムP1と、共通プログラムとが記録されている。第2メモリ102には、小さなサブプログラムP2が記録されている。CPU104は、第1メモリ100,102から選択した1つのメモリのプログラムを実行する。バス106は、第1メモリ100,102とCPU104との間でデータの授受を行う。第1メモリ100の共通プログラムは、第1メモリ100と第2メモリ102を切替えるリマップ命令を含んでおり、メインプログラムP1及びサブプログラムP2の番地と重ならない番地に記録されている。
FIG. 5 is a diagram illustrating a reference example of the information processing apparatus. In the
図6は、図5の情報処理装置のCPUのメモリ空間の変化を示す図である。この図6を参照しながら、図5の情報処理装置の動作を説明する。
まず、CPU104は、第1メモリ100を選択し、そのメインプログラムP1を実行する(状態1)。そして、CPU104は、第1メモリ100の共通プログラムに移り、共通プログラムのリマップ命令により、プログラムを実行するメモリを第2メモリ102に変更する。これにより、サブプログラムP2がメモリ空間上に番地情報は保留されて転記される。
FIG. 6 is a diagram illustrating changes in the memory space of the CPU of the information processing apparatus of FIG. The operation of the information processing apparatus in FIG. 5 will be described with reference to FIG.
First, the
次に、CPU104は、第2メモリ102のサブプログラムP2を実行する(状態2)。そして、CPU104は、第1メモリ100の共通プログラムに移り、共通プログラムのリマップ命令により、プログラムを実行するメモリを第1メモリ100に変更する。これにより、メインプログラムP1がメモリ空間上に番地情報は保留されて転記される。次に、CPU104は、第1メモリ100のメインプログラムP1を実行する(状態3)。
Next, the
上記の動作において、第2メモリ102のサブプログラムP2を実行する際に第1メモリ100の電源をOFFにすれば、消費電力を低減することができる。しかし、第1メモリ100には共通プログラムが記載されているので、第1メモリ100の電源をOFFにすることはできない。そこで、第2メモリ102にも共通プログラムを記載することも考えられるが、第2メモリ102のメモリ量が共通プログラムの分だけ増加してしまう。
In the above operation, if the
また、無線通信装置において、マイコンはスタンバイ機能があるので消費電力を低減することができる。しかし、間欠受信期間中におけるフラッシュROMの消費電力が、電池の使用寿命に大きな影響を与えていた。 In the wireless communication apparatus, the microcomputer has a standby function, so that power consumption can be reduced. However, the power consumption of the flash ROM during the intermittent reception period has had a great influence on the service life of the battery.
本発明は、上述のような課題を解決するためになされたもので、その目的は消費電力を低減することができる情報処理装置及び無線通信装置を得るものである。 SUMMARY An advantage of some aspects of the invention is that it provides an information processing apparatus and a wireless communication apparatus that can reduce power consumption.
本発明に係る情報処理装置は、各々に少なくともリマップ命令とジャンプ命令を含むプログラムが記録された複数のメモリと、複数のメモリから選択した1つのメモリのプログラムを実行するCPUと、複数のメモリとCPUとの間でデータの授受を行うバスとを備え、CPUは、選択したメモリのリマップ命令により、プログラムを実行するメモリを変更し、選択したメモリのジャンプ命令により、変更したメモリに記録された任意のプログラムにジャンプし、ジャンプしたプログラムを実行し、複数のメモリのうちプログラムを実行しない少なくとも1つのメモリの電源をOFFにする。本発明のその他の特徴は以下に明らかにする。 An information processing apparatus according to the present invention includes a plurality of memories each storing a program including at least a remapping instruction and a jump instruction, a CPU for executing a program in one memory selected from the plurality of memories, a plurality of memories, And a bus for exchanging data with the CPU. The CPU changes the memory for executing the program by the remap instruction of the selected memory, and is recorded in the changed memory by the jump instruction of the selected memory. Jump to an arbitrary program, execute the jumped program, and turn off the power of at least one of the plurality of memories that does not execute the program. Other features of the present invention will become apparent below.
本発明により、消費電力を低減することができる。 According to the present invention, power consumption can be reduced.
実施の形態1.
図1は、実施の形態1に係る情報処理装置を示す図である。第1メモリ10には、リマップ命令とジャンプ命令を含む大きなメインプログラムP1が記録されている。第2メモリ12には、リマップ命令とジャンプ命令を含む小さなサブプログラムP2が記録されている。CPU14は、第1,第2メモリ10,12から選択した1つのメモリのプログラムを実行する。バス16は、第1,第2メモリ10,12とCPU14との間でデータの授受を行う。
Embodiment 1 FIG.
FIG. 1 is a diagram illustrating the information processing apparatus according to the first embodiment. In the
図2は、図1の情報処理装置のCPUのメモリ空間の変化を示す図である。この図2を参照しながら図1の情報処理装置の動作を説明する。
まず、CPU14は、第1メモリ10を選択し、そのメインプログラムP1を実行する(状態1)。そして、CPU14は、選択した第1メモリ10のリマップ命令により、プログラムを実行するメモリを第2メモリ12に変更する。これにより、サブプログラムP2がメモリ空間上に番地情報は保留されて転記される。ここで転記とは、CPU14のメモリ空間上、そのようにイメージされることを意味し、実際にデータが移動されることまでは意味しない。
FIG. 2 is a diagram illustrating changes in the memory space of the CPU of the information processing apparatus of FIG. The operation of the information processing apparatus in FIG. 1 will be described with reference to FIG.
First, the
次に、選択した第1メモリ10のジャンプ命令により、変更した第2メモリ12に記録されたサブプログラムP2にジャンプし、ジャンプしたサブプログラムP2を実行する(状態2)。状態1から状態2に移る際に、CPU14は、プログラムを実行しない第1メモリ10の電源をOFFにする。
Next, the jump instruction of the selected
次に、CPU14は、選択した第2メモリ12のリマップ命令により、プログラムを実行するメモリを第1メモリ10に変更する。これにより、サブプログラムP2に代わってメインプログラムP1がメモリ空間上に番地情報が保留されて転記される。さらに、選択した第2メモリ12のジャンプ命令により、変更した第1メモリ10に記録されたメインプログラムP1にジャンプし、ジャンプしたメインプログラムP1を実行する(状態3)。状態2から状態3に移る際に、CPU14は、第1メモリ10の電源をONにする。
Next, the
以上説明したように、第1メモリ10と第2メモリ12には共通プログラム領域が無いため、リマップ命令とジャンプ命令によってプログラムを実行するメモリを切替えた後は、切替え元のメモリの電源をOFFにすることができる。これにより、消費電力を低減することができる。特にフラッシュROMのような消費電力が大きいメモリを用いる場合に有効である。
As described above, since there is no common program area in the
実施の形態2.
図3は、実施の形態2に係る無線通信装置を示す図である。この無線通信装置は、信号を受信する受信回路18と、信号を送信する送信回路20と、受信回路及び送信回路を制御する通信制御回路22とを備える。
Embodiment 2. FIG.
FIG. 3 is a diagram illustrating a wireless communication apparatus according to the second embodiment. The wireless communication apparatus includes a
通信制御回路22は、マイコン24と、マイコン24の外部に設けられたフラッシュROM26(外部メモリ)とを有する。フラッシュROM26には、リマップ命令とジャンプ命令を含む大きなメインプログラムP1が記録されている。
The
マイコン24の内部には、SRAM28(内部メモリ)と、CPU14と、フラッシュROM26及びSRAM28とCPU14との間でデータの授受を行うバス16とが設けられている。SRAM28には、リマップ命令とジャンプ命令を含む小さなサブプログラムP2が記録されている。
Inside the
上記の構成において、マイコン24の内部に大きなプログラム用のメモリを設けることは容易ではないため、外部にフラッシュROM26を設けている。一方、SRAM28はマイコン24の内部に設けることができる。また、フラッシュROM26の消費電力は大きいが、SRAM28の消費電力は比較的小さい。
In the above configuration, since it is not easy to provide a large program memory inside the
図4を参照しながら図3の無線装置の動作を説明する。
受信回路18及び送信回路20を動作させる送受信期間には、CPU14は、フラッシュROM26の電源をONにして、フラッシュROM26のメインプログラムP1を実行する。
The operation of the wireless device of FIG. 3 will be described with reference to FIG.
During the transmission / reception period in which the
所定のタイミングで受信回路18を動作させる間欠受信期間には、CPU14は、SRAM28のサブプログラムP2を実行する。ここで、間欠受信期間の受信処理は送受信期間の処理に比べて処理量が少ないので、小さなサブプログラムP2で実行することができる。
During the intermittent reception period in which the
間欠受信期間から送受信期間に移る際に、CPU14は、SRAM28のリマップ命令により、プログラムを実行するメモリをフラッシュROM26に変更し、フラッシュROM26の電源をONにする。そして、SRAM28のジャンプ命令により、フラッシュROM26に記録されたメインプログラムP1にジャンプし、ジャンプしたメインプログラムP1を実行する。
When moving from the intermittent reception period to the transmission / reception period, the
送受信期間から間欠受信期間に移る際に、CPU14は、フラッシュROM26のリマップ命令により、プログラムを実行するメモリをSRAM28に変更する。そして、フラッシュROM26のジャンプ命令により、SRAM28に記録されたサブプログラムP2にジャンプし、ジャンプしたサブプログラムP2を実行する。
When moving from the transmission / reception period to the intermittent reception period, the
サブプログラムP2を実行している間は、消費電力が大きいフラッシュROM26の電源をOFFにする。これにより、間欠受信期間中の消費電力を低減することができ、電池の使用寿命を長くすることができる。
While the subprogram P2 is being executed, the power source of the
10 第1メモリ(メモリ)
12 第2メモリ(メモリ)
14 CPU
16 バス
18 受信回路
20 送信回路
22 通信制御回路
24 マイコン
26 フラッシュROM(外部メモリ)
28 SRAM(内部メモリ)
10 First memory (memory)
12 Second memory (memory)
14 CPU
16
28 SRAM (internal memory)
Claims (2)
前記複数のメモリから選択した1つのメモリのプログラムを実行するCPUと、
前記複数のメモリと前記CPUとの間でデータの授受を行うバスとを備え、
前記CPUは、
選択したメモリのリマップ命令により、プログラムを実行するメモリを変更し、
選択したメモリのジャンプ命令により、変更したメモリに記録された任意のプログラムにジャンプし、ジャンプしたプログラムを実行し、
前記複数のメモリのうちプログラムを実行しない少なくとも1つのメモリの電源をOFFにすることを特徴とする情報処理装置。 A plurality of memories each storing a program including at least a remap instruction and a jump instruction;
A CPU for executing a program in one memory selected from the plurality of memories;
A bus for exchanging data between the plurality of memories and the CPU;
The CPU
The memory to execute the program is changed by the remap instruction of the selected memory.
Jumps to an arbitrary program recorded in the changed memory by executing the jump instruction of the selected memory, executes the jumped program,
An information processing apparatus comprising: turning off power to at least one memory that does not execute a program among the plurality of memories.
信号を送信する送信回路と、
前記受信回路及び前記送信回路を制御する通信制御回路とを備え、
前記通信制御回路は、マイコンと、前記マイコンの外部に設けられた外部メモリとを有し、
前記マイコンの内部には、内部メモリと、前記外部メモリと前記内部メモリから選択した1つのメモリのプログラムを実行するCPUと、前記外部メモリ及び前記内部メモリと前記CPUとの間でデータの授受を行うバスとが設けられ、
前記外部メモリと前記内部メモリには、各々に少なくともリマップ命令とジャンプ命令を含むプログラムが記録され、
前記受信回路及び前記送信回路を動作させる送受信期間には、前記CPUは、前記外部メモリのプログラムを実行し、
所定のタイミングで前記受信回路を動作させる間欠受信期間には、前記CPUは、前記内部メモリのプログラムを実行し、
前記間欠受信期間から前記送受信期間に移る際に、前記CPUは、前記内部メモリのリマップ命令により、プログラムを実行するメモリを前記外部メモリに変更し、前記外部メモリの電源をONにし、前記内部メモリのジャンプ命令により、前記外部メモリに記録された任意のプログラムにジャンプし、ジャンプしたプログラムを実行し、
前記送受信期間から前記間欠受信期間に移る際に、前記CPUは、前記外部メモリのリマップ命令により、プログラムを実行するメモリを前記内部メモリに変更し、前記外部メモリのジャンプ命令により、前記内部メモリに記録された任意のプログラムにジャンプし、ジャンプしたプログラムを実行し、前記外部メモリの電源をOFFにすることを特徴とする無線通信装置。 A receiving circuit for receiving a signal;
A transmission circuit for transmitting a signal;
A communication control circuit for controlling the receiving circuit and the transmitting circuit;
The communication control circuit includes a microcomputer and an external memory provided outside the microcomputer,
Inside the microcomputer, there is an internal memory, a CPU that executes a program of one memory selected from the external memory and the internal memory, and data exchange between the external memory and the internal memory and the CPU. And a bus to perform,
In the external memory and the internal memory, programs each including at least a remapping instruction and a jump instruction are recorded,
In the transmission / reception period for operating the receiving circuit and the transmitting circuit, the CPU executes the program in the external memory,
In the intermittent reception period in which the reception circuit is operated at a predetermined timing, the CPU executes the program in the internal memory,
When moving from the intermittent reception period to the transmission / reception period, the CPU changes a memory for executing a program to the external memory, turns on the external memory, and turns on the internal memory in response to a remap command for the internal memory. To jump to an arbitrary program recorded in the external memory, execute the jumped program,
When moving from the transmission / reception period to the intermittent reception period, the CPU changes a memory for executing a program to the internal memory by a remap instruction of the external memory, and stores the internal memory by a jump instruction of the external memory. A wireless communication apparatus that jumps to an arbitrary recorded program, executes the jumped program, and turns off the power of the external memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008074275A JP2009230410A (en) | 2008-03-21 | 2008-03-21 | Information processor and radio communication equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008074275A JP2009230410A (en) | 2008-03-21 | 2008-03-21 | Information processor and radio communication equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009230410A true JP2009230410A (en) | 2009-10-08 |
Family
ID=41245727
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008074275A Pending JP2009230410A (en) | 2008-03-21 | 2008-03-21 | Information processor and radio communication equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009230410A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2506542A1 (en) * | 2011-03-29 | 2012-10-03 | Research In Motion Limited | Mobile wireless communications device having a near field communication (NFC) device and providing memory disabling and related methods |
US8509808B2 (en) | 2011-03-29 | 2013-08-13 | Research In Motion Limited | Mobile wireless communications device having a near field communication (NFC) device and providing memory disabling and related |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11288409A (en) * | 1998-04-02 | 1999-10-19 | Nec Ic Microcomput Syst Ltd | Microcomputer |
JP2003044356A (en) * | 2001-07-30 | 2003-02-14 | Hitachi Kokusai Electric Inc | Memory mapping system |
JP2003242025A (en) * | 2002-02-19 | 2003-08-29 | Hitachi Kokusai Electric Inc | Memory control system for microcomputer circuit |
JP2005258991A (en) * | 2004-03-15 | 2005-09-22 | Matsushita Electric Ind Co Ltd | Standby control method |
JP2006164289A (en) * | 2004-12-09 | 2006-06-22 | Lg Electronics Inc | Power consumption reduction type portable terminal machine and its power consumption reducing method |
-
2008
- 2008-03-21 JP JP2008074275A patent/JP2009230410A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11288409A (en) * | 1998-04-02 | 1999-10-19 | Nec Ic Microcomput Syst Ltd | Microcomputer |
JP2003044356A (en) * | 2001-07-30 | 2003-02-14 | Hitachi Kokusai Electric Inc | Memory mapping system |
JP2003242025A (en) * | 2002-02-19 | 2003-08-29 | Hitachi Kokusai Electric Inc | Memory control system for microcomputer circuit |
JP2005258991A (en) * | 2004-03-15 | 2005-09-22 | Matsushita Electric Ind Co Ltd | Standby control method |
JP2006164289A (en) * | 2004-12-09 | 2006-06-22 | Lg Electronics Inc | Power consumption reduction type portable terminal machine and its power consumption reducing method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2506542A1 (en) * | 2011-03-29 | 2012-10-03 | Research In Motion Limited | Mobile wireless communications device having a near field communication (NFC) device and providing memory disabling and related methods |
US8509808B2 (en) | 2011-03-29 | 2013-08-13 | Research In Motion Limited | Mobile wireless communications device having a near field communication (NFC) device and providing memory disabling and related |
US8750795B2 (en) | 2011-03-29 | 2014-06-10 | Blackberry Limited | Mobile wireless communications device having a near field communication (NFC) device and providing memory disabling and related methods |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102249416B1 (en) | Memory system and method of operating memory system | |
KR20110048304A (en) | Method for prevention of losing code data in solder reflow and devices using same | |
JP2005353090A5 (en) | ||
JP2006221381A (en) | Processor system and image forming device provided with this processor system | |
JPWO2008117520A1 (en) | MEMORY CONTROLLER, NONVOLATILE MEMORY SYSTEM, AND HOST DEVICE | |
JP5099317B2 (en) | Electronics | |
JP2012175174A (en) | Network communication apparatus, peripheral device, and network communication method | |
JP2009230410A (en) | Information processor and radio communication equipment | |
US20130132659A1 (en) | Microcontroller and method of controlling microcontroller | |
JP2012059178A (en) | Usb hub device | |
JP2008262451A (en) | Memory power supply management device and memory power supply management method | |
JP2013182577A (en) | Information processing apparatus, image forming apparatus, and program | |
JP6007674B2 (en) | Radio apparatus and radio signal processing method | |
JP5422687B2 (en) | Communication processing apparatus and image forming apparatus | |
JP2008226111A (en) | Duplication controller system and operation system controller | |
JP5166986B2 (en) | Electronic control unit | |
JP2005276104A (en) | Microcomputer | |
KR20210066631A (en) | Apparatus and method for writing data in memory | |
JP2006260092A (en) | Information processor or data transfer controller | |
JP2006202200A (en) | Portable terminal, multiprocessor system and program thereof | |
JP2009020776A (en) | Swap-out control apparatus | |
JP2008269380A (en) | Information processor | |
JP2006209384A (en) | Data transfer system | |
JP2010128514A (en) | Plant control system | |
JP2006227969A (en) | Semiconductor integrated circuit and information processing apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100325 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120522 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120821 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20130115 |